[OpenSIPS-Users] Incorrect watcherinfo package attribute

Anca Vamanu anca at opensips.org
Mon May 18 11:01:00 CEST 2009


Hi Franz,

You are right. Thanks for analyzing and finding the problem. I will fix 
that.

Regards,
Anca

Franz Edler wrote:
> Hi,
>
> I think I found a bug in presence module regarding the XML-body of the
> NOTIFY request on watcher-information.
>
> Sometimes (I guess at the update of watcher-information) the XML-body of the
> NOTIFY request looks like:
>
> <?xml version="1.0"?>
> <watcherinfo xmlns="urn:ietf:params:xml:ns:watcherinfo" version="2"
> state="partial">
>   <watcher-list resource="sip:bob at net1.test" package="presence.winfo">
>     <watcher id="MzEzMmUwNDhlNDMxN2U2ZGJkZDcwNjMyZTExYjgxMmY."
> event="subscribe" status="active">sip:alice at net1.test</watcher>
>   </watcher-list>
> </watcherinfo>
>
> The content of the package attribute of the watcher-list in above XML-body
> is incorrect. According to RFC 3858 it has to be "presence" instead of
> "presence.winfo". This issue leads to a "488 Not Acceptable Here" response
> of the client.
>
> I tested with OpenSIPS 1.5.1 (revision 5645).
>
> Regards
> Franz
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list