One-way audio is the most common complaint on any Asterisk-based system, including VICIdial and FreePBX. The call connects, the timer runs, but one side hears silence. Agents start talking over customers, customers hang up, and connect rates drop.
The good news is that one-way audio is almost never a mystery. In the large majority of cases the cause is how your server handles NAT and media (RTP) traffic. This guide walks through the checks in the order that finds the problem fastest.
Why one-way audio happens
A VoIP call uses two separate streams of traffic:
- SIP signaling (usually UDP port 5060) sets the call up and tears it down.
- RTP media carries the actual voice, on a range of UDP ports (on Asterisk, 10000–20000 by default).
Because signaling and audio travel separately, a call can connect perfectly while the audio fails in one direction. Inside the SIP messages, each side tells the other which IP address and port to send audio to. If your server sits behind a router and advertises its private address (for example 192.168.1.10), the carrier or phone sends audio to an address it can't reach. You hear them; they never hear you.
Step 1: Confirm which direction fails
Before changing anything, write down exactly what happens:
- Does it affect every call, or only some carriers, phones or agents?
- Inbound, outbound or both?
- Does the audio drop after about 30 seconds? (That usually points to a firewall or NAT timeout, not configuration.)
- Does it only fail on transfers or when a call is bridged to another party?
If every external call fails the same way, look at server NAT settings. If only remote agents are affected, look at their routers. If only transfers fail, look at direct media.
Step 2: Tell Asterisk its public IP and local networks
This single setting fixes most cases. Asterisk must know its public address and which networks are local, so it advertises the right address to the outside world.
With PJSIP
In your transport section (pjsip.conf, or the equivalent screen in FreePBX under Settings → Asterisk SIP Settings):
external_media_address= your public IPexternal_signaling_address= your public IPlocal_net= each private range, for example 192.168.0.0/16 and 10.0.0.0/8
With chan_sip (common on older VICIdial builds)
In the [general] section of sip.conf:
externip= your public IP (orexternhostif the IP is dynamic)localnet= your private rangesnat=force_rport,comediafor peers behind NAT
Reload SIP after the change and test again. If your server has a public IP directly on its network card (common with hosted VICIdial), these settings matter less, and you should move on to the firewall.
Step 3: Open the RTP port range
Check rtp.conf for rtpstart and rtpend. Then make sure the same UDP range is allowed through every firewall in the path: the server firewall (iptables, firewalld, or ViciBox's firewall zones), any cloud security group, and the office router if the server is on-site.
A common mistake is opening 5060 for SIP but forgetting the RTP range. The call connects, and then there is no audio at all, or audio in one direction only.
Step 4: Disable SIP ALG on routers
Many consumer and office routers ship with a feature called SIP ALG (Application Layer Gateway). It tries to rewrite SIP messages to "help" with NAT, and it usually breaks them instead. It is a classic cause of one-way audio for remote agents working from home.
Ask the agent to log in to their router and turn off SIP ALG (sometimes labelled "SIP Helper" or "SIP Passthrough"). On some ISP-supplied routers it can only be disabled by the ISP. Using a non-standard SIP port or a TLS transport also stops most ALGs from interfering.
Step 5: Check direct media and re-invites
By default, Asterisk may try to step out of the audio path once a call is bridged, so the two endpoints send audio directly to each other. If either side is behind NAT, this often produces one-way or no audio, especially after a transfer.
Set direct_media=no (PJSIP) or directmedia=no / canreinvite=no (chan_sip) on your trunks and phones. Keeping media flowing through the server costs a little bandwidth but makes audio far more reliable.
Step 6: Capture the call and look
If the problem is still there, stop guessing and capture a failing call:
- sngrep shows SIP messages as a ladder diagram. Open the INVITE and the 200 OK and look at the
c=(connection IP) andm=audio(port) lines in the SDP. A private IP there, on a call that goes to the internet, is your culprit. - rtp set debug on in the Asterisk CLI shows whether RTP packets are being sent and received for the call.
- tcpdump on the RTP range confirms whether audio packets arrive at the server at all.
If packets are sent but never received, the problem is upstream (firewall, router, carrier). If they arrive but Asterisk sends audio to the wrong address, it is a NAT setting on the server.
Other causes worth ruling out
- Codec mismatch usually causes failed calls or garbled audio rather than clean one-way audio, but check that both sides offer a common codec such as G.711 (ulaw/alaw).
- Audio dropping at 30–32 seconds often means a missing ACK because of a NAT or firewall issue on the signaling path.
- VPN or double NAT for remote agents makes everything above harder. A WebRTC softphone over HTTPS can avoid many home-network problems.
Quick checklist
- Public IP and local networks set correctly in PJSIP or chan_sip.
- RTP range in rtp.conf matches what the firewall allows.
- SIP ALG disabled on every router in the path.
- Direct media turned off on trunks and phones behind NAT.
- A failing call captured with sngrep and the SDP addresses checked.
Work through these in order and the "I can hear them but they can't hear me" tickets mostly disappear.
Need help with VICIdial, Asterisk or AI voice agents?
SmartAiCalls sets up, secures and supports calling systems for call centers and growing businesses. Talk to us or request a free demo.