<div dir="ltr">@Alex: thanks for reply<div><br></div><div style>In this IPv4 world, most devices are in NAT, and it only matters if they are symmetric NAT or not.</div><div style><br></div><div style>So if 1 client is behind symmetric NAT, I want to use rtpproxy, otherwise, I do not.</div>
<div style>According to what I read from kamailio cfg, Kamailio only knows if client is NATed or not, it doesnot know the NAT type</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 4, 2013 at 2:46 PM, Alex Balashov <span dir="ltr">&lt;<a href="mailto:abalashov@evaristesys.com" target="_blank">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 class="im">On 03/04/2013 02:44 AM, Khoa Pham wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
@Daniel, how can the SIP proxy determine whether to use rtpproxy or<br>
not ?<br>
</blockquote>
<br></div>
You have to set your own criteria for that.  If you only want to use rtpproxy in NAT scenarios, you can attempt to detect NAT on the far end using some combination of flags passed to nat_uac_test().<br>
<br>
Otherwise, you can just engage it in all cases, or using some other criteria (e.g. source or destination network).<span class="HOEnZb"><font color="#888888"><br>
<br>
-- Alex<br>
<br>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
235 E Ponce de Leon Ave<br>
Suite 106<br>
Decatur, GA 30030<br>
United States<br>
Tel: +1-678-954-0670<br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com/" target="_blank">http://www.alexbalashov.com/</a></font></span><div class="HOEnZb"><div class="h5">
<br>
<br>
______________________________<u></u>_________________<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/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="color:rgb(0,0,0)">Khoa Pham</span><br style="color:rgb(0,0,0)"><span style="color:rgb(0,0,0)">HCMC University of Science</span><br style="color:rgb(0,0,0)">
<span style="color:rgb(0,0,0)">Faculty of Information Technology</span><br>
</div>