[SR-Users] add user/delete/add user again on kamailio 3.3 presence server

Min Wang ser.basis at gmail.com
Fri Jun 15 12:25:14 CEST 2012


HI

    I am testing the following case in the kamailio 3.3 presence server, 
all are in 192.168.122.0 network

    101 (bria, ip:.224)       ----- kamailio    ps( ip:.32) ---   103 ( 
jitsi, ip:.1)

    on 101 I added 103 in the contact list,   101 <-> 103 can see each 
other,

    Then on 101, I deleted 103,  thus on 103, 101 became grey, so far so 
good.

    Now I tried to add 103 back to contact list, on 101 I can see 103's 
status (online),
    but on jitsi 103, I can not see 101's status. ( grey)


The watcher table showed that status terminated.

+----+------------------------+------------------+----------------+----------+--------+------------+---------------+ 

| 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 |      1 |            |    1339752028 |
|  2 | sip:101 at 192.168.122.32 | 103              | 192.168.122.32 | 
presence |      3 | terminated |    1339752031 |
+----+------------------------+------------------+----------------+----------+--------+------------+---------------+ 



       I guess it should be status=1 in this case, but somehow kamailio 
seems does not update the table?

       I have a complete packet-trace file if needed.




thanks.


min



More information about the sr-users mailing list