<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 14px;" lang="x-unicode">Here's full kamailio.cfg <a
class="moz-txt-link-freetext"
href="https://pastebin.com/EY4JXf8e">https://pastebin.com/EY4JXf8e</a>
<br>
<br>
<br>
Any help what's wrong will be appreciated <span
class="moz-smiley-s1" title=":)"></span>
<br>
<br>
<br>
Now the only problem is carrierroute to Mediant...
<br>
<br>
<br>
03.08.2017 15:14, Sebastian Damm пишет:
<br>
<blockquote type="cite" style="color: #000000;">Hi,
<br>
<br>
On Thu, Aug 3, 2017 at 12:48 PM, Yu Boot <a
class="moz-txt-link-rfc2396E" href="mailto:yu@yu-boot.ru"><yu@yu-boot.ru></a>
wrote:
<br>
<blockquote type="cite" style="color: #000000;">First one works
OK, but if second route triggers, the following disaster
<br>
occurs (tshark dump) <a class="moz-txt-link-freetext"
href="https://pastebin.com/00Ayty36">https://pastebin.com/00Ayty36</a>
<br>
</blockquote>
it's not really a disaster. The Mediant2000 sends out a reINVITE
after
<br>
the call was established. The client responds with a 200 OK, but
then
<br>
the ACK is sent to the wrong request URI. While in the reINVITE
the
<br>
request URI was <a class="moz-txt-link-rfc2396E"
href="mailto:sip:200@172.16.0.158:5060;alias=1.2.176.33%7E5060%7E1">"sip:200@172.16.0.158:5060;alias=1.2.176.33~5060~1"</a>,
<br>
it is <a class="moz-txt-link-rfc2396E"
href="mailto:sip:200@172.16.0.158:5060">"sip:200@172.16.0.158:5060"</a>
later in the ACK.
<br>
<br>
My guess is you're record routing your packets even in loose
routing.
<br>
And you're not doing adding contact aliases there. I've seen
before
<br>
that clients then re-learn their route to the other side and
fuck up
<br>
loose routing.
<br>
<br>
You should only call record_route() in the initial call setup,
never
<br>
again after the 200 OK. Then you should be fine.
<br>
<br>
Regards,
<br>
Sebastian
<br>
<br>
_______________________________________________
<br>
Kamailio (SER) - Users Mailing List
<br>
<a class="moz-txt-link-abbreviated"
href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<br>
<a class="moz-txt-link-freetext"
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
<br>
</blockquote>
<br>
</div>
</body>
</html>