NAT and SIP ALG

NAT and SIP ALG

NAT Traversal
NAT can interfere with SIP and RTP by changing the ports on the way through. To counter we enable NAT traversal by default therefore communicating directly to the port that sent us the original RTP traffic (instead of sending back to the RTP port in the SIP message). For SIP registrations therefore you should normally disregard any IP address and ports shown in the SIP message as in reality they are rarely the ones used.

Firewall Behind NAT
You can generally disable firewall rules if behind NAT as they they shouldn’t be required. However, if port forwarding [SIP and RTP] selecting an appropriate RTP range can be complicated. In this scenario you may need to disable NAT.

SIP ALG
For incoming calls, if you’re users are reporting ringing with no voice on answer you’ve probably encountered a SIP ALG issue on your router.  See our guide on Disabling SIP ALG on various brands of router.

If you are unable to access the router and therefore disable SIP ALG, consider switching your phone or PBX to TLS encryption (preventing SIP ALG) by changing the following two settings on your handset or IP-PBX.
  1. proxy: phone.techconnections.co.nz
  2. port: 5061
  3. Transport: TLS
    • Related Articles

    • Disabling SIP Application Layer Gateway (ALG) functionality

      If you are experiencing one way voice particularly on incoming calls the most probable cause is SIP ALG. While originally designed to resolve a NAT related problems, with no standard implementation many routers and software based firewalls corrupt ...
    • Why can’t I register my VoIP device?

      Firewalls and Interfering routers are the most common cause of SIP registration failure with your VoIP device where the firewall/router blocks incoming traffic required by our SIP registration process. Remember that the process of any SIP ...
    • SIP Registration, Peering and IAX2 explained

      Tech Connections supports SIP registration, SIP peering and IAX2 registration to connect your VoIP service. SIP Registration The simplest of the three connection types “Registration” is used to connect IP phones and some IP-PBX machines to our hosted ...
    • Tech Connections generic SIP settings for connecting a SIP compliant device to our service

      Customers with their own SIP enabled phone, gateway or PBX are free to use this to connect to Tech Connections's service. The device must be SIP v2 compatible. Refer to the settings below for a guide to how you should configure your device to connect ...
    • How to Setup Faxmail

      Quick Guide – Sending a fax Our fax-mail service allows “approved” email addresses to send faxes via our service. Before you can send or receive faxes follow the Quick Guide below to configure approved senders & receivers. Fax type: We support PDF, ...