I've got a FreeSwitch server up on Amazon EC2, ports wide open for my office external-IP, server iptables disabled, and changed the FreeSwitch ACL domains to "allow", so it's all wide open for now.<br><br>
In the office I'm trying to connect to the server from Bria/X-lite. I've entered a stun server (<a href="http://stun.freeswitch.org">stun.freeswitch.org</a>) and I can now call to the server, but not from the server. I read this page:<br>
<a href="http://wiki.freeswitch.org/wiki/Nat_stun_debug_irc">http://wiki.freeswitch.org/wiki/Nat_stun_debug_irc</a><br>which suggested adding this variable to the user config:<br> <a href="http://wiki.freeswitch.org/wiki/Natted_Softphone_ATA#NDLB-connectile-dysfunction">http://wiki.freeswitch.org/wiki/Natted_Softphone_ATA#NDLB-connectile-dysfunction</a><br>
<br>With that on I can now call to and from the server. However with or without that although I can hear audio from the server, audio to the server isn't arriving (doesn't appear in recordings), and dtmf doesn't get received either. <br>
<br>When I hang up from the client, I see in the CLI that it gets that instruction, so it hasn't started the call and lost all contact with the softphone, it's receiving some instructions, but not the audio and dtmf.<br>
<br>The problem is that both the server and client are each behind NAT, so either could be having the problem (on EC2 the auto-NAT doesn't work, so I've specified the external rtp and sip ip's.. I've also turned on aggressive-NAT in case that helps. Also I'm connecting to the server by a sub-domain (A-name) rather than IP.)<br>
<br>
I've got almost the same setup working fine on the internal network (same
dialplan and directory, and all the config is the same if it can be), so
it's got to be something to do with the NAT's.<br>
<br>Any suggestions on what the problem might be, or how to find it?<br><br clear="all">Cheers,<br>Fraser<br><br><br>