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:[EMAIL PROTECTED] 
> <mailto:sip:[EMAIL PROTECTED]>;proto=purple
> SIP/XML Request: NOTIFY sip:[EMAIL PROTECTED]:5060
> SIP        Request: PUBLISH sip:[EMAIL PROTECTED] 
> <mailto:sip:[EMAIL PROTECTED]>;proto=purple
> SIP        Request: NOTIFY sip:[EMAIL PROTECTED]:5060
>  
>  
> case 2 - publishing - removing - publishing(w/ uri param) - removing :
>  
> SIP/XML Request: PUBLISH sip:[EMAIL PROTECTED] 
> <mailto:sip:[EMAIL PROTECTED]>
> SIP/XML Request: NOTIFY sip:[EMAIL PROTECTED]:5060
> SIP        Request: PUBLISH sip:[EMAIL PROTECTED] 
> <mailto:sip:[EMAIL PROTECTED]>
> SIP/XML Request: NOTIFY sip:[EMAIL PROTECTED]:5060
> SIP/XML Request: PUBLISH sip:[EMAIL PROTECTED] 
> <mailto:sip:[EMAIL PROTECTED]>;proto=purple
> SIP/XML Request: NOTIFY sip:[EMAIL PROTECTED]:5060
> SIP        Request: PUBLISH sip:[EMAIL PROTECTED] 
> <mailto:sip:[EMAIL PROTECTED]>;proto=purple
> SIP/XML Request: NOTIFY sip:[EMAIL PROTECTED]:5060
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> [email protected]
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>   


_______________________________________________
Devel mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to