<div dir="ltr">Hello ,<div><br></div><div>I am using opensips and rtpproxy for sip and rtp proxy server. Here problem is rtpproxy is sending rtp packets on private ip address and so packet lost.</div><div><br></div><div>How to use nat so 66.33.66.256 can transfer rtp packets on nated ip instead of private ip network that available in SDP.</div>
<div><br></div><div><pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;font-size:1em;vertical-align:baseline;background-color:rgb(242,237,225);color:rgb(0,0,0)"><b>Current Scenario : </b><br class="">
                             
       Peer1(public IP)   opensips+rtpproxy   Voip Switch    <span style="font-size:1em;font-family:arial">Peer1(public IP)</span></pre><pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:rgb(242,237,225)">
<font face="arial" size="3" style="color:rgb(0,0,0)">           </font><span style="color:rgb(0,0,0);font-size:1em;font-family:arial">49.91.256.235             66.33.66.256              78.20.56.23        192.168.1.50 </span><font face="arial" size="3" style="color:rgb(0,0,0)"><br>
</font><font color="#000000"><span style="font-size:1em">
        |                      |    </span></font><span style="font-family:arial;font-size:1em;color:rgb(0,0,0)">RTP (G729)      </span><span style="font-size:1em;color:rgb(0,0,0);font-family:arial">   |                       |</span></pre>
<pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline;background-color:rgb(242,237,225)"><font color="#000000"><span style="font-size:1em">        |   </span>RTP (G729)<span style="font-size:1em">         |&lt;-------------------|             </span></font><span style="color:rgb(0,0,0);font-size:1em;font-family:arial">|</span><span style="color:rgb(0,0,0);font-size:1em;font-family:arial">  </span></pre>
<pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;font-size:1em;vertical-align:baseline;background-color:rgb(242,237,225);color:rgb(0,0,0)">        |---------------------&gt;|      <span style="font-size:1em;font-family:arial">RTP (G729)     </span><span style="font-size:1em;font-family:arial">   |                      </span><span style="font-size:1em;font-family:arial"> </span><span style="font-size:1em;font-family:arial">|</span><span style="font-size:1em;font-family:arial"> </span><br>
</pre><pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;font-size:1em;vertical-align:baseline;background-color:rgb(242,237,225);color:rgb(0,0,0)">        |                      |---------------------------------&gt;|<br>
</pre><pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;font-size:1em;vertical-align:baseline;background-color:rgb(242,237,225);color:rgb(0,0,0)"><span style="font-size:1em;font-family:arial"><br>
</span></pre><pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;font-size:1em;vertical-align:baseline;background-color:rgb(242,237,225);color:rgb(0,0,0)"><span style="font-size:1em;font-family:arial"><br>
</span></pre><pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;font-size:1em;vertical-align:baseline;background-color:rgb(242,237,225);color:rgb(0,0,0)"><pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;font-size:1em;vertical-align:baseline">
<b>Actual Scenario Should be : </b></pre><pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;font-size:1em;vertical-align:baseline"><b><br></b></pre><pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;font-size:1em;vertical-align:baseline">
<b><br></b></pre></pre><pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;font-size:1em;vertical-align:baseline;background-color:rgb(242,237,225);color:rgb(0,0,0)"><pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;font-size:1em;vertical-align:baseline">
       Peer1(public IP)   opensips+rtpproxy   Voip Switch    <span style="font-size:1em;font-family:arial">Peer1(public IP)</span></pre><pre class="" style="color:rgb(34,34,34);margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline">
<font face="arial" size="3" style="color:rgb(0,0,0)">           </font><span style="color:rgb(0,0,0);font-size:1em;font-family:arial">49.91.256.235             66.33.66.256              78.20.56.23        192.168.1.50 </span><font face="arial" size="3" style="color:rgb(0,0,0)"><br>
</font><font color="#000000">
        |                      |    </font><span style="font-family:arial;font-size:1em;color:rgb(0,0,0)">RTP (G729)      </span><span style="font-size:1em;color:rgb(0,0,0);font-family:arial">     |                       |</span></pre>
<pre class="" style="color:rgb(34,34,34);margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;vertical-align:baseline"><font color="#000000"><span style="font-size:1em">        |   </span>RTP (G729)<span style="font-size:1em">         |&lt;-------------------|             </span></font><span style="color:rgb(0,0,0);font-size:1em;font-family:arial">|</span><span style="color:rgb(0,0,0);font-size:1em;font-family:arial">  </span></pre>
<pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;font-size:1em;vertical-align:baseline">        |---------------------&gt;|      <span style="font-size:1em;font-family:arial">RTP (G729)     </span><span style="font-size:1em;font-family:arial">   |                      </span><span style="font-size:1em;font-family:arial"> </span><span style="font-size:1em;font-family:arial">|</span><span style="font-size:1em;font-family:arial"> </span><br>
</pre><pre class="" style="margin-top:0px;margin-bottom:0px;padding:0px;border:0px;outline:0px;font-size:1em;vertical-align:baseline">        |    <span style="font-family:arial;font-size:1em">RTP (G729)             </span><span style="font-size:1em;font-family:arial">  |----------------------------------&gt;|                       |</span></pre>
<div>        |&lt;---------------------|                    |             |</div><div><br></div><div><br></div></pre></div><div>-- <br><div dir="ltr"><div><div><font face="arial">Kind regards,</font></div><div><font face="arial"><br>
</font></div><div><font face="arial">Kaushik Parmar</font></div></div></div>
</div></div>