X2Comms
All Guides / Time Conditions / Setting Up Time Conditions and Business Hours on Yeastar P-Series Cloud Edition
Time Conditions

Setting Up Time Conditions and Business Hours on Yeastar P-Series Cloud Edition

time conditions business hours out of hours bank holidays

Introduction

Time conditions let the PBX route calls differently depending on when they arrive — during business hours, after hours, or on holidays. This guide covers creating a time condition and linking it to an inbound route so calls route automatically.

Before you start

Decide on:
- Your business hours (e.g. Monday–Friday 09:00–17:30)
- Your in-hours destination (e.g. your main IVR)
- Your out-of-hours destination (e.g. an out-of-hours IVR or voicemail)

Step 1 — Create a Business Hours schedule

  1. Go to PBX Settings > Business Hours.
  2. Click Add.
  3. Set a Name (e.g. Mon-Fri 9-5:30).
  4. Configure the working hours:
  5. Days: Monday to Friday
  6. From: 09:00
  7. To: 17:30
  8. Click Save.

Step 2 — Add bank holidays (optional but recommended)

  1. Go to PBX Settings > Holiday.
  2. Click Add for each holiday:
  3. Name: e.g. Christmas Day 2025
  4. Date: e.g. 2025-12-25
  5. Set as All Day
  6. Click Save for each entry.

You can also add a Recurring holiday (e.g. same date every year) for holidays that fall on the same date annually.

Step 3 — Link time conditions to an inbound route

  1. Go to Call Control > Inbound Route and edit your main inbound route.
  2. Enable the Time Condition toggle.
  3. Under Time-based Routing Mode, select how routing should work.
  4. Set:
  5. Default Destination → your in-hours destination (e.g. Main Menu IVR)
  6. Outside Business Hours Destination → your out-of-hours destination (e.g. Out of Hours IVR or voicemail)
  7. Holidays Destination → your holiday destination (usually the same as out-of-hours)
  8. Click Save and Apply.

Step 4 — Test

Call your main DDI during business hours and confirm the in-hours destination is reached. Then temporarily adjust a time range to test the out-of-hours routing.

Manually overriding the time condition

If you need to close early or open on a bank holiday, you can override the time condition from an internal phone:

  1. Find the time condition's feature code. Go to PBX Settings > Feature Codes to find it (usually in the 8XX range).
  2. Dial the feature code from any internal extension to switch between in-hours and out-of-hours mode.
  3. Dial it again to switch back.

Tips

  • The PBX uses its configured time zone for all time condition comparisons. Verify your time zone is set to Europe/London under PBX Settings > System > Date and Time.
  • Update the holiday schedule every January — bank holiday dates change year to year.
  • Create a second IVR specifically for out-of-hours with a message stating your opening hours and inviting callers to leave a voicemail.

Summary

Time conditions are configured. Calls now route automatically based on business hours — no manual changes needed at the end of each day.