Difference between revisions of "Freeswitch under NAT"

From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with '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…')
(No difference)

Revision as of 08:49, 28 December 2015

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 1.2.3.4, these lines should look like this::

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

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

Restart Freeswitch:

service freeswitch restart