Skip to main content

Support & Resources

CrazyPBX - Making a CrazyPBX Time Switch

CrazyPBX

Loading...

CrazyPBX - Making a CrazyPBX Time Switch

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

  1. Sign in to your Crazytel Customer Portal account and click CrazyPBX
  1. Click Inbound Features, then Time Switch
  1. Click New Time Switch on the top-right
  1. 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.

  1. 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)
  1. 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
  1. *(Optional):* Add additional rules to cover variations in your opening hours (IE, 8:00 AM - 2:00 PM Fridays)
  1. 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

  1. Navigate to Products Dashboard > Number Manager > Manage Phone Numbers
  1. Find the number this rule is for, and click Manage. Select the Voice Routing tab.
  1. Set the Voice Route to CrazyPBX, and select the Time Switch from the Route Destination drop down.
  1. 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.

  1. Sign in to your Crazytel Customer Portal account and click CrazyPBX
  1. Click Inbound Features, then Time Switch
  1. Click Edit next to the Time Switch in routing/want to edit
  1. In the pop-up panel that appears, click Rules, then Add Rule.
  1. Set the Rule Type to Date Span
  1. 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.

  1. Set the Destination for this rule (IE, Voicemail, Announcement, Call forward to least favourite staff member)
  1. Save your changes