timerule

How to config TimeRule

Time Rule Configuration

Overview

Zycoo IPPBX is built on the Asterisk platform and supports the standard SIP protocol. It can connect to IMS SIP trunks from ITSPs (Internet Telephony Service Providers) as well as SIP endpoints.

This document provides instructions for routing incoming calls to different destinations based on time conditions (e.g., business hours, holidays, and after-hours).


Time Conditions Setup Guide

1. Setup Weekdays (Business Hours)

Step 1.1: Log in to the IPPBX Web Portal

Log in to the IPPBX web interface using the admin account.

Step 1.2: Navigate to Time Conditions

  1. Navigate to Telephony → Inbound Control → Time Conditions

Step 1.3: Create Weekdays Time Condition

Click the Add button under Weekdays to create a time condition for regular business hours.

Configure the time condition according to your office working hours (e.g., Monday to Friday, 9:00 AM to 5:00 PM).



2. Setup Holidays (Optional)

Step 2.1: Create Holidays Time Condition

Click the Add button under Holidays to create a time condition for holidays as needed.

Note: You may leave this section empty if holiday routing is not required.



3. Setup Time Rule

Step 3.1: Create a Time Rule

Click the Add button under Time Rule to create a destination rule as shown in the example below.

Priority Hierarchy

The time conditions follow the priority order shown below:

PriorityTime ConditionDestination
HighestHolidaysHoliday Destination
MediumWeekdays (Business Hours)Business Hours Destination
LowestNon-Business HoursNon-Business Hours Destination

Important Note: The Holidays time condition has higher priority than Weekdays.

  • Incoming calls will first attempt to match the Holidays condition. If matched, calls will route to the Holiday Destination.

  • If no holiday match is found, the system will then attempt to match the Weekdays condition. If matched, calls will route to the Business Hours Destination.

  • If neither condition is matched, calls will route to the Non-Business Hours Destination.



Advanced Configuration: Multiple Time Conditions

If you have multiple time conditions that need to be chained together:

  1. Create multiple Time Rules first

  2. Update the Destination Type of the Non-Business Hours Destination to Time Rules

  3. The time conditions will then be evaluated one by one in sequence


4. Setup Inbound Route Destination to Time Rule

Step 4.1: Navigate to Inbound Routes

  1. Navigate to Telephony → Inbound Control → Inbound Routes

Step 4.2: Configure the Inbound Route

Click the Edit button for the desired trunk in the Trunk Name column, then configure the following:

ParameterSetting
Destination TypeTime Rules
Inbound Destinationmyoffice (or your configured time rule)


Configuration Flow Summary

text
Copy
Download
Incoming Call

Check Holidays

Match? ─── Yes ──→ Route to Holiday Destination

No

Check Weekdays (Business Hours)

Match? ─── Yes ──→ Route to Business Hours Destination

No

Route to Non-Business Hours Destination

    • Related Articles

    • How to config Cisco phone Auto configuration

      Cisco Phone Auto Provision Overview Zycoo IPPBX is built on the Asterisk platform and supports the standard SIP protocol. It can connect to IMS SIP trunks from ITSPs (Internet Telephony Service Providers) as well as SIP endpoints. This document ...
    • How to config VoicemailToEmail

      Voicemail to Email Overview Zycoo IPPBX is built on the Asterisk platform and supports the standard SIP protocol. It can connect to IMS SIP trunks from ITSPs (Internet Telephony Service Providers) as well as SIP endpoints. This document provides ...
    • How to config E1 PRI

      T600 E1 Configuration Overview Zycoo IPPBX is built on the Asterisk platform and supports the standard SIP protocol. It can connect to IMS SIP trunks from ITSPs (Internet Telephony Service Providers) as well as SIP endpoints. This document provides ...
    • How to config Phone AutoProvision

      Auto Provision Overview Zycoo IPPBX is built on the Asterisk platform and supports the standard SIP protocol. It can connect to IMS SIP trunks from ITSPs (Internet Telephony Service Providers) as well as SIP endpoints. This document provides ...
    • How to config Hotstandby between Two IPPBX

      Hot Standby Configuration Overview Zycoo IPPBX is built on the Asterisk platform and supports the standard SIP protocol. It can connect to IMS SIP trunks from ITSPs (Internet Telephony Service Providers) as well as SIP endpoints. This document ...