[OpenSER-Devel] Presence problem with parametized uri

Eric PTAK eric.ptak.fr at gmail.com
Wed Feb 20 12:06:06 CET 2008


More informations about this problem which sounds like a bug, I can
now reproduce it even with jain-sip.

It appears that the bug occurs when the user publishing with uri
parameter has not published (and removed) presence without uri parameter.

So to get subscribers notified with pidf body when a user remove his
presence, the user has to publish (and remove) presence without
uri parameter before. You'll find two cases below, to reproduce the
behavior. Each need to reinit DB before starting openser.

case 1 - publishing(w/ uri param) - removing :

SIP/XML Request: PUBLISH sip:eric at sip.awl.test;proto=purple
SIP/XML Request: NOTIFY sip:watcher at 10.24.238.150:5060
SIP        Request: PUBLISH sip:eric at sip.awl.test;proto=purple
SIP        Request: NOTIFY sip:watcher at 10.24.238.150:5060


case 2 - publishing - removing - publishing(w/ uri param) - removing :

SIP/XML Request: PUBLISH sip:eric at sip.awl.test
SIP/XML Request: NOTIFY sip:watcher at 10.24.238.150:5060
SIP        Request: PUBLISH sip:eric at sip.awl.test
SIP/XML Request: NOTIFY sip:watcher at 10.24.238.150:5060
SIP/XML Request: PUBLISH sip:eric at sip.awl.test;proto=purple
SIP/XML Request: NOTIFY sip:watcher at 10.24.238.150:5060
SIP        Request: PUBLISH sip:eric at sip.awl.test;proto=purple
SIP/XML Request: NOTIFY sip:watcher at 10.24.238.150:5060
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openser.org/pipermail/devel/attachments/20080220/6710de74/attachment.htm 


More information about the Devel mailing list