What Is Time-Based Routing?
Time-based routing is a setting that changes the call's path by day and time: during business hours the call reaches the office, and outside them it goes to a message, a voicemail box or the person on duty. You define the hours once in a "time group" and use it everywhere.
What it actually is
Every organization works certain hours, but the phone rings around the clock. Time-based routing is the PBX's way of knowing what to do with a call based on the moment it came in. On the same number, a call at ten in the morning reaches the full menu and the secretaries, and a call at ten at night hears a message that the office is closed and can leave a voicemail.
The building block that everything rests on is called a time group. It is simply a list of time windows: which days, from what hour to what hour. You give the group a name — "Office hours", "Dormitory hours", "Lunch break" — and then use it as a condition: "If the call came in within the group, go here; otherwise, go there."
The big advantage of a named group is that the hours are defined in one place. If the office extends its hours by an hour, you update the group, and all the numbers, menus and queues that use it update together. There is no need to go through ten places and hope you didn't miss one.
How it works behind the scenes
- The call comes in to the organization's number.
- The PBX checks caller rules — if there is a special rule for the calling number (see Caller-Based Routing), it is checked first.
- The PBX checks the time against the time groups defined for the number, in order.
- The first group that matches decides the destination — a menu, a queue, an extension or a message.
- If no group matches, the call goes to the number's default destination.
Note the last point, because it is a source of confusion: the default is what happens when no rule matched. That is why there are two equivalent ways to build the same thing. You can set "During office hours — to the menu, and default — to the closed message." Or you can reverse it. What matters is to choose one method and understand it, so that half a year from now, whoever opens the settings will understand what is happening.
The check is made by the PBX's clock, at the moment the call comes in. A call that came in at 4:59 PM and is still in the queue at 5:05 PM is not "thrown out" — the time is checked on entry, not throughout the call.
What you can build with it
- Office hours and after hours — the basics: during hours — a menu and agents; outside them — a message with the office hours and the option to leave a message in a voicemail box.
- Lunch break — a short window in the middle of the day with its own message: "We are on break, we will be back at 1:30."
- Different hours for each department — sales until six, accounting only in the mornings. Each department gets its own group, and a key in the menu behaves accordingly.
- A short day — on Friday the office closes early, so the "Office hours" group includes a shorter window for Friday.
- Evening on-call — after office hours the calls don't go to voicemail, but to the on-call person's mobile or to a small hunt group.
- Planned closure — vacation days or a staff conference, with a dedicated message for those days.
All of these share the same principle: the time decides where the call goes, and the destination itself can be any component of the PBX — an IVR menu, a queue, an extension, a recorded message or a voicemail box.
Real-life examples
A business in Bnei Brak. A store is open Sunday through Thursday from nine to seven, and on Friday from nine to one. One time group, "Store hours", covers both windows. During the hours — the regular menu. Outside them — "The store is currently closed. Our hours are...", and a key for leaving a message.
A yeshiva with a dormitory. The office is open in the morning, but the dormitory needs to be available to parents in the evening hours. In addition, during study sessions you don't want the dormitory phone to ring at all. You build two groups: "Office hours" and "Dormitory contact hours." During a study session, anyone who calls the dormitory hears a message with the contact hours and can leave a message.
A service center. The center works two shifts. In the morning, calls go to a queue with the whole team, and in the evening to a smaller queue for the evening shift. At night — a message, and for urgent problems a key that reaches the on-call person's mobile.
A nonprofit. A gemach information line works around the clock, because it only plays messages. But the key "To speak with a volunteer" is active only during the hours when volunteers are available. Outside them, the key announces when to call back and offers to leave a message.
Common mistakes
- Hours defined in several places — the same hours typed by hand in the menu, in the queue and in the number. When they change, one gets forgotten. It is better to have one named group that everyone uses.
- Changing a group that "belongs to someone else" — a group that looks like "Sales hours" is actually also used by service. Someone shortens it, and service closes early without anyone intending it.
- A closed message with no information — "The office is closed" and nothing more. The caller doesn't know when to call back. Always include the business hours.
- No option to leave a message — a caller outside the hours who can't leave a message may try once more, and may turn somewhere else.
- An unclear default — when it isn't clear what happens "when no rule matches", you eventually discover that at three in the morning the calls reach someone's extension.
- Forgetting to test — after every change in hours, dial once within the hours and once outside them.
Practical tips
- Give groups names that explain themselves: "Office hours — general" and not "Group 3".
- Before you change a group, check where it is in use. If it is used by several departments and only one is changing — create a new group for that department.
- Record messages in advance for closures you know are coming, and save them. Next time you only need to connect them.
- If you have an on-call person, give them a fixed mobile number in the PBX, not the private number of whoever is on duty today. That way you can replace the on-call person without touching the routing.
- The "after hours" message is an opportunity: you can refer callers in it to the website or to the information line, and save calls the next day.
Calendar planning: planned closures, not surprises
Most organizations define business hours once and forget. Then the eve of a holiday arrives, the office is closed, and the menu promises "An agent will answer shortly." The solution is a calendar: a separate time group for planned closures, checked before the "Office hours" group, and leading to its own message.
Here is how to work on it once a year, in one hour:
- Open the organization's calendar and write down all the closed days: holidays, days before holidays, conference days, the staff's summer vacation, the yeshiva's yahrzeit day.
- For each date, mark whether it is fully closed or partially open ("the eve of a holiday until 12:00").
- Create a "Closures" time group with those dates, and update it when next year's calendar is published.
- Record one general message — "The office is closed for the holiday. We will resume on the next business day. To leave a message, press 1" — without mentioning a date, so that it works for all closures.
- For a long closure (a week or more), record a dedicated message with the return date.
The order between the groups matters: "Closures" is checked first. Otherwise, on a holiday at ten in the morning, "Office hours" will match, and the call will reach the regular menu of an empty office.
A full example: the work week of an accounting office
An office with five employees that wants the phone to behave exactly like the office. This is what its time groups look like, in the order they are checked:
| Group | When | To |
|---|---|---|
| Closures | Dates from the calendar | Holiday message + voicemail box |
| Lunch break | Sun–Thu 1:00–1:45 PM | "We are on break until a quarter to two" + voicemail box |
| Short Friday | Fri 8:30 AM–12:00 PM | Full menu |
| Office hours | Sun–Thu 8:30 AM–5:00 PM | Full menu |
| Default | Everything else | Closed message with the hours + voicemail box |
A few small decisions hide in the table: the lunch break is defined as a separate group, and not as a "hole" in the office hours, because that way it has its own message that says when you will be back. Friday gets a separate row so that it can be canceled in the summer without touching the rest. And "Office hours" stays simple — five days, one opening hour and one closing hour.
In the winter the office moves its Friday closing earlier, to 11:30. You change one number in the "Short Friday" group, and it applies to the main number, to the direct customer line and to the queue — because they all point to the same group.
Mistakes you only notice after months
- The closures group from last year. The dates weren't updated, and the office is "closed" on a regular day. It is worth setting a calendar reminder a month before Rosh Hashanah.
- Daylight saving time. The PBX works on Israel time, but someone who defined hours abroad according to their own local time will discover a one-hour difference.
- A Friday defined like a weekday. At 2:00 PM on Friday the phone rings in an empty room.
- A break message with no return time. "We are on a break" — until when?
- Changing hours without testing. Dial once within the group and once outside it, for every group you changed.
How it works with us at Kesher
The Kesher control panel has a separate screen for time groups. There you define days and hours, give the group a name, and then select the group on a number, in a menu, or anywhere else where you want time-based routing. There is an illustrated guide to the screen.
On the screen, next to each group, you can see where it is in use. That way, before you shorten "Office hours", you can immediately see whether the service queue or the dormitory also relies on it — and you don't accidentally change another department's hours.
Time-based routing is defined on each number in the "Numbers" screen, alongside caller-based routing. The "Call Route" screen shows all of this as a flow chart: which time groups are checked, where each one leads, and what the default is when none matches.
Don't want to touch the settings? Send us the hours and what should happen at each hour, and we will build it. With us, every question is answered by a person, and you can ask for a change later too — for example, before a planned closure of the office.
FAQ
What is a time group?
A list of days and hours with a name, for example "Office hours." It is used as a condition in routing: within the hours the call goes to one destination, and outside them to another.
Can I have different hours for each department?
Yes. You create a time group for each department, and each menu key or queue relies on its own group.
What happens to a call that came in just before the end of the hours?
The time is checked at the moment the call comes in. A call that came in within the hours continues on its route, even if the clock has since passed the end of the day.
How do I make sure the setting works?
Dial from a mobile once within the hours and once outside them, and check the diagram in the "Call Route" screen.
How do I set up a one-time closure, for example a conference day?
Add the date to the time group for planned closures. It is checked before office hours, so on that day calls will reach the closed message.
Can the lunch break apply to only one department?
Yes. You create a time group for the break and attach it only to that department's destination — for example, to its key in the menu — and not to the whole number.
What happens when two time groups overlap?
The first one in the checking order decides. That is why the closures group and the lunch break should come before "Office hours" — they are the exception, and it is the rule.
How many time groups does a typical organization need?
Three to five: office hours, planned closures, and as needed a lunch break, a short day and on-call duty. More than that usually indicates hours that were entered twice.