Call Us Today! 877.742.2583




Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Some routers offer an Application Layer Gateway feature which can prevent FreeSWITCH NAT traversal from working. See the ALG page for more information, including how to disable it.

 


Expand
titleClick here to expand Table of Contents


Panel
borderColorlightgray
bgColor#f7f7f7
borderWidth1
borderStyledotted

Table of Contents
maxLevel3
outlinetrue
indent1em
excludeAbout
stylenone
printablefalse


...

Code Block
languagexml
themeEmacs
titleUser Directory Example
<user id="100" mailbox="100">
  <params>
    <param name="password" value="1234"/>
    <param name="vm-password" value="4321"/>
  </params>
  <variables>
    <variable name="sip-force-contact" value="NDLB-connectile-dysfunction"/>
  </variables>
</user> 

 


NDLB-connectile-dysfunction

 


  • Rewrites contact IP and port to that of the NAT device by looking at IP address:port info from the packets reaching FreeSWITCH. 
  • Forces REGISTER expiry to 30 seconds. (Unless sip-force-expires is set)

This is similar to the way Asterisk tries to deal with NAT traversal.

 



NDLB-tls-connectile-dysfunction

 


  • Rewrites contact port

NDLB-connectile-dysfunction-2.0

...

Code Block
languagexml
themeEmacs
titlevars.xml
<X-PRE-PROCESS cmd="set" data="bind_server_ip=my.domain.com"/>
<X-PRE-PROCESS cmd="set" data="external_sip_ip=stun:stun.freeswitch.org"/>
<X-PRE-PROCESS cmd="set" data="external_rtp_ip=stun:stun.freeswitch.org"/>
<X-PRE-PROCESS cmd="set" data="add_ice_candidates=true"/>

host:domain.example.com is another possible value; however this will not toggle the autonat flags.

...