<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Enable log_level 4 (debug level) and post the logs generated by
OpenSIPS (172.25.251.4) when handling the ACK.<br>
<br>
Regards,<br>
</tt>
<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 9/26/19 9:31 PM, Olle Frimanson
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:004201d57498$acb6cd90$062468b0$@zaark.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML - förformaterad Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
tt
{mso-style-priority:99;
font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
span.HTML-frformateradChar
{mso-style-name:"HTML - förformaterad Char";
mso-style-priority:99;
mso-style-link:"HTML - förformaterad";
font-family:Consolas;
color:black;}
span.E-postmall21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-postmall22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-postmall23
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">Hi
yes I tried that as well and then the ACK was not routed at
all.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US">BR/Olle<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext" lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:SV">Från:</span></b><span
style="color:windowtext;mso-fareast-language:SV">
Bogdan-Andrei Iancu <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a> <br>
<b>Skickat:</b> den 26 september 2019 19:59<br>
<b>Till:</b> Olle Frimanson <a class="moz-txt-link-rfc2396E" href="mailto:olle@zaark.com"><olle@zaark.com></a>;
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
<b>Ämne:</b> Re: SV: [OpenSIPS-Users] Problems with
loose_route and ACK<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi,</span></tt><span
style="font-size:10.0pt;font-family:"Courier New""><br>
<br>
<tt>You should have it on the OpenSIPS with the 172.25.251.4
IP.</tt><br>
<br>
<tt>Regards,</tt><br>
<br>
</span><span style="mso-fareast-language:SV"><o:p></o:p></span></p>
<pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
<pre> <a href="https://www.opensips-solutions.com" moz-do-not-send="true">https://www.opensips-solutions.com</a><o:p></o:p></pre>
<pre>OpenSIPS Summit 2019<o:p></o:p></pre>
<pre> <a href="https://www.opensips.org/events/Summit-2019Amsterdam/" moz-do-not-send="true">https://www.opensips.org/events/Summit-2019Amsterdam/</a><o:p></o:p></pre>
<div>
<p class="MsoNormal">On 9/26/19 6:45 PM, Olle Frimanson wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">Hi again I might add it’s enabled on our edge
proxy since it converts TCP/TLS to UDP</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US">Br/Olle</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"
lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:SV">Från:</span></b><span
style="color:windowtext;mso-fareast-language:SV">
Bogdan-Andrei Iancu <a
href="mailto:bogdan@opensips.org"
moz-do-not-send="true"><bogdan@opensips.org></a>
<br>
<b>Skickat:</b> den 26 september 2019 16:51<br>
<b>Till:</b> OpenSIPS users mailling list <a
href="mailto:users@lists.opensips.org"
moz-do-not-send="true"><users@lists.opensips.org></a>;
<a href="mailto:olle@zaark.com" moz-do-not-send="true">olle@zaark.com</a><br>
<b>Ämne:</b> Re: [OpenSIPS-Users] Problems with
loose_route and ACK</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi
Olle,</span></tt><span
style="font-size:10.0pt;font-family:"Courier
New""><br>
<br>
<tt>It is like the double-RR indication is ignored (the r2
param) from the top Route hdr. Are you sure that the
"enable_double_rr" modparam is still on ?</tt><br>
<br>
<tt>Regards,</tt><br>
<br>
<br>
</span><o:p></o:p></p>
<pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
<pre> <a href="https://www.opensips-solutions.com" moz-do-not-send="true">https://www.opensips-solutions.com</a><o:p></o:p></pre>
<pre>OpenSIPS Summit 2019<o:p></o:p></pre>
<pre> <a href="https://www.opensips.org/events/Summit-2019Amsterdam/" moz-do-not-send="true">https://www.opensips.org/events/Summit-2019Amsterdam/</a><o:p></o:p></pre>
<div>
<p class="MsoNormal">On 9/26/19 4:30 PM, <a
href="mailto:olle@zaark.com" moz-do-not-send="true">olle@zaark.com</a>
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi ,<o:p></o:p></p>
<p class="MsoNormal">I have stumbled on a issue with ACK on
200 OK from Freeswitch. We are running 2.4.4 but I have
also upgraded to 2.4.6 and testad with the same result.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I get an ACK from our Freeswitch
(172.25.0.25), trace from ngrep (some address and numbers
have been anonymized). <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">U 2019/09/26 13:00:22.614545
172.25.0.25:5060 -> 172.25.251.4:5060 #31<o:p></o:p></p>
<p class="MsoNormal">ACK <a
href="sip:c22c11d0-7961-48c6-a603-e3d1872a462a@95.195.215.15:56188;transport=TCP;ob"
moz-do-not-send="true">sip:c22c11d0-7961-48c6-a603-e3d1872a462a@95.195.215.15:56188;transport=TCP;ob</a>
SIP/2.0.<o:p></o:p></p>
<p class="MsoNormal">Via: SIP/2.0/UDP
172.25.0.25;rport;branch=z9hG4bK26XN3DN58vg6e.<o:p></o:p></p>
<p class="MsoNormal">Route: <a
href="sip:172.25.0.21:5070;lr;r2=on;ftag=v3rpgKD64K2me;dlg=1b3.4591f441"
moz-do-not-send="true"><sip:172.25.0.21:5070;lr;r2=on;ftag=v3rpgKD64K2me;dlg=1b3.4591f441></a>.<o:p></o:p></p>
<p class="MsoNormal">Route: <a
href="sip:aaa.bbb.ccc.77:5002;transport=tcp;lr;r2=on;ftag=v3rpgKD64K2me;dlg=1b3.4591f441"
moz-do-not-send="true"><sip:aaa.bbb.ccc.77:5002;transport=tcp;lr;r2=on;ftag=v3rpgKD64K2me;dlg=1b3.4591f441></a>.<o:p></o:p></p>
<p class="MsoNormal">Max-Forwards: 70.<o:p></o:p></p>
<p class="MsoNormal">From: "0123456789" <a
href="sip:0123456789@172.25.0.25" moz-do-not-send="true"><sip:0123456789@172.25.0.25></a>;tag=v3rpgKD64K2me.<o:p></o:p></p>
<p class="MsoNormal">To: <a
href="sip:9876543210@blfkfmne406w.zaark.com"
moz-do-not-send="true"><sip:9876543210@blfkfmne406w.zaark.com></a>;tag=3Gwq-SQeo2nkmHWzeMGXPMJbWjv1UqxR.<o:p></o:p></p>
<p class="MsoNormal">Call-ID:
6d8b0c06-5b00-1238-3aa8-fa163e0144b5.<o:p></o:p></p>
<p class="MsoNormal">CSeq: 10197616 ACK.<o:p></o:p></p>
<p class="MsoNormal">Contact: <a
href="sip:gw+device@172.25.0.25:5060;transport=udp;gw=device"
moz-do-not-send="true"><sip:gw+device@172.25.0.25:5060;transport=udp;gw=device></a>.<o:p></o:p></p>
<p class="MsoNormal">Content-Length: 0.<o:p></o:p></p>
<p class="MsoNormal">.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Our script in this case basically only
have 3 steps has_to(), loose_route() and t_relay()<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">AFAIK this packed should be routed to
our edge proxy on 172.25.0.21 which has the public IP
aaa.bbb.ccc, but what happens is that it routes to the
2nd Route header and drops the first:<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">U 2019/09/26 13:00:22.614870
172.25.251.4:5060 -> aaa.bbb.ccc.77:5002 #32<o:p></o:p></p>
<p class="MsoNormal">ACK <a
href="sip:c22c11d0-7961-48c6-a603-e3d1872a462a@95.195.215.15:56188;transport=TCP;ob"
moz-do-not-send="true">sip:c22c11d0-7961-48c6-a603-e3d1872a462a@95.195.215.15:56188;transport=TCP;ob</a>
SIP/2.0.<o:p></o:p></p>
<p class="MsoNormal">Via: SIP/2.0/UDP
172.25.251.4:5060;branch=z9hG4bK1d62.29103862.3.<o:p></o:p></p>
<p class="MsoNormal">Via: SIP/2.0/UDP
172.25.0.25;received=172.25.0.25;rport=5060;branch=z9hG4bK26XN3DN58vg6e.<o:p></o:p></p>
<p class="MsoNormal">Route: <a
href="sip:aaa.bbb.ccc.77:5002;transport=tcp;lr;r2=on;ftag=v3rpgKD64K2me;dlg=1b3.4591f441"
moz-do-not-send="true"><sip:aaa.bbb.ccc.77:5002;transport=tcp;lr;r2=on;ftag=v3rpgKD64K2me;dlg=1b3.4591f441></a>.<o:p></o:p></p>
<p class="MsoNormal">Max-Forwards: 69.<o:p></o:p></p>
<p class="MsoNormal">From: "0123456789" <a
href="sip:0123456789@172.25.0.25" moz-do-not-send="true"><sip:0123456789@172.25.0.25></a>;tag=v3rpgKD64K2me.<o:p></o:p></p>
<p class="MsoNormal">To: <a
href="sip:9876543210@blfkfmne406w.zaark.com"
moz-do-not-send="true"><sip:9876543210@blfkfmne406w.zaark.com></a>;tag=3Gwq-SQeo2nkmHWzeMGXPMJbWjv1UqxR.<o:p></o:p></p>
<p class="MsoNormal">Call-ID:
6d8b0c06-5b00-1238-3aa8-fa163e0144b5.<o:p></o:p></p>
<p class="MsoNormal">CSeq: 10197616 ACK.<o:p></o:p></p>
<p class="MsoNormal">Contact: <a
href="sip:gw+device@172.25.0.25:5060;transport=udp;gw=device"
moz-do-not-send="true"><sip:gw+device@172.25.0.25:5060;transport=udp;gw=device></a>.<o:p></o:p></p>
<p class="MsoNormal">Content-Length: 0.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">This used to work in an older setup
with Opensips running 2.1, so not sure if I’m doing
something wrong here.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Any hints are appreciated<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thanks in advance / Olle<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:SV"><br>
<br>
<br>
</span><o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Users mailing list<o:p></o:p></pre>
<pre><a href="mailto:Users@lists.opensips.org" moz-do-not-send="true">Users@lists.opensips.org</a><o:p></o:p></pre>
<pre><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="mso-fareast-language:SV"> </span><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><span style="mso-fareast-language:SV"><o:p> </o:p></span></p>
</div>
</blockquote>
<br>
</body>
</html>