<p dir="ltr">Also is required add multihomed flag</p>
<br><div class="gmail_quote"><div dir="ltr">пн, 16 апр. 2018 г., 12:14 Federico Cabiddu <<a href="mailto:federico.cabiddu@gmail.com">federico.cabiddu@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div>your INVITE contains a single Record-Route, with Kamailio's Public IP address. Freewitch in the following in0dialog messages, as the BYE is, will have nowhere else to send them than the public IP.</div><div>If you want FS to send in-dialog messages to the private IP you have to have two Record-Route headers:</div><div><a href="http://www.kamailio.org/docs/modules/devel/modules/rr.html#rr.p.enable_double_rr" target="_blank">http://www.kamailio.org/docs/modules/devel/modules/rr.html#rr.p.enable_double_rr</a><br></div><div><br></div><div>Best regards,</div><div><br></div><div>Federico</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 16, 2018 at 11:05 AM, arik halperin <span dir="ltr"><<a href="mailto:arik.halperin@s3code.com" target="_blank">arik.halperin@s3code.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div class="m_-6741079860975096381m_-8966677817330807898WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt">Hello,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">I have the following setup:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"> Kamailio:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"> Public Interface 70.36.25.65<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"> Private Interface 10.168.10.227<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Freeswitch:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"> Private Interface 10.168.10.200<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">I’m routing calls from kamailio to freeswitch, but when I try to hang up the call the freeswitch sends the BYE to the public address(70.36.25.65) and not to the private address 10.168.10.227. 200OK and ACK work correctly. It’s only the BYE that has an issue.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Showing INVITES:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Client Invite:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">T <a href="http://82.80.164.63:53871" target="_blank">82.80.164.63:53871</a> -> <a href="http://70.36.25.65:5099" target="_blank">70.36.25.65:5099</a> [AP]<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">INVITE <a href="http://sip:+972549428460@70.36.25.65:5099" target="_blank">sip:+972549428460@70.36.25.65:5099</a> SIP/2.0.<u></u><u></u></span></p><p class="MsoNormal"><span lang="ES-TRAD" style="font-size:11.0pt">Via: SIP/2.0/TCP 10.0.0.42:51619;branch=z9hG4bK-524287-1---52dcc73ec891de14;rport.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Max-Forwards: 70.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Contact: <<a href="mailto:sip%3A972545234585@82.80.164." target="_blank">sip:972545234585@82.80.164.</a>63:51620;rinstance=1f9d21b54116df89;transport=tcp>.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">To: <<a href="http://sip:+972549428460@70.36.25.65:5099" target="_blank">sip:+972549428460@70.36.25.65:5099</a>>.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">From: "972545234585"<<a href="http://sip:972545234585@70.36.25.65:5099" target="_blank">sip:972545234585@70.36.25.65:5099</a>>;tag=902c5325.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Kamailio to FS:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">T <a href="http://10.168.10.227:46506" target="_blank">10.168.10.227:46506</a> -> <a href="http://10.168.10.200:5080" target="_blank">10.168.10.200:5080</a> [AP]<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">INVITE <a href="http://sip:+972549428460@70.36.25.65:5099" target="_blank">sip:+972549428460@70.36.25.65:5099</a> SIP/2.0.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Record-Route: <sip:<a href="http://70.36.25.65:5099" target="_blank">70.36.25.65:5099</a>;transport=tcp;lr=on;ftag=902c5325;nat=yes>.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Via: SIP/2.0/TCP 70.36.25.65:5099;branch=z9hG4bK1117.1b91cfe0632bd6f036b308f85898e862.1;i=1.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Via: SIP/2.0/TCP 10.0.0.42:51619;received=82.80.164.63;branch=z9hG4bK-524287-1---9b6758521ff0f528;rport=53871.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt">Max-Forwards: 69.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt"><u></u> <u></u></span></p></div></div>
<br>_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>