Hey, thanks for both replies from Daniel and Klaus.<br><br>Klaus, will this work on kamailio 1.5.3 the same way?<br>Daniel, sorry I misstyped. The first flags should be ocfaei and the second ones ocfaie.<br><br>What I meant with the question is:<br>
I receive an invite from public IP; I call force_rtp_proxy(&quot;ocfaei&quot;);<br>Then I receive the reply (lets say 183 or 200) and I call force_rtp_proxy(&quot;ocfaie&quot;);<br><br>Is this right?<br><br>Thanks in advance,<br>
Uriel<br><br><div class="gmail_quote">On Mon, Mar 22, 2010 at 6:20 AM, Klaus Darilion <span dir="ltr">&lt;<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Recently I have rewritten the documentation about using the e/i flag. See<br>
<br>
<a href="http://sip-router.org/docbook/sip-router/branch/master/modules_k/nathelper/nathelper.html#id2907572" target="_blank">http://sip-router.org/docbook/sip-router/branch/master/modules_k/nathelper/nathelper.html#id2907572</a><br>

<br>
regards<br>
klaus<br>
<br>
Am 19.03.2010 22:12, schrieb Uriel Rozenbaum:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Hi guys,<br>
<br>
I have some easy doubt about nathelper functions using RTPProxy.<br>
<br>
I&#39;m trying to bridge from an external IP to an internal IP.<br>
The start-line for rtpproxy is: rtpproxy -l PUBLIC_IP/PRIVATE_IP -s<br></div>
udp:<a href="http://127.0.0.1:7999" target="_blank">127.0.0.1:7999</a> &lt;<a href="http://127.0.0.1:7999" target="_blank">http://127.0.0.1:7999</a>&gt; -F<div class="im"><br>
It starts OK and I see it when kamailio starts.<br>
<br>
I&#39;m going to use something like Daniel showed on some other mail:<br>
<br>
if(dst_ip==private)<br>
    force_rtp_proxy(&quot;ocfaei&quot;);<br>
else<br>
    force_rtp_proxy(&quot;ocfaei&quot;);<br>
<br>
if i have the invite from a public IP to someone in private on the<br>
request I&#39;ll run<br>
force_rtp_proxy(&quot;ocfaei&quot;);<br>
then the reply will be from private to public... should I run<br>
&quot;force_rtp_proxy(&quot;ocfaei&quot;);&quot;? or should it be the same?<br>
<br>
As allways, thanks for your help.<br>
<br>
Kind regards,<br>
Uriel<br>
<br>
<br>
<br></div><div class="im">
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
</div></blockquote>
</blockquote></div><br>