Hi,<br><br>I am having a problem with using B2BUA -&gt; Opensips -&gt; xLite behind NAT.&nbsp; When the B2BUA sends back a 200OK, it is received by the SIP client behind NAT, but the SIP client does not response properly with ACK when the xLite is not in the same local LAN as the Opensips.&nbsp; If xLite is connected within the local LAN of Opensips, then xLite can response properly with ACK.&nbsp; I think this is due to Contact header not properly configured, but I did use fix_nated_contact() inside the onreply_route[1].&nbsp; <br>
<br>onreply_route[1] {<br>&nbsp;&nbsp;&nbsp; xlog(&quot;L_INFO&quot;, &quot;Reply - S=$rs D=$rr F=$fu T=$tu IP=$si ID=$ci\n&quot;);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; search_append(&#39;Contact:.*sip:[^&gt;[:cntrl:]]*&#39;, &#39;;nat=yes&#39;);<br>&nbsp;&nbsp;&nbsp; fix_nated_contact();<br>
&nbsp;&nbsp;&nbsp; exit; <br><br>&nbsp;<br>}<br><br>Any suggestion on how to resolve this problem will be greatly appreciated.<br><br>JB<br>