Route Inbound Calls based on Business Hours
An inbound route can react to the time a call arrives, sending it to one destination while you are open, another during holidays, and a third when you are closed. This walkthrough shows how to build such a route around the Business Hours you have defined for a time zone, using a typical office schedule as the example.
Scenario
Section titled “Scenario”Suppose your office keeps the following hours:
- Open days: Monday through Friday
- Open times: 09:00 to 12:00 and 14:00 to 18:00
Callers reach you through a trunk named sip_routein_GBH. A trunk is the line that connects your phone system to the outside telephone network. You want the system to handle those calls like this:
- While the office is open, send callers to an IVR that greets business callers. An IVR (Interactive Voice Response) is the automated menu that answers a call and lets the caller pick an option from their keypad.
- On holidays, play an
office_holidayannouncement and then send callers to a separate holiday IVR. - At every other time, send callers to voicemail.
Before you begin
Section titled “Before you begin”Make sure the following pieces are in place:
- The trunk that carries your inbound calls is set up and active.
- Business Hours are defined for the time zone that matches your office schedule.
- The destinations you plan to route to already exist. For this example, you need a business-hours IVR and a holiday IVR configured ahead of time. See Set up an IVR for details.
- If you want callers to hear an announcement on holidays, record or upload the prompt first. This example uses a prompt named
office_holiday. See Create a Holiday for related steps.
Build the inbound route
Section titled “Build the inbound route”-
Sign in to the PBX (Private Branch Exchange, your phone system) web portal and go to Call Control > Inbound Route, then click Add.
-
In Name, type a label that will help you recognize this route later.
-
Under Trunk, move the trunks you want this route to serve from the Available list into the Selected list. For this example, select
sip_routein_GBH.
-
Under Default Destination, select the Time Condition checkbox.

-
Open the Time-based Routing Mode drop-down, choose Based on Business Hours Configured for the Time Zone, then pick the time zone whose schedule you want to follow.
-
Choose a destination for each time period:
- Business Hours Destination: Where calls go during the Business Hours set for the chosen time zone. For this example, select IVR and pick the business-hours IVR.
- Outside Business Hours Destination: Where calls go at times that fall outside both Business Hours and Holidays. For this example, select Extension Voicemail and choose an extension number.
- Holidays Destination: Where calls go during the holidays set for the chosen time zone. For this example, select IVR and pick the holiday IVR.
-
Select the Play Holiday Prompt During Holidays checkbox.
-
Click Save, then Apply.
Result
Section titled “Result”Calls that come in on the sip_routein_GBH trunk now follow the clock: business callers reach the business IVR during open hours, holiday callers hear the announcement and reach the holiday IVR, and everyone else goes to voicemail.
Didn't find what you needed?
Ask the AI assistant and it will search the docs and walk you through it.
Ask Cloud Voice AI
Answers are AI-generated from the docs and may contain mistakes. Verify with the linked pages.