SIP ALG: what it is and how to disable it

What is SIP ALG?

SIP ALG (Application Layer Gateway) is a feature on many routers that tries to inspect and rewrite VoIP (SIP) traffic to help devices behind NAT. It is on by default on many routers and is frequently implemented poorly.

Why it causes problems

A broken SIP ALG rewrites SIP packets incorrectly, which causes:

  • Phones that will not register, or that register intermittently.
  • Incoming calls that never ring.
  • One-way or no audio.
  • Calls that drop after a short time.

What to do

  1. Log in to your router (usually at 192.168.1.1 or 192.168.0.1 — check your default gateway).
  2. Find the SIP ALG (or SIP passthrough / SIP transformations) setting and turn it off.
  3. Reboot the router, then the phone.

Where the setting is on common routers

RouterHow to disable SIP ALG
AsusAdvanced Settings → WAN → NAT Passthrough → disable SIP Passthrough
BT Home Hub / Sky Hub / Virgin SuperHub / Fritz!BoxCannot be disabled in the interface — use the workarounds below
D-LinkAdvanced → Application Level Gateway (ALG) → untick SIP
DrayTekNetwork → NAT → ALG (or sys sip_alg 0 via telnet)
Huawei (EE / TalkTalk / Vodafone)Security → SIP ALG Settings → untick Enable SIP ALG
MikroTikDisable the SIP Helper
NetgearWAN setup → untick SIP ALG
TalkTalkPort Forwarding → untick SIP-ALG
TP-LinkAdvanced Setup → NAT → ALG → untick SIP
ZyXELNetwork or Advanced → ALG → untick Enable SIP ALG

If you cannot disable SIP ALG

  • Enable TLS on the phone — this encrypts SIP signalling so the ALG cannot inspect it.
  • Or replace the router with one that lets you disable SIP ALG.
ArmourTel · www.armour.tel · support@armour.tel