[OpenSIPS-Users] NOTIFY BLF
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Mar 13 10:39:23 EDT 2019
Great !
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit 2019
https://www.opensips.org/events/Summit-2019Amsterdam/
On 03/13/2019 02:30 PM, Slava Bendersky wrote:
> Hello Bogdan,
> Issue has being resolved.
> NOTIFY is routed properly right now. Thank you for insight
>
> if (loose_route()) {
> if(is_method("REFER")) {
> # Fix contact for REFER in dialog
> route(HANDLE_NAT_FIX);
> }
>
> # BYE rtpengine_delete()
> route(RTP_MANAGE);
>
> route(RELAY);
> exit;
> } else {
> if(is_method("NOTIFY")) {
> xlog("L_INFO", "[$rm] Sending to client\n");
> t_relay();
> exit;
> }
>
>
> volga629
>
> ------------------------------------------------------------------------
> *From: *"Bogdan-Andrei Iancu" <bogdan at opensips.org>
> *To: *"Slava Bendersky" <volga629 at networklab.ca>, users at lists.opensips.org
> *Sent: *Wednesday, March 13, 2019 4:46:30 AM
> *Subject: *Re: [OpenSIPS-Users] NOTIFY BLF
>
> Hi Slava,
>
> I see this is a sequential NOTIFY, so probably part of a SUBSCRIBE'ing
> session. If so, you need to route it as a generic sequential request
> via loose_route() + t_relay().
>
> Does the SUBSCRIBE go via your OpenSIPS ? do you do record_route() for
> it ?
>
> Regards,
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
> https://www.opensips-solutions.com
> OpenSIPS Summit 2019
> https://www.opensips.org/events/Summit-2019Amsterdam/
> On 03/13/2019 05:24 AM, Slava Bendersky wrote:
>
> Hello Everyone,
> Having some trouble to handle NOTIFY for BLF send by Freeswitch to
> opensips.
> How I should handle it ? Do I need t_relay to the client ?
>
>
> 2019/03/12 21:40:57.281140 10.100.104.12:5160 -> 10.100.104.7:5060
> NOTIFY sip:45201 at 47.185.53.190:12428;nat=yes;transport=TCP SIP/2.0
> Via: SIP/2.0/UDP 10.100.104.12:5160;rport;branch=z9hG4bKjDtU5Zt1ey70a
> Max-Forwards: 70
> From: <sip:45200 at dev.ait.local:5160>;tag=054Zqq8YyZTA
> To: "45201" <sip:45201 at dev.ait.local:5160>;tag=1948650230
> Call-ID: 0_1579912862 at 192.168.1.32
> CSeq: 306302851 NOTIFY
> Contact: <sip:45200 at 10.100.104.12:5160;transport=tcp>
> User-Agent: FreeSWITCH
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
> Supported: timer, path, replaces
> Event: dialog
> Allow-Events: talk, hold, conference, presence, as-feature-event,
> dialog, line-seize, call-info, sla, include-session-description,
> presence.winfo, message-summary, refer
> Subscription-State: active;expires=530
> Content-Type: application/dialog-info+xml
> Content-Length: 551
>
> <?xml version="1.0"?>
> <dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info"
> version="13" state="full" entity="sip:45200 at dev.ait.local">
> <dialog id="59fc03ba-36f5-4c1c-8a18-f0ac6e81316a"
> direction="initiator">
> <state>confirmed</state>
> <local>
> <identity display="45200">sip:45200 at dev.ait.local</identity>
> <target uri="sip:45200 at dev.ait.local">
> <param pname="+sip.rendering" pvalue="yes"/>
> </target>
> </local>
> <remote>
> <identity display="*97">sip:*97 at dev.ait.local</identity>
> <target uri="sip:**45200 at dev.ait.local"/>
> </remote>
> </dialog>
> </dialog-info>
>
>
> volga629
>
>
> _______________________________________________
> 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/20190313/f031edf8/attachment-0001.html>
More information about the Users
mailing list