[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 15:24:44 CEST 2009
2009/8/7 Iñaki Baz Castillo <ibc at aliax.net>:
> 2009/8/7 Iñaki Baz Castillo <ibc at aliax.net>:
>> 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.
>
>
> active_watcher tables shows "status = 1" (actived)
Other wrong behaviour:
- bob is explicitely blocked by alice (there is a pres-rules rules
doing "block" for bob).
- bob subscribes to alice and receives "terminated;reason=rejected"
(OK). There is no active dialog.
- alice removes bob from the pres-rules document at all. There is no
rule with "block" action.
- OpenXCAP sends a refreshWatchers MI command for alice presentity.
- bob sends a new initial SUBSCRIBE for alice.
- OpenSIPS replies "terminated;status=rejected". (Wrong: it should
send "pending" now).
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the Devel
mailing list