<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Dear OpenSIPS-users.</p>
<p><br>
</p>
<p><br>
</p>
<p>The function <span>nat_uac_test</span>() (from module NATHELPER) works very well and tells me whether a cliente to my OpenSIPS is behind a NAT.</p>
<p><br>
</p>
<p>But, for my specific network topology, is my OpenSIPS that is behind a NAT, from the client perspective. In this case I have to fix the SDP content that goes from OpenSIPS to the client, so that the client will be able to send its media to a public IP, when
communicating to a peer in the same network domain of this SIP server.</p>
<p><br>
</p>
<p>How can I be sure that for a client perspective the OpenSIPS is behind a NAT? In another words, is there a way to the OpenSIPS determine if its client is in the same network or in a remote network?</p>
<p><br>
</p>
<p>--------------</p>
<p><br>
</p>
<p>P.S. I suspect that OpenSIPS should be used in a node with public IP to simplify our solution. But our customer asked us to put OpenSIPS in a residential device that will be always behind a NAT for some smartphones perspective and not behind a NAT for another
home devices perspective.</p>
<p><br>
</p>
<p><br>
---------------</p>
<p><br>
</p>
<p>Any hint will be very helpful!</p>
<p><br>
</p>
<p>Best regards.</p>
<p><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>
</body>
</html>