Planning · · The Wafflr team

The phone system upgrade checklist: keep phones working

Two stacked server units in the live pocket of a three by three waffle grid

A phone system upgrade can go wrong in a place the server does not show you: the desk phones. The server restarts, the web interface loads and a test call from a softphone works, and then forty handsets turn out to be unable to fetch their settings because the address, port or certificate they were pointed at has changed. This phone system upgrade checklist (a PBX upgrade checklist, if you prefer) covers the day before, the upgrade itself and the morning after, and it applies whatever make of phone system you run.

Why desk phones are the fragile part

A desk phone does not keep its instructions for ever. When it starts, it works out where to fetch its settings, usually from an address supplied by your DHCP server (option 66) or by the manufacturer's redirection service, such as Yealink's RPS. It connects to that address, checks the server's certificate against its own list of trusted authorities and its own clock, downloads a configuration written for its model, and may then download new firmware. Every one of those steps depends on something an upgrade can change: the address, the port, the certificate, the template for that model, or the firmware the template expects.

For an example of what this looks like in practice, users of 3CX have started forum threads about phones that needed reprovisioning after an upgrade to version 20 and about Yealink phones whose firmware would not upgrade on version 20. Each is one administrator's account of their own system, not a statement about the product. The pattern is what matters: the server upgrade succeeded and the phones did not follow.

The phone system upgrade checklist

Work through three stages: before, during and after. The first is where most of the value is.

Before the upgrade

Do these the day before, not the hour before.

  1. Read the release notes for anything that touches the phones. Look for changes to provisioning addresses and ports, supported TLS versions, certificate handling, handset templates, minimum firmware, the operating system the new version needs, and anything removed. Release notes often bury these in the middle of a list of features, so read all of them and not just the summary.
  2. Write down how the phones find the server today. Record the provisioning address with its host name, protocol and port, where DHCP option 66 or a redirection service points, the certificate's issuer and expiry date, and the template and firmware version for each handset model. Keep the note somewhere that does not depend on the phone system being up.
  3. Count your handsets by model and firmware. A model that is several firmware versions behind is the likeliest to fail, because the new templates may assume newer firmware.
  4. Take two backups, and restore one. Take the phone system's own backup and an image or snapshot of the whole machine. Then restore the backup somewhere else. A backup that has never been restored is a hope, not a backup.
  5. Rehearse on a copy. Restore the backup to a spare machine or virtual machine on a network of its own, upgrade that, and point one handset of each model at it. Check first how your licence treats a test copy, because some licences are tied to a machine or an address.
  6. Agree the point of no return in advance. Write down the time by which, if the phones are not registering, you will restore the snapshot, and who decides. Without it, the decision gets made at 2am by the most tired person in the building.
  7. Arrange a fallback for incoming calls. Find out whether your carrier lets you divert your main numbers to a mobile from its portal, and keep the login somewhere you can reach without the phone system.
  8. Confirm that the licence and maintenance are current, so that the upgrade is not refused part way through.

During the upgrade

Change one thing at a time. If the same window also moves the operating system, the certificate, the network or the handset firmware, a fault afterwards could be any of them. Keep a log of what you did and when, so that whoever restores the snapshot knows what to undo. Schedule the work out of hours, but not so late that nobody who could help is awake.

After the upgrade: the tests to run

Run these while the change window is still open. Testing from your own desk is not enough.

Test What it proves
Restart one handset of each model It fetches its configuration again from the upgraded server
Factory-reset a spare handset and provision it from scratch A new starter's phone will work, which is the hardest case for provisioning
Call each main number from a mobile Inbound routing, opening hours and any night settings still work
Call out to a mobile and to a landline Outbound routes and caller ID
Transfer a call, blind and attended Transfers still keep the audio
Leave and collect a voicemail Voicemail, and the email it sends
Ring a queue or a ring group Group routing
Press a busy lamp key and a speed dial Key assignments and presence
Open the web interface from inside and from outside Certificates and access rules
Check that the next backup runs The upgrade did not break the schedule

Check emergency calling through your carrier's own test arrangements. Do not test it by dialling 999 unless that has been agreed.

Watch the system for the next two days. Phones that were switched off, or on a different network, at the time meet the new settings for the first time when they next start.

If the phones do not come back

Do not factory-reset them all. A reset throws away the one thing you can still learn from, which is what the phone is trying to do. The guide on why a phone will not provision covers every cause in more depth.

  1. Read one phone's status or log. Most handsets show the address they are trying to provision from and the last error. Note both.
  2. Check that address from the phone's own network. From a computer on the same VLAN, fetch it with curl -v. It shows the name lookup, the TLS handshake and the response, including a redirect or a request for a password.
  3. Check the certificate. The name must match the address the phones use, the chain must include the intermediate certificates, it must not have expired, and the handset must trust the authority that issued it. Handsets carry their own list of trusted authorities, and older firmware may lack a newer one, so a certificate that works in a browser can still fail on a phone. A phone with the wrong date will also reject a valid certificate.
  4. Check where the phones are being sent. If DHCP option 66 or a redirection service still holds the old address or port, the phones are going to the wrong place.
  5. Check the template and the firmware. A template written for newer firmware can fail on a phone running older firmware, and the reverse.
  6. Only then reset a single phone as a test, and note what changed.

Questions people ask

Why do phones need to reprovision after upgrade?

They do not always. If the provisioning address, port and certificate are unchanged and the templates and firmware still match, phones carry on as before. They need to reprovision when one of those changed, because the phone holds the old address or does not trust the new certificate, or when the new version expects different firmware. The release notes and the record you made in the first stage tell you which case you are in.

Can I upgrade the server and the handset firmware together?

You can, but you should not. If the phones fail afterwards you will not know whether the server or the firmware did it. Upgrade the server, confirm that every model still provisions, and then roll firmware out to one handset of each model before the rest.

In Wafflr

Wafflr is a phone system in development, and it has not launched. In its console, handset firmware does not update on its own. Approving a firmware version says that you have proved it, and allowing it to roll out is a second, separate decision, so a firmware change need not happen in the same window as a server upgrade.

What to do next

After the upgrade, keep the note you made in the first stage up to date with whatever changed, because it is the checklist for next time. If phones come back but calls then drop, read why a call drops after 32 seconds, since a changed address setting is one way to cause it.