CrazyPBX Creating a Time Switch
Time Switches are logical call flow features that rooute calls based on predefined rules. Time Switches are most often used to set open/closed hours to ensure phones do not ring when the day is done.
⚠️ This guide covers CRAZYPBX Time Switches if you are using SIP Trunks, this is the wrong guide!
Creating a CrazyPBX Time Switch
- Sign in to your Crazytel Customer Portal account and click CrazyPBX
- Click Inbound Features, then Time Switch
- Click New Time Switch on the top-right
- In the pop-up panel, under Basics, enter the following fields:
a. Time Switch Number: This is the CrazyPBX internal ID of this Time Switch.
b. Nickname: This is the human-readable name of this Time Switch
c. Timezone: This is the Timezone the Time Switch operates out of. Ensure you select the correct timezone -- Daylight Savings Time is a thing!
d. Default Destination: This is where calls go when you're closed. It is easier to specify opening hours than closed hours, as less rules need to be configured:
i. Opening hours (simple):
Mon - Fri, 8:00 AM - 5:00 PM
ii. Closed hours (not simple):
Mon - Fri, 12:00 AM - 7:59AM
Mon - Fri, 5:01 PM - 11:59 PM
Sat - Sun, 12:00 AM - 11:59 PM
Both rule sets cover identical times.
- Click Rules, then click Add Rule. Select the Rule Type:
- Weekly: rules that repeat from week-to-week. (IE, Opening hours, Rostered shifts, Lunch)
- Date Span: rules that have a start and end date. (IE, Extended shut for long weekends, public holidays, leave windows)
- Fill the information for your new rule:
a. Weekly Options:
- *(Optional):* Rule Label: Explanation of the Time Rule (IE, "Opening Hours", "Early Friday shut")
- Days: Days of the week this specific rule applies to
- Start: The start time for the rule - 24 hour time.
- End: The end time for the rule - 24 hour time.
- Destination: Where calls go during this time
b. Date Span Options:
- *(Optional):* Rule Label: Explanation of the Time Rule (IE, "Easter long weekend, monday closed", "Christmas Shut")
- Start: The start date and time for this rule. This will override any applied weekly rules.
- End: The end date and time for this rule. This will override any applied weekly rules.
- Destination: Where calls go during this time
- *(Optional):* Add additional rules to cover variations in your opening hours (IE, 8:00 AM - 2:00 PM Fridays)
- Click Create Time Switch, and set it in routing.
Notes on Setting Time Switches in routing:
Time Switches can be used in many locations in CrazyPBX. The most common options are listed below.
DID > Time Switch
- Navigate to Products Dashboard > Number Manager > Manage Phone Numbers
- Find the number this rule is for, and click Manage. Select the Voice Routing tab.
- Set the Voice Route to CrazyPBX, and select the Time Switch from the Route Destination drop down.
- Save Changes to apply.
Pre-queue Time Switch, or Pre-Ring group Time Switch
In situations where a staff member works an offset shift and should not be disturbed by a Ring Group/Queue's call, placing a Time Switch between the parent feature and the Queue/Ring Group can be used to alternate between a call flow where the staff member is called, and a call flow where they are not.
Setting a holiday shut/closed day
Most places are closed for public holidays. Here's how to set your phones up so customers know you're closed.
- Sign in to your Crazytel Customer Portal account and click CrazyPBX
- Click Inbound Features, then Time Switch
- Click Edit next to the Time Switch in routing/want to edit
- In the pop-up panel that appears, click Rules, then Add Rule.
- Set the Rule Type to Date Span
- Set the Start to the beginning of the shut. This could be any of the following:
- Close of business the day before the shut (IE, 5:00 PM 24/12/2026)
- Midnight, the day of the shut (IE, 12:00 AM 25/12/2026)
- Open of business the day of the shut (IE, 8:00 AM 25/12/2026)
While all of these work, each may have a different impact on your customers calling in. Notifying you're closed the next day if a customer calls after hours provides clarity to the customer.
- Set the Destination for this rule (IE, Voicemail, Announcement, Call forward to least favourite staff member)
- Save your changes
