[OpenSER-Devel] Presence problem with parametized uri

Anca Vamanu anca at voice-system.ro
Wed Feb 20 12:33:10 CET 2008


Hi Eric,

In the meantime I have tested a bit myself and discovered the bug. I 
have just committed a fix.
Please updated with the latest svn version, test and reply if it works. 
I will backport it to 1.3.x.

Regards,
Anca Vamanu

Eric PTAK wrote:
> 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 
> <mailto: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 
> <mailto: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 
> <mailto: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 
> <mailto: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 
> <mailto: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 
> <mailto:sip:eric at sip.awl.test>;proto=purple
> SIP/XML Request: NOTIFY sip:watcher at 10.24.238.150:5060
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>   




More information about the Devel mailing list