[OpenSIPS-Users] Incorrect watcherinfo package attribute
Franz Edler
franz-edler at aon.at
Sun May 17 17:33:17 CEST 2009
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
More information about the Users
mailing list