How to turn off SIP ALG on your router
SIP ALG rewrites phone traffic in the router and causes one-way audio, dropped calls and phones that stop ringing. How to turn it off, router by router.
Turn off SIP ALG when calls have one-way audio, phones stop ringing after a while, incoming calls go straight to voicemail, or calls drop soon after they connect. SIP ALG is a router feature that rewrites the messages phones use to set up calls. The Telxpress phone system and its phones already handle that themselves, so the router's changes break calls instead of helping them.
Before you start
- You need the administrator login of the router or firewall.
- The change can drop calls in progress, so make it when the lines are quiet.
- Afterwards, restart each phone (unplug it for ten seconds) so it connects again through the new settings.
SonicWall
This is also what our phone system's supplier recommends for SonicWall.
- On SonicOS 7, open Network, then VoIP, then Settings. On SonicOS 6.5, open Manage, then VoIP.
- Turn on Enable consistent NAT.
- Turn off Enable SIP Transformations, and accept the change.
- Open the access rules (Policy, then Access Rules on SonicOS 7), edit the rule your phones use to reach the internet (LAN to WAN, or the zone the phones are in), and raise its UDP timeout from 30 to 120 seconds.
SonicWall's own article lists the same steps: How and when to disable SIP ALG.
Fortinet FortiGate
FortiGate inspects calls by default. Fortinet documents how to stop it when a phone provider asks: delete the SIP session helper, set the VoIP ALG mode to kernel helper, take the VoIP profile off the firewall policy, then clear the sessions on port 5060, which drops calls in progress. The steps are in Fortinet's administration guide. Check again after a FortiOS upgrade: Fortinet notes that an upgrade from 7.0 can turn SIP inspection back on.
NETGEAR
- Sign in to the router and open Advanced, then Setup, then WAN Setup.
- Tick Disable SIP ALG and apply. NETGEAR describes it in How do I disable SIP ALG on my NETGEAR router.
On the PR60X business router the switch is under Firewall, then Basic Settings: turn Enable SIP ALG off.
Routers with nothing to turn off
- Ubiquiti UniFi gateways do not apply a SIP ALG, according to Ubiquiti's own requirements page.
- Cisco Meraki MX has no ALG at all (Meraki's VoIP notes).
- pfSense has none built in. Do not add the siproxd package for the phones: Netgate advises it only when absolutely required.
A gateway from your internet provider
On a gateway from Comcast Business, Spectrum or AT&T, the setting may not be in the menus at all. Ask the provider to turn SIP ALG off, or to set the gateway so that a firewall you manage does the routing.
After the change, test a call in both directions, then an incoming call to a phone that has sat idle for fifteen minutes. If the sound is still poor, see how to fix choppy, one-way or dropped calls and the firewall and QoS settings for VoIP phones.