@Alex: thanks for reply

In this IPv4 world, most devices are in NAT, and it only matters if they are symmetric NAT or not.

So if 1 client is behind symmetric NAT, I want to use rtpproxy, otherwise, I do not.
According to what I read from kamailio cfg, Kamailio only knows if client is NATed or not, it doesnot know the NAT type


On Mon, Mar 4, 2013 at 2:46 PM, Alex Balashov <abalashov@evaristesys.com> wrote:
On 03/04/2013 02:44 AM, Khoa Pham wrote:

@Daniel, how can the SIP proxy determine whether to use rtpproxy or
not ?

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().

Otherwise, you can just engage it in all cases, or using some other criteria (e.g. source or destination network).

-- Alex

--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--
Khoa Pham
HCMC University of Science
Faculty of Information Technology