[OpenSIPS-Users] Incorrect watcherinfo package attribute
Anca Vamanu
anca at opensips.org
Mon May 18 11:13:00 CEST 2009
Hi,
I have committed the fix, also in 1.5.x svn branch. The bug was only
when a change occured in an xcap document and the openxcap server
notified opensips presence server with refreshWatchers MI command.
Thanks,
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