[OpenSIPS-Users] Handling custom presence event that comes in SUBSCRIBE or PUBLISH

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Dec 5 14:21:11 EST 2019


Hi Arda,

In order to handle the presence traffic, OpenSIPS must support the "xxx" 
presence event - so, you need an opensips presence module to support the 
"xxx" event. You need a "event" specific handling module, as the content 
of the PUBLISH/NOTIFY requests 100% depends (as format and managing) on 
the event type.

Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Bootcamp Pre-Registration
   https://opensips.org/training/OpenSIPS_Bootcamp/

On 12/4/19 6:43 PM, Tekin, Arda wrote:
>
> OpenSIPS prints this error when SUBSCRIBE message comes to OpenSIPS 
> presence server from the desk-phone of a vendor.
>
> ERROR:presence:handle_subscribe: unrecognized value [xxx] in Event header
>
> INFO:presence:handle_subscribe: Missing or unsupported event header 
> field value
>
> SIP response is generated as "SIP/2.0 489 Bad Event" for this 
> SUBSCRIBE request.
>
> Is it possible to handle custom presence events and notify them 
> accordingly?
>
> Regards
>
>
> _______________________________________________
> 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/20191205/45d72549/attachment.html>


More information about the Users mailing list