[OpenSIPS-Users] Default policy for presence authorization

Anca Vamanu anca at opensips.org
Mon Jan 5 13:41:10 CET 2009


Juha Heinanen wrote:
> 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
>   
Hi Juha,

It's a good idea and I think it is useful now since only very few 
clients support Xcap auth. I will put it on the todo list

regards,
Anca



More information about the Users mailing list