[OpenSIPS-Users] The NOTIFY message of presence.winfo is notsent from opensips.
Saúl Ibarra Corretgé
saul at ag-projects.com
Fri Mar 1 10:01:24 CET 2013
On Mar 1, 2013, at 9:40 AM, Yuming Zheng wrote:
> Thanks, I have added Bob to Alice pres-rules also, just like:
>
> <rule id="whitelist">
> <conditions>
> <identity>
> <one id="sip:alice at 172.22.198.1"/><one id="sip:101 at 172.22.198.1"/><one id="sip:102 at 172.22.198.1"/>
> </identity>
> </conditions>
> <actions>
> <pr:sub-handling>allow</pr:sub-handling>
> </actions>
> <transformations/>
> </rule>
>
> Can this help to resolve this problem temprorily?
>
If you are using IETF mode (the default) changing pres-rules is the only thing you can do to modify the authorization rules. So yes, once you modify pres-rules you'll get a presence.winfo NOTIFY will the updated state. Updating resource-lists also triggers a call to refreshWatchers, however, because resource-lists doesn't change the authorization state you'll not see a NOTIFY.
Regards,
--
Saúl Ibarra Corretgé
AG Projects
More information about the Users
mailing list