VICIdial call quality, end to end: choppy audio, dropped browser phones, lagged agents and where each one comes from
Choppy audio, dropped browser phones and LAGGED logouts start in different places. How each one travels, what we measured on real floors, and the order to check.

Your agents say calls sound choppy. The browser phone dropped twice before lunch, and at one point half the floor got logged out as LAGGED in the same second.
It's tempting to treat all of that as one problem with one fix. On the floors we run it is usually three problems, and each starts in a different place. Below is how the audio and the agent screen travel, the thresholds we use to call a line good or poor, and the cases we measured that showed where each fault really sat.
How the audio and the agent screen travel
An outbound call has two audio legs, and they meet on the dialer, the server running Asterisk. The carrier leg runs from your SIP trunk to the dialer. The agent leg runs from the agent's phone to the dialer. VICIdial joins the two in a conference on the dialer.
Each leg carries audio both ways as RTP packets, the small stream of voice packets behind every call. "The agent hears gaps" and "the customer hears gaps" are two different directions. On the floors we've checked, they often had two different causes.
flowchart LR
C[Customer] --- K[Carrier]
K ---|carrier leg| D[Dialer conference]
A[Agent browser phone] ---|agent leg| D
D --> R[Recording and listen-in]
S[Agent screen] -->|asks every second| W[Web server]
W --> L[LAGGED check]The Webphone on our servers is a browser phone (WebRTC) inside the agent screen. It registers to the dialer over a secure WebSocket on port 8089, and its audio goes straight between the agent's browser and the server, encrypted. The server offers it Opus, G.722 and G.711. If you want to know how it is set up, our webphone page covers that.
The agent screen is a separate web page. It asks the web server for news every second; on one floor we measured, that polling made up 87.5% of all web requests. A browser keeps up to 6 connections open to each server. On a cluster the screen comes from the web server and the phone registers to a dialer, so the two can fail separately, as where agents connect in a cluster explains.
What recordings and listen-in can't show
Call recordings are made on the server, from the audio that reached the server. A supervisor listening in from the dashboard hears the server's mix too. So neither one shows audio lost after it left the server, on the way to the agent or on the way to the customer.
Loss on the way in does show. If the agent's audio or the carrier's audio lost packets before reaching the server, you hear the gaps in the Call recording. A clean recording only proves the server received clean audio.
What we count as a good, fair or poor line
The call-quality check we run reads the agent's browser phone every 10 seconds. It takes the Packet loss on the way to the agent, the Jitter (how unevenly the packets arrive), and the share of audio the browser had to make up because nothing arrived in time. From the server's RTCP reports it adds the share of the agent's own audio the server lost, plus the round trip. For agents on other phones, such as stock VICIphone or a desk Softphone, it reads the same figures from the server once a minute.
| Grade | What puts a line there |
| Poor | Packet loss over 1.5% in either direction, or jitter over 30 ms |
| Fair | Loss over 0.5%, or jitter over 15 ms, or MOS under 4 |
| Good | Everything else |
| Distance | Round trip of 300 ms or more, flagged on its own |
MOS (mean opinion score) is a score from 1 to 4.5 that we compute with the ITU-T E-model from the round trip, the jitter and the worse direction's loss. We take the worse direction on purpose, because either side hearing gaps makes a bad call. The distance flag catches lines with no loss where people still start talking over each other.
A line counts as gone bad when 3 of the last 5 minutes are poor, and as fine again after 5 clean minutes. We judge one-minute dips across a floor separately: at least 3 phones measured at one site and at least half of them poor in the same minute. We added that rule because a dip that lasts one minute never meets the 3-of-5 rule.
How often calls actually sound bad
On an office floor of 40 to 70 agents, all on our webphone and all behind one office internet connection, the first morning we measured covered 54 phones and 7,688 phone-minutes. 9% of those phone-minutes were poor. Over about a day and a half on the same floor, 72,184 calls were scored and 10.1% had poor audio.
A 20-agent floor of home agents, each on a different home internet provider, came out worse: 2,870 calls scored over one afternoon, 15.3% poor. In the first hours we measured, some home connections had more than half of their calls poor.
The averages hide how it happens. In normal minutes the office floor lost about 0.17% of packets. The bad share arrived in bursts.
Choppy, late or one-way: finding the audio fault
Before you touch a setting, count who is affected in the same minute. By "site" we mean the public internet address the phone reports from, such as one office.
- One agent bad while most of their site is fine: their PC, Wi-Fi, cable or headset.
- Most agents at one site bad at once: that site's connection or the route from it.
- A home agent with nobody to compare against: their own connection, desk and internet provider together.
- Every site and every server in the same seconds: the server or the datacenter's network.
When the whole office goes at once
Replaying one shift on the office floor found 30 floor-wide dips. The worst lasted 10 minutes, with 60 of 60 phones poor at 12.3% loss.
To find where that loss sat, we pinged from two places at once, one of our machines in Finland and one in Germany. With 0 agents logged in, loss to both the office's address and its internet provider's gateway jumped from 0 to 5–15% a minute, while a large public website answered every probe. Loss to the provider's own gateway, seen from two places with nobody on the floor, points at the office's line or its provider, not our servers.
We also sent five agents' audio through a TURN relay, a different network path to the server, for a full shift. In the office-wide poor minutes, relayed and direct phones both had a median loss of 2.7%. The relay added about 7 ms of round trip and fixed nothing, because the loss happened before the two paths split.
The general causes of broken-up audio are in diagnosing choppy or robotic audio, and what latency does to remote-agent audio covers the home-agent side.
When one agent sounds choppy
On a small floor, one agent's customers heard "every other word" while the server sat 94% idle and the path to that agent's home router showed 0% loss. Their line had 0% packet loss too, but a round trip swinging between 420 and 984 ms. Packets were arriving late and in bunches, not getting lost. That's lag, most likely a full upload or busy Wi-Fi in the home, and no server change touches it.
Direction matters as much as the count. On a 16-phone floor that reported choppy audio, Asterisk's per-call stats (pjsip show channelstats) showed carrier legs at 0% loss and agent-to-server audio at 0%. Server-to-agent loss was 2–4% on 6 of the 16 browser phones, on those agents' own networks.
The server can be the cause, but it shows. A busy server drops voice packets when Linux's default network buffers overflow, and a healthy one reads 0 on that counter; network buffers on a busy dialer covers that case. In our load test, 60 browser agent screens on a three-dialer cluster at 500 to 800 Concurrent calls lost 0 browser-phone packets. A healthy, correctly sized server does not make audio choppy.
When callers talk over your agents
A round trip of 300 ms or more is where people start talking over each other. An office in South Asia moved from a server far away to one in Germany, and the round trip from the office's own internet provider went from about 262 ms to about 118 ms.
That's a server-placement problem. No relay, buffer or Codec (the audio format a call uses) fixes it; choosing a cloud region is where it gets solved. We did test Opus forward error correction with 5% packet loss added, and the share of audio the browser had to make up stayed the same (4.38% against 4.35%), so we left the floor on stock Opus.
When the customer hears nothing on a new trunk
One-way audio on a new trunk looks like a dialer fault and often isn't. On one new SIP trunk, calls connected and the person called heard nothing. Per-call packet counts showed our side sending every packet to the exact address and port in the carrier's call setup (SDP). The carrier sent about 255 packets of ringback, then stopped.
It was fixed when the carrier turned off its own media proxy. Count packets each way per call before you change anything on your side. One-way audio on carrier calls, finding the cause of one-way audio and reading a carrier SIP trace cover the wider checks.
Dropped phones, LAGGED agents and frozen screens
A real drop or a logout?
Asterisk logs "Endpoint ... is now Unreachable" when a phone stops answering. The same line appears when an agent logs out or reloads, in the same second as the logout. So match them: a line with a logout in the same second is a logout, and a line without one is a real drop. One agent who "dropped 8 times" had 1 real drop and 7 logouts and logins.
When many phones drop together, compare logins, logouts and unreachable events per minute with the same window the day before, before blaming the server. Our webphone shows "Reconnecting" and redoes its Phone registration (signing in to the dialer) by itself when the network returns. For phones that never sign in at all, see when the webphone won't register; for drops spread across a shift, diagnosing intermittent agent disconnects.
A phone that vanishes without hanging up can leave a dead leg on the dialer. We set rtp_timeout=120, so a leg with no audio for two minutes is hung up; why customers get connected to silence tells that story.
The 30-second LAGGED rule
If the agent screen stops checking in for about 30 seconds, VICIdial pauses the agent with the LAGGED Pause code and logs them out. When one office's internet stopped, VICIdial logged out 40 agents as LAGGED 29 seconds later, all in the same second. VICIdial only sends calls to agents whose screen checked in recently, so a screen that has gone quiet stops getting calls.
The count over days tells you more than one bad hour. On the office floor, one morning brought 228 LAGGED logouts by mid-morning, against 14–36 in a whole day over the previous week and a half. Why agents get logged out as LAGGED explains the rule, and VICIdial's own reports show the detail: the Agent LAGGED Report, the LAGGED Summary Report, the Agent Latency Report and the Latency Gaps Report.
Screens that freeze for everyone
The office floor's screens froze about every ten minutes, for 1–5 minutes each time, for everyone at once. At one stall there were 959 open web connections, all from the office's one address, and 721 had received nothing for over 60 seconds. Most likely the office router had dropped those connections without closing them.
Apache's stock Timeout of 300 seconds let each dead connection hold a web worker, until 1,255 of 1,280 workers were taken and the server answered nobody. The clue was that admin pages opened from elsewhere but the agent page didn't. On that floor we set Timeout 20 with a request-read limit; workers fell from 1,238 to about 400 and the agent page answered in 0.004 seconds.
Our first guess had been a slow report. We fixed it, and the floor still stalled. In a stall, look at open connections and web workers before blaming database queries. The general checklist is in fixing a frozen agent screen, and why screens freeze on a busy cluster covers the database and Asterisk side.
Ghost sessions after a closed tab
Chrome 155 and newer block "unload" handlers by default, and VICIdial's agent screen logs the agent out from one. So a closed or refreshed tab drops the phone but leaves the Agent session (the agent's logged-in state) open with no phone. Across 40 of our servers over 7 days, 86% of agent logins came from Chrome 155 or newer.
Ghosts get no calls, so your drop rate is safe. The cost is phantom logged-in and paused time in reports and on the real-time screen, plus confused agents. The fix we use is an Apache header on the agent-screen pages that allows unload again, Permissions-Policy "unload=(self)".
The order we check things in
- Count who is affected in the same minute: one agent, one site, or everyone.
- Check the server in one minute: CPU idle and steal, the receive-buffer error counter read twice 10 seconds apart, and another agent's live call.
- Find the direction: loss to the agent, from the agent, or on the carrier leg.
- Tell loss from lag: 0% loss with a round trip swinging into seconds is queueing on the agent's line.
- Match each "is now Unreachable" line against the agent's logouts.
- Compare with the day before: LAGGED per day, logins in the same window, unreachable events per minute.
- If pings pass but connections die, suspect the office router. In one 5-minute test, 0 of 1,500 pings were lost while agents had to log in again 37 times.
- Take numbers to the office's IT or internet provider: times, loss per minute from two places, and loss to their own gateway.
In the cases above, the fault mostly sat outside the server, but you can only prove that once the server side is known to be clean. If you'd rather start from servers where rtp_timeout=120, the larger UDP receive buffers and KeepAliveTimeout 1 are already set, with a VICIdial engineer to read the numbers with you, start on a plan.
Frequently asked
- Recordings are made on the server from the audio that reached it, so they can't show loss on the way out to the agent or the customer. Loss on the way in does show as gaps.
- Not when the loss is on the office's own line. In our full-shift test, relayed and direct phones had the same median loss of 2.7% in the bad minutes.
- About 30 seconds without the agent screen checking in. At one office, 40 agents were logged out as LAGGED 29 seconds after its internet stopped.
› Why does the recording sound fine when the agent heard gaps?
› Will a TURN relay fix choppy audio from an office?
› How long before a lagged agent is logged out?
Related from VICIfast
- VICIdial explained, start to finishWhat it does, how it works, who makes it and what running it takes.
- The VICIdial webphone, in your brandA WebRTC phone inside the agent screen on every server, in your colours.
- The free VICIdial field guideArchitecture, sizing, storage and cost. No email wall on the contents.
- VICIdial hosting, every price publishedYour own VICIdial server, patched and monitored, billed per server.
About VICIfast
We run VICIdial servers for call centres, so you don’t have to. You get the dialer set up, secured and kept running — we handle the server, the updates and the backups. Bring your own phone carrier at no markup, or use VICIfast Voice, our own US calling and numbers, from $0.0085 a minute. From $49 a month per server.
Questions? Call +1 636 556 0022 and talk to someone who runs dialers.
Citing this article
VICIfast Engineering. “VICIdial call quality, end to end: choppy audio, dropped browser phones, lagged agents and where each one comes from”. VICIfast LLC, November 29, 2026. Retrieved from https://vicifast.com/blog/vicidial-call-audio-quality-guide
Have questions?
Related posts

Operations
Is it the server or the agent's internet? How to tell in five minutes

Operations
What a 3-minute office internet outage does to 40 browser phones

Operations
How long can an agent's internet drop before VICIdial logs them out?

Operations
Closed the tab, still logged in: Chrome's unload change and VICIdial ghost sessions
You might be interested in

Operations
A whole office behind one IP: the keep-alive setting that failed 1 in 10 connections

Operations
A dozen browser phones drop in four minutes: server fault or internet path?

Operations
Callers talking over your agents? Measure the round trip before blaming the line

Operations
How many calls have bad audio? What we measured on two VICIdial floors
VICIfast newsletter
Liked this? Get the next one in your inbox.
We ship the kind of stuff you just read - concrete, numbers-first, no drip. One email when a new post goes live. Unsubscribe in one click.
Comments
No comments yet - be the first.