[OpenSIPS-Devel] SF.net SVN: opensips:[5942] trunk/modules/presence_xml/xcap_auth.c
Iñaki Baz Castillo
ibc at aliax.net
Fri Aug 7 14:55:51 CEST 2009
2009/8/7 Anca Vamanu <anca at opensips.org>:
> Revision: 5942
> http://opensips.svn.sourceforge.net/opensips/?rev=5942&view=rev
> Author: anca_vamanu
> Date: 2009-08-07 11:55:06 +0000 (Fri, 07 Aug 2009)
>
> Log Message:
> -----------
> - changed status to terminated, reason "deactivated" if previous status was active and no rules were found for the watcher
>
> Modified Paths:
> --------------
> trunk/modules/presence_xml/xcap_auth.c
Something is wrong:
- bob is not allowed by alice so receives "pending" (OK).
- alice allows bob via XCAP pres-rules so bob receives a NOTIFY "active" (OK).
- alice deletes bob from the pres-rules and OpenSIPS sends a NOTIFY to
bob with "terminated;reason=deactivated".
- Immediately bob sends a new initial SUBSCRIBE.
- OpenSIPS replies a NOTIFY "active" containing the presentity body.
This is, bob is allowed to see the status of alice.
Tested and re-tested.
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the Devel
mailing list