[OpenSIPS-Users] Default policy for presence authorization

Juha Heinanen jh at tutpro.com
Mon Jan 5 13:34:38 CET 2009


Anca Vamanu writes:

 > You must not set the force_active parameter - remove the line 
 > modparam("presence_xml", "force_active", 1) from your configuration 
 > file. Default value for it is 0 - meaning that the authorization state 
 > is computed according to the rules in xcap documents and that in case no 
 > rule is defined, the subscription will be in pending state.

anca,

it would have been nice if an avp could be used to determine if xcap
should be used for the presentity of subscribe request.

i once looked at the code, but it was difficult to implement.  so i eded
up making a default xcap document for users whose UA does not support
xcap.

-- juha



More information about the Users mailing list