Night mode button on a desk phone: how it works on any PBX
A night mode button is a key on a desk phone that switches a phone system between its daytime and out-of-hours call handling with one press, and shows which one is active. A receptionist locking up early presses it and looks at the lamp, and nobody signs in to anything. The idea is the same on almost every phone system. This post explains how a night mode button works, what to decide before you build one, how to test it and how Wafflr does it.
How a night mode button works
Four parts make it work, and a fault in any one of them is the usual reason a button misbehaves.
- A state. The phone system remembers which mode it is in: day, night and sometimes holiday. It is a flag, kept apart from the clock.
- Call handling that reads the state. The main number's route, the menu or the ring group checks the flag and sends the call somewhere else when it is not day, such as a recorded message, voicemail or a mobile.
- A way to change the state from a phone. Usually a feature code, a short number starting with a star, that moves the flag. A programmable key on the phone dials the code when it is pressed.
- A lamp that shows the state. The key is a busy lamp field key, which subscribes to a state the phone system publishes and lights when it changes. A plain speed dial key sets the state but cannot show it.
The fourth part is where people struggle. Users on forums report building the button from a speed dial or busy lamp key and a code, and limits on the lamp showing the state. One thread on the 3CX community forum is titled How I kind of made a day/night mode button for desk phones. It is a user's account of one platform, not a statement about any product, and it has not been tested here.
What to decide before you build a night mode button
- Which modes. Day and night are enough for many offices. A holiday mode helps if the message and the route differ from a normal night. Do not add a mode that nobody can name in a word.
- What the schedule does and what the button does. The opening hours handle the ordinary week. The button is for the day that is not ordinary: a training afternoon, a fire alarm, an early close on the last day before a holiday.
- What happens at the next scheduled change. If someone presses night at four o'clock on a day the office opens again at nine tomorrow, does the override stay until someone changes it, or end at the next opening time? Choose, and tell the people who press it. Which of the two a system does is the question to ask.
- Who may press it. A code that works from any extension lets any extension close the office. Decide whether that is acceptable, or whether only reception should have the key and the code.
- What the lamp means. On a lamp with two states you cannot tell night from holiday. Decide that lit means out of hours, put it on a label by the phone and keep to it.
- What the caller hears in each mode. Write the message, the hours and the number for anything urgent before you build the button, because the button only switches between them.
How to test it
- Put the system in each mode from the phone and call the main number from outside after each change. Listen to what the caller hears, not to what the screen says.
- Check the lamp on every phone that has the key, including after a phone restarts. A lamp that shows the wrong state after a reboot is the commonest fault.
- Test the next scheduled change. Leave an override on and wait for the next opening time, or move the schedule, and see whether the override stays or ends.
- Test holiday mode if you have one, and test going back to following the hours.
- Write what the lamp means on a card beside the phone and give the receptionist the first go.
How Wafflr does it
Wafflr is in development and has not launched, so this section describes its console as it is being built. Its Service mode page has three modes, Day, Night and Holiday. The opening hours decide unless somebody has chosen otherwise, and the page shows what the system is answering as, who set the mode and when. Choosing Day holds the system in day mode through the evening, and following the hours hands control back to the opening hours, so they are separate buttons.
The point of the feature, as the page puts it, is a key on a telephone that changes the mode with one press and shows which one the system is in. The lamp is dark for Day, lit for Night and flashing for Holiday. A telephone model that can show only two states is marked in the console as one that shows two states, and the key still sets all three modes. Two feature codes do the same from any handset: *20 moves the system to the next service mode, and *21 goes back to following the opening hours. Feature codes can be changed in the console under Call flow.
Questions people ask
Do I need a button, or can the schedule do it?
The schedule can run the ordinary week without anyone touching it. The button is for exceptions. A system with a schedule and no button needs an administrator to sign in on the day it snows.
Why does the lamp not change when I press the key?
The lamp follows a state the phone subscribes to. Check that the key type on the phone is the one that subscribes, not a speed dial, and that the phone system publishes the mode as something a phone can watch. If the key dials the code and the call handling changes but the lamp stays dark, the state is changing and the lamp is not subscribed.
Should every site have its own button?
Decide whether a mode belongs to a site or to the whole system. A shop that closes at five and an office that closes at six should not share a switch.
What to do next
Write down the hours, the exceptions and what a caller should hear in each mode. Choose how many modes you need and what the lamp will mean. The glossary explains terms such as BLF, night mode and time condition. The post on a phone system for a small office has the rest of a simple call flow around the switch, and the guide to keeping your desk phones matters if you are moving a system and its keys with it.