The Asterisk manager leak that builds up after dialplan reloads
On Asterisk 21 and 22, every dialplan reload can leave a manager subscription behind. On a VICIdial dialer that reloads all day, they add up until new calls are refused.
A dialer that has run fine for days starts turning away new calls, and agents' phones fail to register. The configuration looks right, the processor is calm, and nobody changed anything that morning. On Asterisk 21 and 22 there's a slow leak that fits this picture, and VICIdial feeds it all day without meaning to.
VICIdial reloads Asterisk more than you think
VICIdial writes much of Asterisk's configuration for you. With the server's Generate conf files setting on, it builds the Conf file entries from your phone and carrier records. When one of those records changes, the server is flagged under Rebuild conf files, the files are written again, and Asterisk is reloaded.
So every phone you add, every trunk you edit and every carrier change ends in an Asterisk reload, and the Dialplan is part of what gets reloaded. On a growing floor with an active admin, that's a lot of reloads, and each one is supposed to be harmless: read the new files, carry on.
What each reload leaves behind
VICIdial controls each dialer through the AMI (Asterisk Manager Interface), a connection that sends Asterisk commands and listens for what happens to every call. On Asterisk 21 and 22, while the old users.conf file is present, every dialplan reload leaks one manager subscription. Nothing cleans it up afterwards.
One leftover subscription costs nothing you'd notice. They don't go away, though, and they build up reload after reload. After days of reloads, they can trip Asterisk's overload protection, which turns away new calls and phone registrations.
flowchart TD
A[Phone or carrier record changes] --> B[VICIdial rewrites conf files]
B --> C[Asterisk dialplan reload]
C --> D{Old users.conf present?}
D -- no --> E[Reload is clean]
D -- yes --> F[One manager subscription left behind]
F --> G[Leftovers build up over days]
G --> H[Overload protection trips]
H --> I[New calls and registrations refused]Why it looks like something else
The timing is what makes this one hard to pin down. The failure arrives days after the reloads that caused it, so nothing in that day's change log explains it. The more often your team edits phones and carriers, the sooner it comes.
The symptoms point everywhere except the manager interface. When agents' phones drop and the next Phone registration is refused, it looks like a network problem. New calls failing look like a carrier problem. Neither sends you to the manager interface, which is where the leftovers are piling up.
In a cluster, it usually hits one dialer at a time. Each dialer runs its own Asterisk and collects its own leftovers, so one can trip while the rest carry on. In our layout that's up to 25 agents whose phones can't register, while the floor next to them looks normal.
Checking your own dialers
The trigger is narrow, so the check is quick. On each dialer, note the Asterisk version and whether the old users.conf file still sits in Asterisk's configuration folder. Asterisk 21 or 22 with that file present is the combination that leaks.
If you're choosing an Asterisk version for VICIdial in the first place, which Asterisk version VICIdial needs covers the trade-offs, and a safe order for database and Asterisk reloads helps when you do have to reload by hand.
On every server we run, this leak is already fixed. Our cluster page looks at every server every 10 seconds and shows each dialer on its own, so one that starts misbehaving stands out instead of hiding in a cluster-wide average. The cluster guide covers how each dialer fits into the whole.
Frequently asked
- No. The leak happens on Asterisk 21 and 22 while the old users.conf file is present. Each reload in that state leaves one manager subscription behind.
- One leftover subscription is harmless. It takes many reloads before they add up to enough to trip Asterisk's overload protection.
- Usually one dialer at a time, because each dialer runs its own Asterisk. New calls and phone registrations on that dialer are refused while the other dialers keep working.
› Does every Asterisk dialplan reload leak?
› Why does it take days to show up?
› Does it take down a whole VICIdial cluster?
If a single server is enough for now, see the plans. If you're running several dialers and want them watched and patched for you, size your cluster and see today's prices.
Related from VICIfast
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. “The Asterisk manager leak that builds up after dialplan reloads”. VICIfast LLC, November 23, 2026. Retrieved from https://vicifast.com/blog/asterisk-manager-leak-after-reloads
Have questions?
Related posts

Guides & tutorials
What a dialer server does in a VICIdial cluster

Guides & tutorials
How many dialer servers does a VICIdial cluster need?

Guides & tutorials
Why a VICIdial cluster should never run on one dialer

Guides & tutorials
Where agents connect in a VICIdial cluster: screen from one machine, phone from another
You might be interested in

Guides & tutorials
Why agent screens freeze on a busy VICIdial cluster

Guides & tutorials
Running out of conference rooms: why Leave 3-way fails on a busy dialer

Guides & tutorials
Why customers get connected to silence when an agent's browser phone drops

Guides & tutorials
Network buffers on a busy VICIdial dialer: where voice packets get lost
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.