SIP ALG

From XMission Wiki
Jump to: navigation, search

XMission Voice and SIP ALG

Using XMission Voice on a different Internet service or through your own router can create quality issues with your voice services. This is often caused by a software protocol called SIP ALG or SIP HELPER depending on the equipment being used. XMission requires this build in protocol to be disabled in order to ensure service is properly working.

What is SIP ALG/HELPER?

This protocol assists with rewriting voice traffic to show that it is being NATed. In other words, instead of headers being sent the call is coming from an IP address of:

  • 10.x.x.x
  • 192.168.x.x
  • 172.16.x.x

This shows the public IP address when the call is coming from the router's public IP address (IE: 166.70.x.x)

SIP-ALG-packets.png

Using the image above, you can see how Internet traffic sends voice calls with and without SIP ALG/HELPER. The highlighted area is where the traffic gets changed.

Why SIP ALG/HELPER is not needed

Most voice providers (including XMission) have a public switch or server that is a go-between. In other words, the Telephone Adapters (TAs) or IP Phones that are provided by XMission connect to this switch prior to reaching the actual voice system to make and receive phone calls. Because we are configured for this, calls are by default tagged with a public IP address and do not require one from your equipment.

What happens with SIP ALG/HELPER?

Having SIP ALG enabled on your equipment can make it so the onsite equipment drops the registered device (TA) during the ringing process of phone calls. When this happens the following could be true:

  • One-way audio: The caller not using XMission Voice can be heard, but the XMission Voice user cannot be heard.
  • Outgoing calls fail: Calls get 404 or dead air when trying to dial out. Most calls don't even reach call.xmission.com call history.
  • Incoming calls fail to ring: The signal to tell the handset to ring on incoming calls is blocked and callers end up going to voicemail.
  • Device registration fails entirely.

How to disable SIP ALG/HELPER?

This protocol is typically found inside the web interface of your personal router/firewall under the advanced settings. It can often be found under:

  • NAT forwarding
  • QoS
  • Security
  • Firewall
  • WAN settings

Please review the following to disable the protocol:

TP-Link Archer Routers (Archer Series):
  1. Log in to routers web interface (tplinkwiki.net)
  2. Click on Advanced
  3. Locate NAT Forwarding (or Firewall)
  4. ALG
  5. Uncheck "Enable SIP ALG"
  6. Save
Netgear Router (with Genie):
  1. Log in to router web interface (routerlogin.net)
  2. Click on Advanced
  3. Locate the Setup Menu
  4. Click WAN Settings (or Setup)
  5. Uncheck the "Enable SIP ALG"
  6. Save
Asus Routers (with ZenWiFi):
  1. Log in to routers web interface (router.asus.com)
  2. Click on WAN under Advanced Settings
  3. Click on NAT Passthrough Tab
  4. Select Disabled on SIP Passthrough
  5. Apply
Linksys/Cisco Routers (with Smart Wifi):
  1. Log in to router web interface (192.168.0.1 unless otherwise LAN IP has been changed)
  2. Click on Administration
  3. Under the Management Tab
  4. Select the Disabled button
  5. Save
  • For unlisted routers, please contact XMission Support for additional help.