sip_nat_detected will be set to true or fs_nat=true param will be present in contact in the db

if you see neither of these FS is not detecting its nat, probably you have to disable some other way that the phone or ALG is hiding the nat.


On Fri, Nov 4, 2011 at 3:33 AM, Mateusz Bartczak <netcentrica@gmail.com> wrote:
Hello

I would like to allow direct p2p media (bypassing FS) between registered SIP users, but only if one of them is not behind NAT.

I can't force bypass_media=true for all calls, because many of users are behind NAT and this will break communication. I only want to bypass_media for users where it's possible.

Is there any way of checking this in a programmatic way? I've checked call variables, SIP registration info from database but I can't find any related variable.

Any suggestions?


FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900