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

Adrian Georgescu ag at ag-projects.com
Wed Sep 29 09:08:50 CEST 2010


Hi Franz,

I remember that there was a fix for correctly handling the xcap-diff event in the trunk version. Which version do you run?

Adrian

On Sep 29, 2010, at 8:55 AM, Franz Edler wrote:

> 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
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 




More information about the Users mailing list