SIP ALG: WHAT IS IT & HOW DO I DISABLE IT?
If you're experiencing issues with your VoIP phone service, SIP ALG could be the problem. We have good news ... this can be easily remedied.
This article will answer the following questions:
- What is SIP ALG?
- What are common signs that SIP ALG is affecting my VoIP calls?
- How do I disable SIP ALG?
WHAT IS SIP ALG?
SIP ALG stands for Application Layer Gateway. It is usually enabled by default on many commercial and residential Firewalls, Routers, or Modems. SIP ALG is a Network Address Translation tool that inspects SIP data packets and transforms or rewrites the Private IP addresses and Ports to Public IP Addresses and Ports. In theory this should not be a problem.
However, problems occur because many residential and even commercial Firewalls and Modems still do not fully understand SIP routing. This can cause some of the SIP data packets to either be delivered to the wrong destination, or not be delivered at all.
WHAT ARE SIGNS THAT SIP ALG IS AFFECTING MY CALLS?
Call issues can occur for a variety of reasons, but there are some common signs that can point to SIP ALG being the problem.
- Call Completion Issues - Difficulty making or receiving calls, or phone continues to ring after call is answered
- Dropped Calls - Calls unexpectedly end after having been successfully connected
- One Way Audio - One caller cannot hear the other
- Inconsistent Call Quality - Disruptions or delay while on a call
While these symptoms can be caused by other factors, such as a bad internet connection, if nothing else has resolved the problem disabling SIP ALG is worth a try.
HOW DO I DISABLE SIP ALG?
SIP ALG is enabled by default on most routers. Disabling it can help make sure calls go through smoothly and without interruption. To disable this setting, you will need to log into your router. Scroll down to find a list of the most standard routers, along with instructions to disable SIP ALG.
For most routers, you will need to log into your router with the admin password, locate the security settings, uncheck SIP ALG, save your changes, and reboot your router. More advanced firewalls may require additional modifications, such as port forwarding.
Router Manufacturer Steps to Disable SIP ALG
Actiontec
- Log into the router's web interface
- Select Advanced, then click Yes to accept the warning
- Click ALGs and remove the check to disable SIP ALG
- Click Apply
- Select Advanced, then click Yes to accept the warning
- Click Remote Administration
- Click the checkbox to Allow Incoming WAN ICMP Echo Requests
- Click Apply
Adtran
- Log into the router's web interface
- Expand the Firewall Data section
- Go to Firewall/ACLs
- Click ALG Settings
- Uncheck SIP ALG
- Click Apply
If you are using the terminal, enter the command: no ip firewall alg sip
Arris - most Arris broadband gateways
- Enter the gateway's IP address (192.168.0.1) into a web browser
- Log in with Username: admin and Password: motorola
- Select Advanced, then Options
- Uncheck SIP
- Click Apply
Arris BGW210
- Enter the IP address (192.168.1.254) into a web browser
- Authenticate using the password found on the router's sticker
- Select Firewall, then Advanced Firewall
- Toggle Set SIP ALG to off
- Turn off Authentication Header Forwarding
- Turn off ESP Header Forwarding
- Click Save
Asus
- Log into the router's web interface
- Locate Advanced Settings and select WAN
- Select NAT Passthrough
- Set SIP Passthrough to Disable
- Click Apply
AT&T: U-Verse Pace 5268AC Gateway
This gateway does not allow you to disable SIP ALG. Instead, configure your gateway to function as a modem, not a router. This means setting it to Bridge Mode. You will need to use another router that allows you to disable SIP ALG.
Cisco General & Enterprise-Class Routers
- no ip nat service sip tcp port 5060
- no ip nat service sip udp port 5060
Cisco PIX Routers
- no fixup protocol sip 5060
- no fixup protocol sip udp 5060
Cisco ASA Routers
- Locate ‘Class inspection_default’ under ‘Policy-map global_policy’
- Execute this command: no inspect sip
D-Link
- Log into the router's web interface
- Select Advanced Settings
- Locate Application Level Gateway (ALG) Configuration
- Uncheck SIP
- Click Save
D-Link DIR-655
- Log into the router's web interface
- Select Advanced and then Firewall Settings
- Uncheck Enable SIP
- Set both UDP and TCP Endpoint Filtering to Endpoint Independent
- Uncheck SIP from Application Level Gateway Configuration
- Click Save
Fortinet
Use the following commands from the CLI interface:
- config system session-helper
- show system session-helper
Find the SIP session instance, typically indicated by #12
- Delete #12 or the appropriate number
Confirm its deletion by executing this command:
- show system session-helper
Linksys Smart Wi-Fi (E-Series)
- Log into the router's web interface
- Select Connectivity
- Select Administration
- Under Application Layer Gateway, uncheck SIP
- Click Apply or Save
Linksys BEFSR41 Routers
- Log into the router's web interface
- Select Applications and Gaming on the Admin page
- Select Port Triggering
- Enter TCP as the Application
- Enter 5060 as the Start Port and End Port for the Triggering Range and Forwarded Range fields
- Check Enable
- Click Save
- Reboot
Linksys - Older Models
- Log into the router's web interface
- Select Admin, then Advanced
- Set SIP ALG to Disable
Mikrotik
SIP ALG is referred to as SIP Helper
- Use the company's Winbox software
- Navigate to IP, then Firewall
- Click on Service Ports and disable it through the GUI
If you are using the terminal, enter the command: /ip firewall service-port disable sip
Netgear with Genie Interface
- Log into the router's web interface
- Select Advanced
- Expand the Setup menu
- Click WAN Setup
- Check Disable SIP ALG
Netgear - Other Models
- Log into the router's web interface
- Under Security/Firewall, select Advanced Settings
- Disable SIP ALG
- Select Session Limit under Security/Firewall
- Increate the UDP timeout to 300 sec
SonicWall
- Log into the router's web interface
- Under System Setup, select VoIP
- Check Enable Consistent NAT
- Uncheck Enable SIP Transformations
- Click Accept
- Navigate to Firewall Settings, then Flood Protection
- Select UDP and change Default UDP Connection Timeout to 300 seconds
- Click Accept
Click here for SonicWall's support article.
TP-Link - Archer Series
- Log into the router's web interface
- Select Advanced
- Expand the NAT Forwarding menu
- Uncheck SIP ALG, RTSP ALG, and H323 ALG boxes
- Click Save
TP-Link - Older Models
- Use the Telnet client from the Command Prompt
- Enter the command: ip nat service sip sw off
UBEE
- Log into the router's web interface
- Select Advanced, then Options
- Uncheck SIP and RTSP checkboxes
- Click Apply
Ubiquiti UniFi Security Gateway
- Sign into your UniFi security gateway
- Select Routing & Firewall
- Select Firewall, hten Settings
- Toggle H323 and SIP to off
- Click Apply Changes
Ubiquiti Edge Routers (ER-x)
- Log into the router's admin interface, typically 192.168.1.1
- Use the Config Tree or a command line interface to disable SIP ALG
Ubiquiti Config Tree
- Select Config Tree
- Expand System, Conntrack, Modules, and SIP
- Click the plus sign next to Disable
- Click Preview
- Click Apply
Ubiquiti Command Line Interface
- From the Admin interface, choose CLI at the top right corner of the screen
- From here, you can also inrease UDP timeouts
- Enter these commands into the terminal:
- configure
- set system conntract modules sip disable
- set system conntrack timeout udp stream 300
- set system conntrack timeout udp other 300
- commit
- save
- exit
Verizon FiOS G1100
This gateway does not allow you to disable SIP ALG. Instead, configure your gateway to function as a modem, not a router. You will need to use another router that allows you to disable SIP ALG.
ZyXEL ZyWALL/USG60
- Log into the router's web interface
- Select Configuration and expand Network settings
- Select ALG
- Uncheck all boxes on the right side
- Uncheck Enable SIP ALG
- Uncheck Enable SIP Transformations
- Click Apply
ZyXEL C1000Z/C1100Z (CenturyLink)
- Log into the router's web interface
- Select Advanced Setup
- Select SIP ALG
- Toggle SIP ALG to Disable
- Click Apply
ZyXEL P600
- Telnet to the router (192.168.1.1) and enter the password (default password: 1234)
- Type 24 and press enter
- Type 8 and press enter
- Enter this command: ip nat service sip active 0
- Click Enter