Alex, thank you for the answer, I have installed rtpproxy and is running: <div><br></div><div>rtpproxy -l 66.152.18.221 -s udp:localhost:7722<br><br></div><div>this is my NAT kamailio.cfg:</div><div><br></div><div><div>#!ifdef WITH_NAT</div>
<div># ----- rtpproxy params -----</div><div>modparam(&quot;rtpproxy&quot;, &quot;rtpproxy_sock&quot;, &quot;udp:<a href="http://127.0.0.1:7722">127.0.0.1:7722</a>&quot;)</div><div><br></div><div># ----- nathelper params -----</div>
<div>modparam(&quot;nathelper&quot;, &quot;natping_interval&quot;, 30)</div><div>modparam(&quot;nathelper&quot;, &quot;ping_nated_only&quot;, 1)</div><div>modparam(&quot;nathelper&quot;, &quot;sipping_bflag&quot;, FLB_NATSIPPING)</div>
<div>modparam(&quot;nathelper&quot;, &quot;sipping_from&quot;, &quot;<a href="mailto:sip%3Apinger@kamailio.org">sip:pinger@kamailio.org</a>&quot;)</div><div><br></div><div># params needed for NAT traversal in other modules</div>
<div>modparam(&quot;nathelper|registrar&quot;, &quot;received_avp&quot;, &quot;$avp(RECEIVED)&quot;)</div><div>modparam(&quot;usrloc&quot;, &quot;nat_bflag&quot;, FLB_NATB)</div><div>#!endif</div><div><br></div><div><br></div>
<div>And in the route(NAT) I have changed the nat test: </div><div><br></div><div><b>           if (!nat_uac_test(&quot;32&quot;))</b></div><div class="gmail_quote"><br></div><div class="gmail_quote">This is because I want to do NAT only with those clients which source signalling is not RFC<span class="Apple-style-span" style="color: rgb(46, 44, 44); font-family: monospace; font-size: 15px; line-height: 22px; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">1918 compliant.</span></div>
<div class="gmail_quote">Since I&#39;m using a transparent proxy on the public ip. The problem I&#39;m still having is that the RTP traffic are routing to the private ip address of the sip phone. I have been with this since a couple of days and I would appreciate a little help.</div>
<div class="gmail_quote">Thanks ons advance, </div><div class="gmail_quote"><br></div><div class="gmail_quote"><br></div><div class="gmail_quote">Lucas </div><div class="gmail_quote">On Tue, May 31, 2011 at 2:45 PM, Alex Balashov <span dir="ltr">&lt;<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On 05/31/2011 01:40 PM, Lucas Alvarez wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, I&#39;m having a problem with RTP traffic, I have softphone connecting<br>
from the outside, I can register but Kamailio is sending all RTP traffic<br>
to the private IP address that the softphone has in it own local<br>
network. How can I fix this? Any help will be appreciated.<br>
</blockquote>
<br></div></div>
That is what the far-end NAT traversal / rtpproxy part of Kamailio functionality is for.<br>
<br>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
260 Peachtree Street NW<br>
Suite 2200<br>
Atlanta, GA 30303<br>
Tel: +1-678-954-0670<br>
Fax: +1-404-961-1892<br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br></div>