Telecom Glossary

What Is SIP ALG?

A plain-English guide to the router setting behind many one-way audio and dropped-call complaints: what it does, why it often breaks VoIP and how to decide whether to turn it off.

SIP ALG (Session Initiation Protocol Application Layer Gateway) is a feature in many routers and firewalls that reads VoIP call signaling as it passes through and rewrites the private IP addresses and ports written inside it, so that calls can cross network address translation (NAT). It was designed to help phones work behind a router, but when its changes clash with how the phone provider already handles NAT, the usual results are one-way audio, calls that drop at the same point every time and phones that stop receiving calls, which is why many VoIP providers ask customers to turn it off.

The feature is switched on by default on many devices and is rarely labeled in a way that explains what it does. If your office phones run over the internet, as any VoIP handset or hosted phone system does, it is one of the first settings worth checking when calls misbehave in ways that sound like a network problem but are not caused by a slow connection.

Why SIP has trouble with NAT

Almost every office uses private addresses inside its network. The firewall or carrier gateway translates them to a public address on the way out, and translates replies back on the way in. For web browsing and most cloud apps this works without anyone noticing, because NAT only has to rewrite the address on the outside of each packet.

SIP, the protocol most business phones use to set up calls, is different in two ways:

  • Addresses travel inside the message. When a phone starts or answers a call, its SIP message includes a description of where it wants to receive audio: an IP address and a port. Behind NAT, that is a private address the far end cannot reach.
  • Audio travels separately. The voice itself moves in a separate stream (RTP) on ports agreed during call setup. A firewall that only tracks the signaling connection does not know those ports exist, so it may block the audio coming back.

Without some kind of fix, the call connects and both phones show it as active, but audio from one side is sent to an address that does not exist on the internet. The caller hears the other party, and the other party hears silence.

What an ALG does

An application layer gateway is a helper inside a firewall that understands one specific protocol and adjusts traffic for it. A SIP ALG watches for SIP messages, swaps the private addresses inside them for the public address, and opens temporary openings, often called pinholes, for the audio ports it sees agreed in each call. When the phone system has no NAT handling of its own, this can make calls work that otherwise would not.

Vendors use different names for the feature, such as SIP helper, SIP inspection or SIP fixup, and some firewalls have more than one SIP-related setting. The name on the screen matters less than what the setting does to the messages.

Why SIP ALG often breaks calls

Most hosted phone providers solved the NAT problem on their own side years ago. Phones register outward to the provider and keep that connection open, and the provider's servers or session border controller send audio back to the address the packets actually came from, whatever the phone wrote inside its messages. When an ALG also rewrites those messages, two fixes collide. Common causes of trouble:

  • The ALG rewrites some addresses in a message and misses others, so the two ends disagree about where audio should go.
  • It closes a pinhole sooner than the phone expects, so inbound calls stop arriving until the phone registers again.
  • It mishandles messages sent in the middle of a call, such as hold, resume and transfer.
  • Two devices in a row, such as a carrier gateway and your own firewall, both run an ALG and both rewrite the same message.
  • It does not recognize SIP on a non-standard port, or when signaling is encrypted with TLS it cannot read the messages at all, so its behavior becomes hard to predict.
SymptomHow SIP ALG can cause itOther common causes
One-way or no audioAudio address rewritten wrongly, or the return path never openedFirewall rules, double NAT
Calls drop at the same point every time, often around 30 seconds inA signaling reply is altered or lost, so the call is never confirmedFirewall session timeouts
Phones can dial out but not receive callsThe opening used for registration is closed early or rewrittenRegistration interval longer than the firewall's timeout
Hold, resume or transfer failsMid-call messages rewritten inconsistentlyProvider or phone settings
Phones flip between registered and unregisteredRegistration messages altered or timed outUnstable connection, power over Ethernet problems

Choppy or robotic audio is usually a different problem: packet loss, jitter or a full upload. Our guide to VoIP call quality troubleshooting matches each symptom to its likely cause.

Should you turn SIP ALG off?

Often, yes. Many VoIP providers recommend turning it off and allowing the specific addresses and ports their platform uses instead. That said, the right setting depends on the provider and on the firewall. A few setups still rely on the ALG, for example older phone systems with no NAT handling of their own, and some business firewalls have a more complete SIP feature that a provider may ask you to keep. Ask your provider for its guidance for your exact device, and get it in writing before install day.

Turning SIP ALG off does not open your network. The firewall still blocks unsolicited inbound traffic; it simply stops editing phone signaling. Two practical notes: changes often take effect only after the firewall clears existing sessions or the phones register again, and a firmware update or factory reset can turn the feature back on. Our small business firewall guide covers how to keep firewall settings documented and backed up.

How to check whether SIP ALG is the problem

  1. Match the symptom against the table above. If audio is choppy rather than missing, look at the connection first.
  2. List every device that translates addresses between the phones and the internet: the carrier's gateway, your own firewall and anything else in the path. If a connection sits behind carrier-grade NAT, there is another translation layer you cannot configure, which is worth knowing when calls fail only on that line.
  3. Check the SIP setting on each device. If the gateway belongs to the carrier, ask the carrier rather than changing it yourself.
  4. Change one device at a time, following the provider's guidance, then restart the phones or let them register again.
  5. Test properly: inbound and outbound calls, hold, transfer, a call longer than five minutes, and calls from both wired phones and Wi-Fi softphones.
  6. Write the setting down in your network notes, so the next firmware update or replacement firewall does not quietly undo it.

SIP ALG vs a session border controller

Both deal with SIP crossing a network edge, but they are built for very different jobs.

SIP ALGSession border controller
What it isA feature inside a general-purpose router or firewallA dedicated device or service built for voice
How it handles NATRewrites messages as they pass, using built-in rulesTerminates each call and rebuilds it by configured rules
ControlUsually on or off, with few optionsDetailed settings per trunk or provider
Security roleLittle beyond the firewall's normal filteringLimits who can reach the phone system and blocks toll fraud attempts
Typical useSmall offices with simple setupsOn-site phone systems connected through SIP trunking, and larger deployments

Where an SBC or a phone system with its own NAT handling is in place, an ALG in front of it is more likely to interfere than to help.

What to ask your phone provider before install

  • Should SIP ALG be on or off on our firewall, and on the carrier's gateway?
  • Which addresses and ports do your phones use for signaling and for audio?
  • Do you encrypt signaling and audio, and does that change your firewall guidance?
  • How often do phones re-register, and what idle timeout should the firewall use for them?
  • Does your service work on a backup connection that uses carrier-grade NAT?

The answers vary between hosted phone systems, where phones register straight to the provider, and UCaaS and SIP voice services that connect to an existing phone system.

How FiberX helps

When FiberX quotes phone service, we ask each provider for its firewall guidance, including the SIP ALG setting and the addresses and ports to allow, and we check how the carrier's equipment on the internet circuit will be set up, so the phones and the connection are planned together. We get quotes from several carriers, and the carrier pays us, so there is no markup. Request a quote, or call or text 478-758-8091.

// QUESTIONS

Frequently Asked Questions

01What does SIP ALG stand for?

SIP ALG stands for Session Initiation Protocol Application Layer Gateway. It is a router or firewall feature that inspects and rewrites the signaling messages VoIP phones use to set up calls.

02Is it safe to disable SIP ALG on my router?

Generally, yes. Turning it off stops the router from editing phone signaling, and the firewall keeps blocking unsolicited inbound traffic as before. Follow your phone provider's guidance on which addresses and ports to allow.

03Why does SIP ALG cause one-way audio?

The ALG rewrites the address where each phone wants to receive audio. If it gets that address wrong, or clashes with the provider's own NAT handling, audio from one side is sent somewhere it never arrives.

04Will turning off SIP ALG fix choppy VoIP calls?

Usually not. SIP ALG problems show up as missing audio, dropped calls or failed transfers, while choppy audio normally comes from packet loss, jitter or a congested upload on the connection.

05Can SIP ALG turn itself back on?

It can. A firmware update, a factory reset or a replacement router may restore the default setting, so check it after any change to the device and keep the setting in your network notes.

06Should SIP ALG be off for a SIP trunk?

In many cases, yes, because the phone system or a session border controller usually handles NAT for the trunk itself. The trunk provider's guidance for your equipment is the final word.

// FREE · NO OBLIGATION · SAME-DAY RESPONSE

Want This Priced for Your Address?

Reading is cheap; a real number for your building is better. Pick a time below, or call and we will talk it through.

EMAIL INFO@FIBERXINTERNET.COM · TEXT (478) 758-8091

FIBERX · APPOINTMENT CONSOLE
Book an Appointment

Talk to Phil. Pick a Time.

A quick call with your dedicated agent — internet quotes, AI automation, or both. No obligation, same-day response.

Pick your 30-minute slot ALL TIMES ET
or call 478-758-8091

REQUEST GOES STRAIGHT TO PHIL · SAME-DAY CONFIRMATION

Call now · same-day478-758-8091