[OpenSIPS-Users] PUBLISH for xcap-diff event is answered with 489 Bad Event

Franz Edler franz.edler at kabsi.at
Wed Sep 29 08:55:07 CEST 2010


Hi experts,

In a simple scenario where Alice adds a buddy (Bob) a PUBLISH event
(xcap-diff) is evoked from OpenSIPS (on behalf of Alice) to itself and
answered with 489 Bad Event.

I now have looked into the debug log and found the following root cause:
- When Alice adds Bob to her contacts (via XCAP PUT operation) OpenSIPS also
sends  an XMLRPC to OpenSIPS for xcap-diff event on behalf of Alice
- OpenSIPS sends a PUBLISH request for an xcap-diff event
- When the presence module receives the own generated PUBLISH request it
generates the following error (line 891 in previous sent debug-log):
	Sep 28 08:36:18 [2220] ERROR:presence:handle_publish: Missing or
unsupported event header field value
	Sep 28 08:36:18 [2220] ERROR:presence:handle_publish:
event=[xcap-diff]
- and rejects the PUBLIS request with  "489 Bad Event". The error response
contains  Allow-Events: xcap-diff, message-summary, dialog;sla,
presence.winfo, presence

Isn't this an inconsistency?

Any help appreciated.

BR
Franz




More information about the Users mailing list