<html><head></head><body><div style="color:#000; background-color:#fff; font-family:標楷體, dfkai-sb;font-size:16px"><div id="yui_3_16_0_ym19_1_1517557285679_232925" dir="ltr">Hi <span id="yui_3_16_0_ym19_1_1517557285679_232928">Schneur,</span></div><div id="yui_3_16_0_ym19_1_1517557285679_232960"><br></div><div dir="ltr" id="yui_3_16_0_ym19_1_1517557285679_232923">do you have force_rport() in your opensips.cfg ? hard to make any other comments without looking at your config.<br></div><div id="yui_3_16_0_ym19_1_1517557285679_232616"><span></span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: 標楷體, dfkai-sb; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif; font-size: 16px;"> <div dir="ltr"><font face="Arial" size="2"> On Monday, 12 February 2018, 20:36, Schneur Rosenberg <rosenberg11219@gmail.com> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div dir="ltr">I have this interesting scenario, caller sends call to our OpenSIPS<br></div><div dir="ltr">who actsd as a loadbalancer which sends the call to a gateway for<br></div><div dir="ltr">termination and the gateway sets Session-Expires: 1800;refresher=uas,<br></div><div dir="ltr">the caller sends call the call through port 1090 and the rport in the<br></div><div dir="ltr">Via shows rport=1090 and so far everything is ok, but after 15 minutes<br></div><div dir="ltr">the gateway sends a reinvite,  OpenSIPS sends it to the client and the<br></div><div dir="ltr">client sends a OK and OpenSIPS properly sends the OK to the gateway,<br></div><div dir="ltr">the gateway sends a ACK to OpenSIPS, but here the problem starts<br></div><div dir="ltr">OpenSIPS sends the ACK to the port in the Contact header which is not<br></div><div dir="ltr">the same port as the rport, the clients router does not recognize the<br></div><div dir="ltr">packet and blocks it, the client sends multiple OK's to OpenSIPS who<br></div><div dir="ltr">ignores it because he has already moved on, as far as OpenSIPS is<br></div><div dir="ltr">concerned the ACK has already been sent to the next hop, and after<br></div><div dir="ltr">approx 30 seconds the client does not receive the ACK and sends a BYE<br></div><div dir="ltr">and the call terminates.<br></div><div dir="ltr"><br></div><div dir="ltr">Why is OpenSIPS changing the port to the Contact port? and what can I<br></div><div dir="ltr">do to fix it?<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /><br></div><div dir="ltr"><table style="border-top: 1px solid #D3D4DE;"><br></div><div dir="ltr">    <tr><br></div><div dir="ltr">        <td style="width: 55px; padding-top: 13px;"><a<br></div><div dir="ltr">href="<a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank">http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail</a>"<br></div><div dir="ltr">target="_blank"><img<br></div><div dir="ltr">src="<a href="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" target="_blank">https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png</a>"<br></div><div dir="ltr">alt="" width="46" height="29" style="width: 46px; height: 29px;"<br></div><div dir="ltr">/></a></td><br></div><div dir="ltr">        <td style="width: 470px; padding-top: 12px; color: #41424e;<br></div><div dir="ltr">font-size: 13px; font-family: Arial, Helvetica, sans-serif;<br></div><div dir="ltr">line-height: 18px;">Virus-free. <a<br></div><div dir="ltr">href="<a href="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank">http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail</a>"<br></div><div dir="ltr">target="_blank" style="color: #4453ea;">www.avg.com</a><br></div><div dir="ltr">        </td><br></div><div dir="ltr">    </tr><br></div><div dir="ltr"></table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1"<br></div><div dir="ltr">height="1"></a></div><br></div><div dir="ltr"><br></div><div dir="ltr">_______________________________________________<br></div><div dir="ltr">Users mailing list<br></div><div dir="ltr"><a ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br></div><div dir="ltr"><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></div><br><br></div>  </div> </div>  </div></div></body></html>