<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Olle,<br>
<br>
When doing loose_route(), opensips has to determine if the RURI or
the top Route URI points to itself. In order to check this "is for
myself", OpenSIPS checks the host URI against the listening IP and
the domains from domain table (as the dynamic component).<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/27/19 11:58 AM, <a class="moz-txt-link-abbreviated" href="mailto:olle@zaark.com">olle@zaark.com</a>
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:02c201d57511$bd3245e0$3796d1a0$@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",serif;
color:black;}
tt
{mso-style-priority:99;
font-family:"Courier New",serif;}
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;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-postmall24
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.E-postmall25
{mso-style-type:personal-compose;
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">Hi think I
have located the problem, it seems like due to a wrong
ansible configuration the IP the edge proxy have been
entered into the domain table of 172.0.251.4.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">When I
removed it from the domain table it works as expected, in
both cases I have set:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">modparam("rr",
"enable_double_rr", 0)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Below are
the logs from a working scenarion (172.25.0.21 is NOT in
domain table)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.777817+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
0a58c198-5ba4-1238-3aa8-fa163e0144b5|Route0|New request:
M=ACK
RURI=<a class="moz-txt-link-freetext" href="sip:c22c11d0-7961-48c6-a603-e3d1872a462a@xxx.yyy.zzz.162:57021;transport=TCP;ob">sip:c22c11d0-7961-48c6-a603-e3d1872a462a@xxx.yyy.zzz.162:57021;transport=TCP;ob</a>
F=<a class="moz-txt-link-freetext" href="sip:111@172.25.0.25">sip:111@172.25.0.25</a> T=<a class="moz-txt-link-freetext" href="sip:222@blfkfmne406w.zaark.com">sip:222@blfkfmne406w.zaark.com</a>
D=<null> IP=172.25.0.25:5060
ID=0a58c198-5ba4-1238-3aa8-fa163e0144b5 PROTO=udp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.778095+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:maxfwd:is_maxfwd_present: value = 70<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.778370+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:comp_scriptvar: str 20 : udp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.778642+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:comp_scriptvar: str 20 : udp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.778892+00:00
sip-stage-1 /usr/sbin/opensips[11548]: DBG:uri:has_totag:
totag found<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.779162+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:parse_headers: flags=200<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.779408+00:00
sip-stage-1 /usr/sbin/opensips[11548]: DBG:rr:is_preloaded:
No<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.779713+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if host==us: 14==11
&& [212.116.71.162] == [172.25.0.24]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.779968+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if port 5060 matches port
57021<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.780211+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if host==us: 14==12
&& [212.116.71.162] == [172.25.251.4]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.780479+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if port 5060 matches port
57021<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.780753+00:00
sip-stage-1 /usr/sbin/opensips[11548]: DBG:core:check_self:
host != me<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.781023+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if host==us: 11==11
&& [172.25.0.21] == [172.25.0.24]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.781279+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if port 5060 matches port
5070<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.781545+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if host==us: 11==9
&& [172.25.0.21] == [127.0.0.1]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.781825+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if port 5060 matches port
5070<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.782074+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if host==us: 11==12
&& [172.25.0.21] == [172.25.251.4]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.782311+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if port 5060 matches port
5070<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="color:windowtext">2019-09-27T08:31:32.782550+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:check_self: host != me<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span style="color:windowtext">2019-09-27T08:31:32.782810+00:00
sip-stage-1 /usr/sbin/opensips[11548]: DBG:rr:after_loose:
Topmost URI is NOT myself<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.783073+00:00
sip-stage-1 /usr/sbin/opensips[11548]: DBG:rr:after_loose:
URI to be processed:
'<a class="moz-txt-link-freetext" href="sip:172.25.0.21:5070;lr;r2=on;ftag=4DNFgFa4mN6pg;dlg=4ee.34140ca2">sip:172.25.0.21:5070;lr;r2=on;ftag=4DNFgFa4mN6pg;dlg=4ee.34140ca2</a>'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:31:32.783331+00:00
sip-stage-1 /usr/sbin/opensips[11548]: DBG:rr:after_loose:
Next URI is a loose router<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Below is one
that fails (172.25.0.21 is in domain table)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.321708+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
3842d729-5ba3-1238-3aa8-fa163e0144b5|Route0|New request:
M=ACK
RURI=<a class="moz-txt-link-freetext" href="sip:c22c11d0-7961-48c6-a603-e3d1872a462a@xxx.yyy.zzz.162:57008;transport=TCP;ob">sip:c22c11d0-7961-48c6-a603-e3d1872a462a@xxx.yyy.zzz.162:57008;transport=TCP;ob</a>
F=<a class="moz-txt-link-freetext" href="sip:111@172.25.0.25">sip:111@172.25.0.25</a> T=<a class="moz-txt-link-freetext" href="sip:222@blfkfmne406w.zaark.com">sip:222@blfkfmne406w.zaark.com</a>
D=<null> IP=172.25.0.25:5060
ID=3842d729-5ba3-1238-3aa8-fa163e0144b5 PROTO=udp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.322012+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:maxfwd:is_maxfwd_present: value = 70<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.322260+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:comp_scriptvar: str 20 : udp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.322510+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:comp_scriptvar: str 20 : udp<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.322779+00:00
sip-stage-1 /usr/sbin/opensips[11548]: DBG:uri:has_totag:
totag found<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.323017+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:parse_headers: flags=200<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.323267+00:00
sip-stage-1 /usr/sbin/opensips[11548]: DBG:rr:is_preloaded:
No<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.323514+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if host==us: 14==11
&& [212.116.71.162] == [172.25.0.24]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.323807+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if port 5060 matches port
57008<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.324071+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if host==us: 14==12
&& [212.116.71.162] == [172.25.251.4]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.324314+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if port 5060 matches port
57008<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.324551+00:00
sip-stage-1 /usr/sbin/opensips[11548]: DBG:core:check_self:
host != me<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.324809+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if host==us: 11==11
&& [172.25.0.21] == [172.25.0.24]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.325061+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if port 5060 matches port
5070<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.325310+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if host==us: 11==9
&& [172.25.0.21] == [127.0.0.1]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.325548+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if port 5060 matches port
5070<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.325833+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if host==us: 11==12
&& [172.25.0.21] == [172.25.251.4]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.326109+00:00
sip-stage-1 /usr/sbin/opensips[11548]:
DBG:core:grep_sock_info: checking if port 5060 matches port
5070<o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="color:windowtext">2019-09-27T08:26:01.326346+00:00
sip-stage-1 /usr/sbin/opensips[11548]: DBG:rr:after_loose:
Topmost route URI:
'<a class="moz-txt-link-freetext" href="sip:172.25.0.21:5070;lr;r2=on;ftag=2U2XcS8vt3SHS;dlg=f49.90a38793">sip:172.25.0.21:5070;lr;r2=on;ftag=2U2XcS8vt3SHS;dlg=f49.90a38793</a>'
is me<o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.326578+00:00
sip-stage-1 /usr/sbin/opensips[11548]: DBG:rr:after_loose:
URI to be processed:
'<a class="moz-txt-link-freetext" href="sip:aaa.bbb.ccc.77:5002;transport=tcp;lr;r2=on;ftag=2U2XcS8vt3SHS;dlg=f49.90a38793">sip:aaa.bbb.ccc.77:5002;transport=tcp;lr;r2=on;ftag=2U2XcS8vt3SHS;dlg=f49.90a38793</a>'<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">2019-09-27T08:26:01.326828+00:00
sip-stage-1 /usr/sbin/opensips[11548]: DBG:rr:after_loose:
Next URI is a loose router<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">But I don’t
understand why entries in the domain modules affect the rr
module.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">BR/Olle<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><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 27 september 2019 10:13<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: 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">Enable
log_level 4 (debug level) and post the logs generated by
OpenSIPS (172.25.251.4) when handling the ACK.</span></tt><span
style="font-size:10.0pt;font-family:"Courier
New",serif"><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 9:31 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 yes I tried that as well and then the ACK
was not routed at all.</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 19:59<br>
<b>Till:</b> Olle Frimanson <a
href="mailto:olle@zaark.com" moz-do-not-send="true"><olle@zaark.com></a>;
<a href="mailto:users@lists.opensips.org"
moz-do-not-send="true">users@lists.opensips.org</a><br>
<b>Ämne:</b> Re: SV: [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,</span></tt><span
style="font-size:10.0pt;font-family:"Courier
New",serif"><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>
<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 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",serif"><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>
<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>
<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"> </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>