Freeswitch under NAT

From Kolmisoft Wiki

Jump to: navigation, search

If your M2 box is under NAT, you should edit /usr/local/freeswitch/conf/sip_profiles/external.xml file (find these lines in file):

<param name="ext-rtp-ip" value="auto-nat"/>
<param name="ext-sip-ip" value="auto-nat"/>

And change 'auto-nat' to your real external IP, for example, if your external IP is, these lines should look like this:

<param name="ext-rtp-ip" value=""/>
<param name="ext-sip-ip" value=""/>

Forward SIP and RTP ports (UDP 5060, 10000-20000) on your firewall to this Freeswitch machine.

Restart Freeswitch:

service freeswitch restart
Personal tools


Try M2