The Patch Panel Deep dives for the people who run networks and phones

One-way audio, explained: NAT, SIP ALG and the RTP stream nobody is watching

The call connects, the phone rings, and one side hears nothing. Nine times out of ten the fault is a firewall rewriting, or failing to rewrite, an address it should have left alone.

Black IP desk phone with a coiled handset cord on a dark office desk
Photo: Julian Hochgesang / Unsplash

One-way audio is the most reported voice problem on almost every platform, and it is maddening because everything looks fine. Registration is green, the call shows as connected in the logs, both phones display a timer. And yet the caller is talking into a void.

The good news is that one-way audio has a short list of causes, and once you understand how SIP and RTP travel separately, the list becomes a checklist.

Signaling and media are two different conversations

A SIP call is really two flows.

  • Signaling (SIP) sets up, modifies and tears down the call. It travels between the phone and the PBX or provider, usually on UDP or TCP port 5060, or TLS on 5061.
  • Media (RTP) carries the actual audio. It travels on a separate, dynamically chosen UDP port, often from a range like 10000 to 20000, and sometimes directly between endpoints rather than through the server.

Here is the key detail: the address and port where each side wants to receive audio is written inside the SIP message body, in a section called the SDP. A typical line looks like this:

c=IN IP4 192.168.10.45
m=audio 16384 RTP/AVP 0 8 101

That phone is saying "send my audio to 192.168.10.45, port 16384." If the phone sits behind NAT, that private address is useless to anything on the internet. The far end dutifully sends audio to a private address it cannot reach, and the call has one-way audio.

Blue Ethernet cables plugged into a rack-mounted router switch with green link lights The edge router or firewall is where SIP ALG and NAT rewriting happen, and where most one-way audio starts. Photo: Albert Stoynov / Unsplash.

How the problem gets solved, and unsolved

There are three common ways the private-address problem gets fixed. Trouble starts when more than one of them acts at once.

  1. The server handles it (symmetric RTP, also called far-end NAT traversal). The PBX or session border controller ignores the address written in the SDP and instead sends audio back to whatever address and port the phone's audio actually came from. This is the most reliable approach and is what most hosted platforms do.
  2. The phone handles it (STUN, or a manually configured public address). The phone learns its public address and writes that into the SDP.
  3. The firewall handles it (SIP ALG). An Application Layer Gateway in the router inspects SIP packets and rewrites the addresses in the headers and SDP on the fly.

Option three is the troublemaker. SIP ALG implementations on consumer and small-business routers are frequently buggy. They rewrite some headers but not others, mangle TLS-free traffic in odd ways, break re-INVITEs during transfers and holds, or open the wrong pinhole for the return audio. When the server is also doing NAT traversal, the ALG's edits can actively mislead it.

If a hosted phone system is in play, the default answer to "should SIP ALG be on?" is no. Turn it off first, test second.

The UDP timeout problem

The second big cause is quieter. Firewalls keep a table of active UDP "connections" so they know where to deliver return traffic. Because UDP has no handshake, those entries simply expire after a period of inactivity, often 30 to 60 seconds on small firewalls.

If a phone registers and then sits idle longer than that timeout, the firewall forgets the mapping. An incoming call arrives and has nowhere to go, or the signaling arrives but the media pinhole is gone. Symptoms include phones that stop receiving calls after a while, calls that drop at exactly 30 or 32 seconds (the classic sign of a missing ACK), and audio that disappears after a hold.

The fixes are straightforward:

  • Set phone registration or keep-alive intervals shorter than the firewall's UDP timeout. Many platforms send SIP OPTIONS or small keep-alive packets every 15 to 30 seconds for this reason.
  • Or raise the firewall's UDP timeout for SIP and RTP traffic to a few minutes.
  • Prefer TCP or TLS transport for signaling where supported; connection-oriented sessions behave far better through NAT.

A troubleshooting sequence that actually converges

When a ticket says "they can't hear us," work through these in order.

Step What to check What it tells you
1 Does it happen on every call or only some? Every call points to firewall or config; some calls point to a specific route, carrier or transfer path
2 Which direction is silent? Inbound audio missing is usually a return-path or pinhole problem at the site
3 Is SIP ALG or "SIP inspection" enabled on the router? Disable it and retest before anything else
4 Does it start after hold or transfer? Re-INVITE handling, often ALG related
5 Does the call drop at about 32 seconds? The final ACK is not arriving; look at NAT and ALG again
6 Are RTP ports allowed outbound and their replies inbound? Restrictive egress rules can block the media range
7 Capture packets on the phone VLAN The SDP addresses and the actual RTP source addresses should line up with what the server expects

Step 7 sounds intimidating but is not. Mirror the phone's switch port, run a capture during a test call, and open it in Wireshark. Under Telephony, the VoIP Calls view will show you the SIP ladder diagram and each RTP stream. If you see RTP leaving the phone but nothing coming back, the far end is sending to the wrong place or your firewall is dropping it. If you see no RTP leaving the phone at all, the phone is the problem.

Configuration habits that prevent the ticket

  • Disable SIP ALG and any "SIP helper," "SIP inspection" or "SIP fixup" feature on every router in the path.
  • Put phones on their own VLAN with simple, explicit rules rather than relying on the firewall to guess.
  • Allow outbound UDP to your provider's documented signaling and media ranges, and let established replies back in.
  • Use the provider's recommended keep-alive and registration timers rather than device defaults.
  • Avoid double NAT where you can. Two layers of address translation double the number of tables that can expire or disagree.
  • After any firewall firmware update, test a call with hold and transfer. Updates have a habit of re-enabling ALG.

One-way audio feels mysterious because the failure is invisible from the phone. Once you picture the two separate flows and the address written inside the SIP message, it stops being a mystery and becomes a routine fix.