[OpenSIPS-Users] PUBLISH with empty body

Anca-Maria Vamanu anca.vamanu at gmail.com
Thu Jun 16 19:59:03 CEST 2011


Hi Chris,

The error that you see is in fact due to a bug that was introduces somewhere
between opensips 1.6.3 and 1.6.4. That error appears exactly when
constructing the Notify with offline to send to the watchers. Please update
the presence_xml module from svn.

Regards,
Anca Vamanu

On Thu, Jun 16, 2011 at 6:43 PM, Chris Maciejewski <chris at wima.co.uk> wrote:

> Hi,
>
> I am using OpenSIPs 1.6.4.2 no-tls. When UA sends PUBLISH with empty
> body to remove Event State as per 4.5 RFC 3903 OpenSIPs logs the
> following error:
>
> ERROR:presence_xml:agregate_xmls: while parsing xml body message
> ERROR:presence_xml:pres_agg_nbody: while aggregating body
> ERROR:presence:get_p_notify_body: Failed to aggregate notify body
>
> next watchers receive NOTIFY with the "old" presence document and
> finally the presence document is removed from presentity table.
>
> Please see PDF for more details:
> http://dl.dropbox.com/u/3182365/OpenSIPsPublishRemoval.pdf
>
> I am not sure what the correct behaviour should be, but surely
> watchers needs to be notified somehow the presence state has been
> removed?
>
> Regards,
> Chris
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110616/d1da9077/attachment.htm>


More information about the Users mailing list