VICIfast
ENES
Guides & tutorials

Upgrading a VICIdial cluster without losing your custom changes

Upgrading VICIdial replaces its files, so your edits vanish unless you merge them. How to list every change on every machine and keep them through an upgrade.

VICIfast Support
··3 min read
Upgrading a VICIdial cluster without losing your custom changes

Two years ago someone added a button to your agent screen. Agents use it all day. Then you upgrade VICIdial, and on Monday morning the button is gone.

Nothing broke. That's how upgrades work, and a cluster gives a change more places to disappear from.

Why an upgrade erases your changes

Upgrading VICIdial replaces its files with the new revision's files. If you edited one of them, say the agent screen page or a script that handles calls, your edit is overwritten along with everything else. VICIdial has no idea which lines were yours.

An upgrade has other steps too, and the order matters. Our walkthrough on how to upgrade VICIdial safely covers the full sequence. The part that bites people later is the custom changes.

On a cluster, changes live on more than one machine

A single server keeps everything in one place. A cluster spreads it out, as our guide to VICIdial clusters explains:

  • The database and web machine serves the admin pages, the agent screens and the reports. Edits to any of those live here.
  • Each dialer runs Asterisk and handles the calls, so changes to call handling, such as the Dialplan (the rules that route each call), live on every dialer.
  • Some changes sit outside VICIdial's files altogether: a database index, network settings on the dialers, the hang-up rules on agent phones and trunks.

Every dialer has to match. Merge a change onto two dialers and forget the third, and a third of your agents get the old behaviour. The fault looks random, because it follows whichever dialer an agent's phone landed on.

Make the list before you touch anything

Start with an inventory. Compare each machine's VICIdial files with the stock files of the revision you run, and write down every difference: which file, which machine, what it does, and who asked for it.

Then add the changes that live outside VICIdial's files, so the test after the upgrade checks them too. On the clusters we build, three are always on that list:

  • A phone-number index on the call log. Without it, a lead search by phone reads the whole call log; on one floor that meant 4–12 second dialer freezes (the missing index, explained).
  • Network buffers sized for hundreds of calls. One 60-agent server on the default sizes threw away 458,000 voice packets in four days.
  • A two-minute no-audio hang-up on every agent Softphone and every SIP trunk, so a dropped browser phone can't leave customers connected to silence.

Merge onto the new files, then test end to end

Don't copy your old file over the new one. Your old file is the old revision plus your change, so copying it back undoes whatever the upgrade fixed in that file.

Take the new file and apply your change to it again. That's a merge: you keep your change and the new revision's fixes.

Then run the new revision on a test server before any floor sees it. Test it end to end, the way agents work: log in, take a call, pick a Disposition, do a 3-way, pull a report, and use every change on your list.

flowchart TD
  A[List every change on every machine] --> B[New revision on a test server]
  B --> C[Merge each change into the new files]
  C --> D[Test end to end]
  D --> E{Everything on the list works?}
  E -- no --> C
  E -- yes --> F[Wait until nobody is logged in]
  F --> G[Upgrade every machine]
  G --> H[Test calls, then check the list again]

Upgrade the cluster only when nobody is logged in, and move every machine to the new revision in the same window, so no dialer runs a different version from the database and web machine. Afterwards, make test calls before the floor logs in and walk the list once more: every change, on every machine.

This is how we upgrade the clusters we run. A new revision runs on our demo server first and is tested end to end, changed files are merged with the new version, and servers move only when nobody is logged in.

Frequently asked

› Does upgrading VICIdial delete custom changes?
It replaces VICIdial's files, so any edit inside those files is overwritten unless you merge it into the new version.
› Can I copy my old file back after the upgrade?
No. That brings back the old revision of the file and undoes the upgrade's fixes in it. Apply your change to the new file instead.
› When should a VICIdial cluster be upgraded?
When nobody is logged in, after the new revision has been tested end to end on a separate server.

The same rules hold on a single server, which is where most floors start; our plans cover that. If you're planning a cluster, book a sizing call and bring your list of custom changes with you.

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. “Upgrading a VICIdial cluster without losing your custom changes”. VICIfast LLC, November 23, 2026. Retrieved from https://vicifast.com/blog/upgrade-vicidial-cluster-keep-custom-changes

Have questions?

Related posts

You might be interested in

Comments

Comments are reviewed before they appear. We never publish your email.

No comments yet - be the first.