I think this has been discussed once before, and perhaps the best/only way would be to use and on-bridge script to compare the addresses. However, when you call uuid_media and freeswitch sends the reinvite, I bet it using the resolved public IP address of the phones rather than the internal ones.

If there's a way to do it, it'll be based on that. Running a script to send the reinvite pointing to the internal addresses and port numbers SDP addresses. Assuming the SDP hasn't been modified.

Theres 

On 11 January 2013 13:31, Chris B. Ware <chrisbware@yahoo.it> wrote:
Thank you guys for all your hints.

ICE & TURN are quite new protocols invented to fix all issues that STUN leave not fixed, such as double NAT.
They try to discover client network topology.

I think best solution is marking each phone on the same site with a flag and using bypass media.

Thanks again.

Chris B. Ware

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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




--
Andrew Cassidy BSc (Hons) MBCS SSCA
Managing Director


T 03300 100 960  F 03300 100 961
E andrew@cassidywebservices.co.uk
W www.cassidywebservices.co.uk