<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Rodrigo,<br>
<br>
If opensips is behind NAT, you should not use the nat related
modules (as the incoming traffic is correct from nat perspective,
as originating from public network). What you need to do is to be
sure the traffic sent out by opensips has the public IP and not
the local private one. For this, look at :<br>
advertise_address<br>
advertise_port<br>
(<a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-CoreParameters-2-1#toc25">http://www.opensips.org/Documentation/Script-CoreParameters-2-1#toc25</a>)<br>
<br>
And be sure you have do port fwd of the SIP port from the public
address of the NAT to the private IP of your opensips.<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="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 07.01.2016 13:30, Rodrigo Pimenta
Carvalho wrote:<br>
</div>
<blockquote
cite="mid:BY2PR02MB16552310EB65ED08A039C7E7B5F50@BY2PR02MB1655.namprd02.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi.</p>
<p><br>
</p>
<p>I have read the entire OpenSIPS' documentation about how to
deal with NATs.</p>
<p>I found ways of dealing with messages from client that is
behind NAT. OpenSIPS can fix Contact headers fields and
registers, when SIP messages comes from clients and cross NATs
before reaching this proxy.</p>
<p><br>
</p>
<p>However, my OpenSIPS and callee is behind NAT, not the
client. That is, if a client (caller) calls the callee, how
could OpenSIPS with its functions fixes Contact header fields
in responses that go from callee to caller, so that the client
will be able to send ACKs? It is still obscure to me.</p>
<p><br>
</p>
<p>Any idea?</p>
<p><br>
</p>
<p>Best regards.<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper"
style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:; margin:0">
<div class="BodyFragment"><font size="2">
<div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: +55 35 3471 9200 RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>