<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-family: courier new,monospace;">+----------+ </span><br><span style="font-family: courier new,monospace;">+-----+</span>
<span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +------+&nbsp;&nbsp;&nbsp;&nbsp; |OpenSER&nbsp;&nbsp; |&nbsp;&nbsp; </span><span style="font-family: courier new,monospace;">+------+ </span><span style="font-family: courier new,monospace;"></span><br>
<span style="font-family: courier new,monospace;">|Phone|</span><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |Router|&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-family: courier new,monospace;">|MediaProxy|&nbsp;&nbsp; |Router|</span>
<br><span style="font-family: courier new,monospace;">+-----+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +------+&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-family: courier new,monospace;">+----------+&nbsp;&nbsp; +------+</span><br><span style="font-family: courier new,monospace;">
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; &nbsp; | <br>---------------------&nbsp; --------------------------&nbsp; -------------- Internet<br>&nbsp;&nbsp;&nbsp;&nbsp; Private LAN A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Private LAN B<br><br><br><br></span>Here is the situation : SIP phones are in a private LAN A. They can speak with the server
<br>hosting openser and mediaproxy which is located on private LAN B. This server can speak<br>with the internet through a router that nat (1:1) its private IP on a public one.<br><br>To be able to interconnect inside sip phone with outside ones, openser must advertise the
<br>private address of the mediaproxy to the inside sip phones and its public (nated) address<br>to the outside sip phones. But afaik , the media proxy module doesn't let me dynamically<br>choose the IP which replace the phone IP in the SDP.
<br><br>How do you think I can get through this ?<br><br>-- <br>Simon Morvan.<br><br><span style="font-family: courier new,monospace;"></span>