A double NAT has always been very tricky for me, I ended up merging my doubled subnet into the primary.

As for your contact address, try using STUN to check your external IP in your vars.xml and external.xml

http://wiki.freeswitch.org/wiki/NAT


On Tue, Jun 14, 2011 at 3:50 AM, Henk Oegema <henk@oegema.com> wrote:
I'm in the process of changing from Asterisk to Freeswitch (Version 1.0.head (git-0675b59 2011-06-06 21-28-14 -0500)).
I have a problem with one way audio, when using Localphone.com with FS. (Audio is OK both way with localphone.com in Asterisk). (Audio is also OK bothway in FS with powervoip.com and jumblo.com)

Problem:
mobile -> Localphone.com -> FS   audio is OK
FS -> Localphone.com -> mobile   audio NOK

My setup is a little bit specific :  internet -> internetmodem -> (ip:62.195.45.192) router1 -> switch ->(ip:192.1.68.1.144) router2 -> (ip:10.0.0.101) FS server
Explanation of above line;
router1 has external-ip:62.195.45.192
router1 gives router2  external-ip:192.1.68.1.144
router2 gives FS server internal-ip:10.0.0.101

When I connect to localphone.com with Asterisk, I see:
Device name: Asterisk PBX 1.6.2.7
Status: Online
Received IP address: 62.195.45.192
Contact IP address: 62.195.45.192  <----------!!

When I connect to localphone.com with FS, I see:
Device name: FreeSWITCH-mod_sofia/1.0.head-git-0675b59.....
Received IP address: 62.195.45.192
Contact IP address: 192.168.1.144  <-----------??

It looks to me that the one way audio has to do with the Contact IP address:192.168.1.144 (???)
Is it possible to change a setting in FS so that Localphone.com will get Contact IP address: 62.195.45.192 ? (may be this solves the problem)

(I don't think (?) it has to do with port-forwarding, since all audio is ok with Asterisk)

Rgds.











_______________________________________________
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