[SR-Users] simple test case: add user/delete user on kamailio 3.3 presence server

Daniel-Constantin Mierla miconda at gmail.com
Wed Jun 20 12:20:46 CEST 2012


Hello,

On 6/20/12 12:08 PM, Min Wang wrote:
> HI
>
>>> the watcher table shows:
>>>
>>>     id    presentity_uri    watcher_username watcher_domain    
>>> event    status    reason    inserted_time
>>>             1 sip:103 at 192.168.122.32    101 192.168.122.32    
>>> presence    2         1340114579
>>>             2 sip:101 at 192.168.122.32    103 192.168.122.32    
>>> presence    1         1340114582
>>
>> the first record above shows that the status is 2, which means 
>> 'pending'. The subscription of 101 was not accepted yet by presentity 
>> 103.
>>
>        Yes. but Why ?

accepting a new watchers is done via http/xcap, have you seen that 
operation done by 103 for 101? You have to call also the function to 
update and refresh the watchers.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw




More information about the sr-users mailing list