Freeswitch under NAT

From Kolmisoft Wiki
Revision as of 08:49, 28 December 2015 by Gilbertas (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to 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 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