Call Us Today! 877.742.2583

Page tree

Versions Compared


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


  1. copy the external.xml and rename it doublenat.xml
  2. in doublenat.xml, change the profile name: <profile name="doublenat">
  3. add the <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
  4. add the <param name="ext-sip-ip" value="$${external_sip_ip}"/>
  5. add the <param name="force-register-domain" value="$${domain}"/>
  6. add the <param name="auth-calls" value="true"/>
  7. change port to 5090 ( make sure to change it on the phone as well )
  8. add the <param name="aggressive-nat-detection" value="true"/>
  9. add the <param name="apply-nat-acl" value="rfc1918"/>
  10. register the phone
  11. check to see if your phone is registered with the doublenat profile.

Code Block
sofia status profile doublenat


More in depth article at Nat


See Also



NAT- let FreeSWITCH do the work

NAT Traversal

External profile

Access Control List (ACL) About modifying NAT behavior when matching a certain access list

General NAT example scenarios - real-world examples

NAT - Network Address Translation

NAT traversal - user NAT traversal

sofia ext-rtp-ip settings