<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Great !</tt><br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
<a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
<div class="moz-cite-prefix">On 03/13/2019 02:30 PM, Slava Bendersky
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1184493662.836.1552480245057.JavaMail.bendersky@nlws01.networklab.lan">
<style type="text/css">p { margin: 0; }</style>
<div style="font-family: courier
new,courier,monaco,monospace,sans-serif; font-size: 12pt; color:
#000000"><font face="courier new, courier, monaco, monospace,
sans-serif"><span style="font-size: 12pt;">Hello Bogdan,</span></font>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;">Issue has being resolved.</div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;">NOTIFY is routed properly right now. Thank you for
insight </div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;"><br>
</div>
<div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> if (loose_route()) {</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> if(is_method("REFER")) {</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> # Fix contact for
REFER in dialog</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> route(HANDLE_NAT_FIX);</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> }</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><br>
</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> # BYE rtpengine_delete()</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> route(RTP_MANAGE);</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"><br>
</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> route(RELAY);</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> exit;</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> } else {</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> if(is_method("NOTIFY")) {</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> xlog("L_INFO", "[$rm]
Sending to client\n");</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> t_relay();</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> exit;</font></div>
<div><font face="courier new, courier, monaco, monospace,
sans-serif"> }</font></div>
</div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;">volga629</div>
<div style="color: rgb(0, 0, 0); font-family: "courier
new", courier, monaco, monospace, sans-serif; font-size:
12pt;"><br>
<hr id="zwchr">
<div
style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From:
</b>"Bogdan-Andrei Iancu" <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a><br>
<b>To: </b>"Slava Bendersky"
<a class="moz-txt-link-rfc2396E" href="mailto:volga629@networklab.ca"><volga629@networklab.ca></a>, <a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
<b>Sent: </b>Wednesday, March 13, 2019 4:46:30 AM<br>
<b>Subject: </b>Re: [OpenSIPS-Users] NOTIFY BLF<br>
<br>
<tt>Hi Slava,<br>
<br>
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().
<br>
<br>
Does the SUBSCRIBE go via your OpenSIPS ? do you do
record_route() for it ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
<a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/" target="_blank" moz-do-not-send="true">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
<div class="moz-cite-prefix">On 03/13/2019 05:24 AM, Slava
Bendersky wrote:<br>
</div>
<blockquote
cite="mid:722038177.743.1552447467717.JavaMail.bendersky@nlws01.networklab.lan">
<style>p { margin: 0; }</style>
<div style="font-family: courier
new,courier,monaco,monospace,sans-serif; font-size:
12pt; color: #000000"><font face="courier new, courier,
monaco, monospace, sans-serif"><span style="font-size:
12pt;">Hello Everyone,</span></font>
<div style="color: rgb(0, 0, 0); font-family:
"courier new", courier, monaco, monospace,
sans-serif; font-size: 12pt;">Having some trouble to
handle NOTIFY for BLF send by Freeswitch to opensips.</div>
<div style="color: rgb(0, 0, 0); font-family:
"courier new", courier, monaco, monospace,
sans-serif; font-size: 12pt;">How I should handle it ?
Do I need t_relay to the client ?</div>
<div style="color: rgb(0, 0, 0); font-family:
"courier new", courier, monaco, monospace,
sans-serif; font-size: 12pt;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family:
"courier new", courier, monaco, monospace,
sans-serif; font-size: 12pt;"><br>
</div>
<div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">2019/03/12 21:40:57.281140
10.100.104.12:5160 -> 10.100.104.7:5060</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">NOTIFY <a
class="moz-txt-link-freetext"
moz-do-not-send="true">sip:45201@47.185.53.190:12428;nat=yes;transport=TCP</a>
SIP/2.0</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Via: SIP/2.0/UDP
10.100.104.12:5160;rport;branch=z9hG4bKjDtU5Zt1ey70a</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Max-Forwards: 70</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">From: <a
class="moz-txt-link-rfc2396E"
moz-do-not-send="true"><sip:45200@dev.ait.local:5160></a>;tag=054Zqq8YyZTA</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">To: "45201" <a
class="moz-txt-link-rfc2396E"
moz-do-not-send="true"><sip:45201@dev.ait.local:5160></a>;tag=1948650230</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Call-ID: <a
class="moz-txt-link-abbreviated"
href="mailto:0_1579912862@192.168.1.32"
target="_blank" moz-do-not-send="true">0_1579912862@192.168.1.32</a></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">CSeq: 306302851 NOTIFY</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Contact: <a
class="moz-txt-link-rfc2396E"
moz-do-not-send="true"><sip:45200@10.100.104.12:5160;transport=tcp></a></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">User-Agent: FreeSWITCH</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Allow: INVITE, ACK, BYE,
CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER,
REFER, NOTIFY, PUBLISH, SUBSCRIBE</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Supported: timer, path,
replaces</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Event: dialog</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Allow-Events: talk, hold,
conference, presence, as-feature-event, dialog,
line-seize, call-info, sla,
include-session-description, presence.winfo,
message-summary, refer</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Subscription-State:
active;expires=530</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Content-Type:
application/dialog-info+xml</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif">Content-Length: 551</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"><br>
</font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"><?xml version="1.0"?></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"><dialog-info
xmlns="urn:ietf:params:xml:ns:dialog-info"
version="13" state="full" entity=<a
class="moz-txt-link-rfc2396E"
moz-do-not-send="true">"sip:45200@dev.ait.local"</a>></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"><dialog
id="59fc03ba-36f5-4c1c-8a18-f0ac6e81316a"
direction="initiator"></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"><state>confirmed</state></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"><local></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"><identity
display="45200"><a
class="moz-txt-link-freetext"
moz-do-not-send="true">sip:45200@dev.ait.local</a></identity></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"><target uri=<a
class="moz-txt-link-rfc2396E"
moz-do-not-send="true">"sip:45200@dev.ait.local"</a>></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"><param
pname="+sip.rendering" pvalue="yes"/></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"></target></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"></local></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"><remote></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"><identity
display="*97"><a class="moz-txt-link-freetext"
moz-do-not-send="true">sip:*97@dev.ait.local</a></identity></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"><target uri=<a
class="moz-txt-link-rfc2396E"
moz-do-not-send="true">"sip:**45200@dev.ait.local"</a>/></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"></remote></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"></dialog></font></div>
<div><font face="courier new, courier, monaco,
monospace, sans-serif"></dialog-info></font></div>
</div>
<div style="color: rgb(0, 0, 0); font-family:
"courier new", courier, monaco, monospace,
sans-serif; font-size: 12pt;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family:
"courier new", courier, monaco, monospace,
sans-serif; font-size: 12pt;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-family:
"courier new", courier, monaco, monospace,
sans-serif; font-size: 12pt;">volga629</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>