[OpenSIPS-Users] opensips 2.2 generate NOTIFY with status=available
Răzvan Crainea
razvan at opensips.org
Mon Oct 9 05:18:34 EDT 2017
Hi, Jonathan!
A quick and blind answer is to catch the NOTIFY messages in local_route
and change them as you want using regular expressions on the message body.
Perhaps I can offer a more elegant solution for this issue if you are a
bit more explicit about what kind of events are you generating presence
for, and when is this NOTIFY message sent?
Best regards,
Răzvan Crainea
OpenSIPS Developer
www.opensips-solutions.com
On 10/05/2017 09:15 PM, Jonathan Hunter wrote:
> Hi Guys,
>
> I am using opensips 2.2 and the presence modules to generate PUBLISH
> and NOTIFY messages.
>
> I can see with the NOTIFY message opensips is sending a status=closed,
> can I make it send a status=available if the extension is registered
> and ready for calls?
>
> Many thanks
>
> Jon
>
>
> Session Initiation Protocol (NOTIFY)
> Request-Line: NOTIFY sip:SIPWATCHER:5063 SIP/2.0
> Message Header
> Message Body
> eXtensible Markup Language
> <?xml
> <presence
> xmlns="urn:ietf:params:xml:ns:pidf"
> entity="sip:2002 at SIPDOMAIN">
> <tuple
> xmlns="urn:ietf:params:xml:ns:pidf"
> id="tuple_mixingid">
> <status>
> <basic>
> closed
> </basic>
> </status>
> </tuple>
> </presence>
>
>
>
>
> _______________________________________________
> 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/20171009/3d35221b/attachment-0001.html>
More information about the Users
mailing list