Create Time Conditions
A Time Condition defines a set of rules based on a series of time blocks. A time condition can have two call destinations, one if the time of the call matches a time block assigned (the success route), and another if there is no match (the failure route). Time Conditions most often used to determine how the system routes calls during normal opening hours as opposed to when the business is closed.
Creating a Time Condition
A Time Condition can be created in the Configuration tab, however, this will only allow it's creation and configuration of the time blocks, therefore this method is better utilised for general maintenance once you are happy with your Call Flow. To be able to link a Time Condition to other applications, this must be done on the Call Flow itself. We will cover both methods below.
Method 1
Click on the Configuration tab
Select the Time Conditions section
Click on the Add New Time Condition button
Give your Time Condition a memorable and unique label (commonly Holidays, or Working Hours etc.)
Click on Add Condition to create a block of time
Fill in your desired Start and End Time, Day, Date and Month using the drop-downs provided
Then click on the Add button
You can add as many time blocks as you would like meaning you don't have to try to define everything in a single block
Once you are happy, click on the Save button
You now have a Time Condition, however, this will need to be linked on your Call Flow to allow it to control your inbound calls.
Method 2
Click on the Call Flow tab
Click on the Edit button in the Call Flow window
Drag a new Time Condition node into the Call Flow window (you can pan around the Call Flow to find an existing Time Condition for linking)
Click on the Time Condition itself and then click on the edit symbol
Here you can define your time blocks in the same way as the previous method (steps 5-9)
Once the time blocks are saved again click on the Time Condition and then click on the symbol
Drag the symbol to the application you would like the call to route to when it matches the times you have just defined.
Drag the symbol to the application you would like calls to route to when outside of these times
You will also need to link the inbound call to this Time Condition with the success route from a DDI directly or Announcement played after the DDI etc.
Now Save your Call Flow and test a call into your DDI confirming that it routes to the destination you expect based on the current time, day etc.