<p>Hi Nick,<br>
So you&#39;ve forwarded the 5060 port to opensips server, cool. Did you forget to mention about the RTP ports forwarded to server ? <br>
Start RTPproxy with param -m and -M to assign range of RTP ports to use. Then forward that UDP port range to opensips server too.<br>
Then see what happens with audio.<br>
Also what is your total voip diagram with their network addresses. </p>
<p>Thanks,<br>
Sammy<br>
 </p>
<div class="gmail_quote">On Sep 11, 2012 6:46 AM, &quot;Nick Chang&quot; &lt;<a href="mailto:nick.chang@kland.com.tw">nick.chang@kland.com.tw</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="ZH-TW" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hello Sammy<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">My NAT type is Full cone NAT.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">In Firewall, I setting a IP &amp; port 5060 to LAN IP.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Example:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="text-indent:24.0pt"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Firewall  -----------------------  Opensips Server<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><a href="http://111.22.33.44:5060" target="_blank">111.22.33.44:5060</a>                       <a href="http://10.1.2.103:5050" target="_blank">10.1.2.103:5050</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Nick<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>SamyGo<br>
<b>Sent:</b> Monday, September 10, 2012 7:32 PM<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] RTPPRoxy behind NAT<u></u><u></u></span></p></div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div><p class="MsoNormal"><span lang="EN-US">Hi,<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><div><p class="MsoNormal"><span lang="EN-US">Nick what is your NAT type? how is your network topology working !!<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">BR<br>Sammy <u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div><div><p class="MsoNormal"><span lang="EN-US">P.S: The blog only takes care of configurations of RTPproxy with servers on Public IPs and clients behind NAT using Kamailio - This won&#39;t make much sense here. Also alot of things have evolved in kamailio since I wrote that post.<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><div><p class="MsoNormal"><span lang="EN-US">On Mon, Sep 10, 2012 at 4:13 PM, Binan AL Halabi &lt;<a href="mailto:binanalhalabi@yahoo.com" target="_blank">binanalhalabi@yahoo.com</a>&gt; wrote:<u></u><u></u></span></p>
<table border="0" cellspacing="0" cellpadding="0"><tr><td valign="top" style="padding:0cm 0cm 0cm 0cm"><p class="MsoNormal"><span lang="EN-US">Hi Nick,<br>see this link posted by Qasim,<br><a href="http://saevolgo.blogspot.com/2012/03/making-rtpproxy-work.html" target="_blank">http://saevolgo.blogspot.com/2012/03/making-rtpproxy-work.html</a><br>
<br>I like it really, you can read it and adjust it as u need,<u></u><u></u></span></p><div><p class="MsoNormal"><span lang="EN-US"><br><br>//Binan<br><br>--- On <b>Mon, 9/10/12, Nick Chang <i>&lt;<a href="mailto:nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>&gt;</i></b> wrote:<u></u><u></u></span></p>
</div><blockquote style="border:none;border-left:solid #1010ff 1.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal"><span lang="EN-US"><br>From: Nick Chang &lt;<a href="mailto:nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>&gt;<br>
Subject: Re: [OpenSIPS-Users] RTPPRoxy behind NAT<br>To: &quot;&#39;OpenSIPS users mailling list&#39;&quot; &lt;<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>&gt;<u></u><u></u></span></p>
</div><p class="MsoNormal"><span lang="EN-US">Date: Monday, September 10, 2012, 2:16 AM<u></u><u></u></span></p><div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><u></u> <u></u></span></p><div>
<div><div><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Dear Binan</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Yes, It’s my setting.</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">route[nat_fixups] {</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #---- RTP Proxy handling ---#</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        if (is_method(&quot;BYE|CANCEL&quot;)) {</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                unforce_rtp_proxy();</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        } else if (is_method(&quot;INVITE&quot;)){</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                #---- Activates the RTP Proxy for the CALLEE ---#</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                rtpproxy_offer(“cowf”,”202.55.233.194”);</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        };</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        # catch and fix replies</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        t_on_reply(&quot;2&quot;);</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">}</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">onreply_route[2] {</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #xlog(&quot;incoming reply\n&quot;);</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #---- Handling of the SDP for the 200 or 183 reply ----#</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #---- If behind nat (flags 5 or 6) start RTP Proxy ----#</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #----    Activates the RTP Proxy for the CALLER    ----#</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        if ( is_method(&quot;INVITE&quot;) &amp;&amp;</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        (isflagset(5) || isbflagset(6)) &amp;&amp;</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        has_body(&quot;application/sdp&quot;) ){</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                rtpproxy_answer(“cowf”,”202.55.233.194”);</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        }</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #---- If the CALLEE is behind NAT, fix the CONTACT HF ----#</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        if (isbflagset(6)) {</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                fix_nated_contact();</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                search_append(&#39;Contact:.*sip:[^&gt;[:cntrl:]]*&#39;, &#39;;nat=yes&#39;);</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        }</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        exit;</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">}</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Nick</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>Binan AL Halabi<br>
<b>Sent:</b> Monday, September 10, 2012 5:12 PM<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] RTPPRoxy behind NAT</span><span lang="EN-US"><u></u><u></u></span></p></div><p><span lang="EN-US"> <u></u><u></u></span></p>
<table border="0" cellspacing="0" cellpadding="0"><tr><td valign="top" style="padding:0cm 0cm 0cm 0cm"><p><span lang="EN-US">Hi Nick,<br>and you are setting <strong>rtpproxy_offer()</strong>  for Invite right !<br><br>//Binan<br>
<br>--- On <b>Mon, 9/10/12, Nick Chang <i>&lt;<a href="http://mc/compose?to=nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>&gt;</i></b> wrote:<u></u><u></u></span></p><p style="margin-bottom:12.0pt"><span lang="EN-US"><br>
From: Nick Chang &lt;<a href="http://mc/compose?to=nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>&gt;<br>Subject: Re: [OpenSIPS-Users] RTPPRoxy behind NAT<br>To: &quot;&#39;OpenSIPS users mailling list&#39;&quot; &lt;<a href="http://mc/compose?to=users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>&gt;<br>
Date: Monday, September 10, 2012, 2:02 AM<u></u><u></u></span></p><div><div><div><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi Binan</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">But, My problem still it.</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">It’s not work for this setting.</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Or Do you have any suggest?</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Nick</span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="http://mc/compose?to=users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [<a href="http://mc/compose?to=users-bounces@lists.opensips.org" target="_blank">mailto:users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>Binan AL Halabi<br>
<b>Sent:</b> Monday, September 10, 2012 4:57 PM<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] RTPPRoxy behind NAT</span><span lang="EN-US"><u></u><u></u></span></p></div><p><span lang="EN-US"> <u></u><u></u></span></p>
<table border="0" cellspacing="0" cellpadding="0"><tr><td valign="top" style="padding:0cm 0cm 0cm 0cm"><p><span lang="EN-US">Hi Nick,<br>thank you too,<br><br>//Binan<br><br>--- On <b>Mon, 9/10/12, Nick Chang <i>&lt;<a href="mailto:nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>&gt;</i></b> wrote:<u></u><u></u></span></p>
<p style="margin-bottom:12.0pt"><span lang="EN-US"><br>From: Nick Chang &lt;<a href="mailto:nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>&gt;<br>Subject: Re: [OpenSIPS-Users] RTPPRoxy behind NAT<br>
To: &quot;&#39;OpenSIPS users mailling list&#39;&quot; &lt;<a href="mailto:users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>&gt;<br>Date: Monday, September 10, 2012, 1:46 AM<u></u><u></u></span></p><div>
<div><div><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hello Binan</span><span lang="EN-US"><u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p>
<p><span lang="EN-US">force_rtp_proxy do not support opensips 1.8.1. It is old function.<u></u><u></u></span></p><p><span lang="EN-US"> <u></u><u></u></span></p><p><span lang="EN-US">You can saw this page <a href="http://www.opensips.org/Resources/DocsMigration163to164" target="_blank">http://www.opensips.org/Resources/DocsMigration163to164</a><u></u><u></u></span></p>
<p><span lang="EN-US"> <u></u><u></u></span></p><p><span lang="EN-US">Now, I setting “rtpproxy_answer(&quot;cowf&quot;,&quot;202.55.233.194&quot;)”<u></u><u></u></span></p><p><span lang="EN-US"> <u></u><u></u></span></p><p>
<span lang="EN-US">Thanks<u></u><u></u></span></p><p><span lang="EN-US">Nick<u></u><u></u></span></p><p><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span><span lang="EN-US"><u></u><u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [<a href="mailto:users-bounces@lists.opensips.org" target="_blank">mailto:users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>Binan AL Halabi<br>
<b>Sent:</b> Monday, September 10, 2012 4:37 PM<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] RTPPRoxy behind NAT</span><span lang="EN-US"><u></u><u></u></span></p></div><p><span lang="EN-US"> <u></u><u></u></span></p>
<table border="0" cellspacing="0" cellpadding="0"><tr><td valign="top" style="padding:0cm 0cm 0cm 0cm"><p><span lang="EN-US">Hi Nick,<br>use force_rtp_proxy <br>here is the link: <br><br><a href="http://www.opensips.org/html/docs/modules/1.4.x/nathelper.html#id271191" target="_blank">http://www.opensips.org/html/docs/modules/1.4.x/nathelper.html#id271191</a><br>
<br>//Binan<br><br>--- On <b>Mon, 9/10/12, Nick Chang <i>&lt;<a href="http://mc/compose?to=nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>&gt;</i></b> wrote:<u></u><u></u></span></p><p style="margin-bottom:12.0pt">
<span lang="EN-US"><br>From: Nick Chang &lt;<a href="http://mc/compose?to=nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>&gt;<br>Subject: [OpenSIPS-Users] RTPPRoxy behind NAT<br>To: &quot;&#39;OpenSIPS users mailling list&#39;&quot; &lt;<a href="http://mc/compose?to=users@lists.opensips.org" target="_blank">users@lists.opensips.org</a>&gt;<br>
Date: Monday, September 10, 2012, 1:01 AM<u></u><u></u></span></p><div><div><div><p><span lang="EN-US">Hello<u></u><u></u></span></p><p><span lang="EN-US"> <u></u><u></u></span></p><p><span lang="EN-US">My RTPPRoxy and Opensips installed on the same server.<u></u><u></u></span></p>
<p><span lang="EN-US">Then It behind a NAT.<u></u><u></u></span></p><p><span lang="EN-US"> <u></u><u></u></span></p><p><span lang="EN-US">It’s my log. How to change “c=IN IP4 10.1.1.51” to “c=IN IP4 public IP”<u></u><u></u></span></p>
<p><span lang="EN-US"> <u></u><u></u></span></p><p><span lang="EN-US">U 2012/09/10 15:57:22.704873 <a href="http://10.1.2.103:5060" target="_blank">10.1.2.103:5060</a> -&gt; <a href="http://111.81.182.252:2151" target="_blank">111.81.182.252:2151</a><u></u><u></u></span></p>
<p><span lang="EN-US">INVITE <a>sip:0939723377@111.81.182.252:2151;line=d210bc79dfd2c52</a> SIP/2.0.<u></u><u></u></span></p><p><span lang="EN-US">Record-Route: &lt;<a>sip:202.55.233.194;lr;ftag=3554;did=72b.08b17766</a>&gt;.<u></u><u></u></span></p>
<p><span lang="EN-US">Via: SIP/2.0/UDP 202.55.233.194;branch=z9hG4bK6aff.e20d892.0.<u></u><u></u></span></p><p><span lang="EN-US">Via: SIP/2.0/UDP 10.1.1.51:5060;received=118.163.61.141;rport=40696;branch=z9hG4bK3339.<u></u><u></u></span></p>
<p><span lang="EN-US">From: &lt;<a>sip:886988000076@202.55.233.194</a>&gt;;tag=3554.<u></u><u></u></span></p><p><span lang="EN-US">To: &lt;<a>sip:0939723377@202.55.233.194</a>&gt;.<u></u><u></u></span></p><p><span lang="EN-US">Call-ID: 32313.<u></u><u></u></span></p>
<p><span lang="EN-US">CSeq: 20 INVITE.<u></u><u></u></span></p><p><span lang="EN-US">Contact: &lt;<a>sip:886988000076@118.163.61.141:40696;nat=yes</a>&gt;.<u></u><u></u></span></p><p><span lang="EN-US">Content-Type: application/sdp.<u></u><u></u></span></p>
<p><span lang="EN-US">Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO.<u></u><u></u></span></p><p><span lang="EN-US">Max-Forwards: 69.<u></u><u></u></span></p><p><span lang="EN-US">User-Agent: Linphone/3.5.2 (eXosip2/3.6.0).<u></u><u></u></span></p>
<p><span lang="EN-US">Subject: Phone call.<u></u><u></u></span></p><p><span lang="EN-US">Content-Length:   337.<u></u><u></u></span></p><p><span lang="EN-US">.<u></u><u></u></span></p><p><span lang="EN-US">v=0.<u></u><u></u></span></p>
<p><span lang="EN-US">o=886988000076 1752 1752 IN IP4 10.1.1.51.<u></u><u></u></span></p><p><span lang="EN-US">s=Talk.<u></u><u></u></span></p><p><span lang="EN-US">c=IN IP4 10.1.1.51.<u></u><u></u></span></p><p><span lang="EN-US">t=0 0.<u></u><u></u></span></p>
<p><span lang="EN-US">m=audio 7078 RTP/AVP 112 111 110 3 0 8 9 101.<u></u><u></u></span></p><p><span lang="EN-US">a=rtpmap:112 speex/32000.<u></u><u></u></span></p><p><span lang="EN-US">a=fmtp:112 vbr=on.<u></u><u></u></span></p>
<p><span lang="EN-US">a=rtpmap:111 speex/16000.<u></u><u></u></span></p><p><span lang="EN-US">a=fmtp:111 vbr=on.<u></u><u></u></span></p><p><span lang="EN-US">a=rtpmap:110 speex/8000.<u></u><u></u></span></p><p><span lang="EN-US">a=fmtp:110 vbr=on.<u></u><u></u></span></p>
<p><span lang="EN-US">a=rtpmap:9 G722/8000.<u></u><u></u></span></p><p><span lang="EN-US">a=rtpmap:101 telephone-event/8000.<u></u><u></u></span></p><p><span lang="EN-US">a=fmtp:101 0-11.<u></u><u></u></span></p><p><span lang="EN-US"> <u></u><u></u></span></p>
<p><span lang="EN-US">Thanks<u></u><u></u></span></p><p><span lang="EN-US">Nick<u></u><u></u></span></p></div></div></div><p style="margin-bottom:12.0pt"><span lang="EN-US"><br>-----Inline Attachment Follows-----<u></u><u></u></span></p>
<div><p><span lang="EN-US">_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u></u><u></u></span></p>
</div></td></tr></table><p><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> </span><span lang="EN-US"><u></u><u></u></span></p></div></div></div><p style="margin-bottom:12.0pt">
<span lang="EN-US"><br>-----Inline Attachment Follows-----<u></u><u></u></span></p><div><p><span lang="EN-US">_______________________________________________<br>Users mailing list<br><a href="http://mc/compose?to=Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u></u><u></u></span></p></div></td></tr></table><p><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> </span><span lang="EN-US"><u></u><u></u></span></p>
</div></div></div><p style="margin-bottom:12.0pt"><span lang="EN-US"><br>-----Inline Attachment Follows-----<u></u><u></u></span></p><div><p><span lang="EN-US">_______________________________________________<br>Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u></u><u></u></span></p>
</div></td></tr></table><p><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> </span><span lang="EN-US"><u></u><u></u></span></p></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt">
<span lang="EN-US"><br>-----Inline Attachment Follows-----<u></u><u></u></span></p><div><p class="MsoNormal"><span lang="EN-US">_______________________________________________<br>Users mailing list<br><a href="http://mc/compose?to=Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u></u><u></u></span></p></div></div></div></blockquote></td></tr></table><p class="MsoNormal" style="margin-bottom:12.0pt">
<span lang="EN-US"><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u></u><u></u></span></p>
</div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div></div></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>