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).
Log in to the IPPBX web interface using the admin account.
Navigate to Telephony → Inbound Control → Time Conditions
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).
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.
Click the Add button under Time Rule to create a destination rule as shown in the example below.
The time conditions follow the priority order shown below:
| Priority | Time Condition | Destination |
|---|---|---|
| Highest | Holidays | Holiday Destination |
| Medium | Weekdays (Business Hours) | Business Hours Destination |
| Lowest | Non-Business Hours | Non-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.
If you have multiple time conditions that need to be chained together:
Create multiple Time Rules first
Update the Destination Type of the Non-Business Hours Destination to Time Rules
The time conditions will then be evaluated one by one in sequence
Navigate to Telephony → Inbound Control → Inbound Routes
Click the Edit button for the desired trunk in the Trunk Name column, then configure the following:
| Parameter | Setting |
|---|---|
| Destination Type | Time Rules |
| Inbound Destination | myoffice (or your configured time rule) |
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