Introduction:
The Document describes the Concept and Working of Time of the Day routing along with configuration Snapshot and test solutions.
Background Information
Time of the Day Routing: Working
Time Period: Defines a time frame in a 24 hours of a day.
This time period can be repeated:
- Every week from a given day to any other day in the week. For example; Monday – Friday.
- Every year from a given day in a month to another day in the same or different month. For example; 1st January – 4 February.
Time Schedule:This is a collection of one or more time periods.
Partition:A partition comprises of a logical grouping of Directory Numbers (DNs) and route patterns with similar reachability characteristics. The time schedule comprises of one or more time periods assigned to a partition. It defines a time frame when the partition is logically active.
Test Case Scenario:
There is a hotline number 1800-180-9091. Calls to this number between 0800 hours till 1700 hours are to be answered by 4000 DN(which is given to receptionist). Beyond these timings the calls are to be sent to Cell Number. The trick here is to have two numbers that are the same, but in different partitions.
- 9091 (Translation Pattern- has Called Party Transformation number set to 4000)in partition Working_Hours_PRT.
- 9091 (Translation Pattern- has Called Party Transformation number set to Cell Number 918587822216) in partition Non_Working_Hours_PRT.
Even though they are the same numbers, they exist in two different partitions of which only one partition is logically active at any given time. This is decided by the time schedule assigned to these partitions.
When the hotline number is called between 0800 hours till 1700 hours, the partition Working_Hours_PRT will be active and thus 9091 is a Translation Pattern number. For any calls placed outside these timings, the partition Non_Working_Hours_PRT will be active and therefore calls can be forwarded to a Cell Number by using Route Pattern . Make Sure this TP has access to RP to route the call from CUCM .
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Component Used:
- CUCM
- Voice Gateways
- T1 PRI
- 3 SCCP Phones
- Telco GW to replicate the issue for external Calls.
Requirement:
Customer has a requirement where they want their Existing DID number 1800-180-9091 calls goes to be diverted to the Phone 4000 in Office hour (Mon-Fri 8-5) after office hours and weekends calls should go to a specific Cell Number XXXXXXXXXX.
- Monday to Friday 00800hrs to 1700hrs goes to 4000 number
- After office hours Monday to Friday from 1700 hours till 2400 hours goes to Cell Number(XXXXXXXXXX)
- After office hours Monday to Friday from 0000 hours till 0800 hours goes to Cell number (XXXXXXXXXX).
- Weekends Saturday and Sunday 0000hr to 2400hrs goes to Cell number XXXXXXXXXX
Configuration:
Step1: Create a time period for the time frame 0800 hours till 1700 hours call Working_Hours.
Step 2. Create the two Off-Shift Time periods and one for Weekends (Saturday-Sunday).
- One from 1700 hours till 2400 hours.
- The other from 0000 hours till 0800 hours.
- Weekends from 0000 hours till 2400
Step 3. Add the time periods to the Time Schedules.
. On the Unified CM Administration section of the web page, navigate to Call Routing > Class of Control > Time Schedule as shown in this image
- Click Add New and Create a New Time Schedule Working-hours as shown below and add Time period
- Create another Time Schedule for Non-Working-Schedule show below and add all off hours Time period to that.
Step 4. Assign the Time Schedules to the respective partitions
- Assign Working_Hours_PRT time schedule to the partition Working_Hours_Schedule as show below
- Assign the Non-Working_Hours_Schedule Time Schedule to the partition Non-Working_Hours_Schedule _PRT as shown in this image.
Step 5. Create 2 similar Translation Pattern and assign one to the Partition Working_Hours_PRT and the other to the partition Working_Hours_Schedule _PRT.
Step 6.
- 9091 has a partition which has Active Time Schedule.
- Assign 4000 number in called party transformation so that calls goes to 4000 in Active Schedule 0800hr to 1700hrs
- Make Sure This Translation Pattern has given a CSS which can reach to the phone number 4000
Step 8.
- 9091 has a partition which has Non-Working hours Time Schedule so it will become active only after office hours and weekends time period.
- Assign Cell Number(XXXXXXXXXX) in called party transformation so that calls goes to XXXXXXXXXX in Active Schedule 1700hrs-2400hrs, 0000hr -0800hrs and Weekends (Sat-Sun) 0000hr-2400hrs
- Create Route Pattern or use Existing route pattern to route the call from CUCM to Cell Number
- Make Sure This Translation Pattern has given a CSS which can reach to the Route Pattern Created above to route call to Cell number.
Step 9. Most important point.
- Create a CSS”GW-CSS” or Use Existing CSS which is already there on GW “incoming CSS”
- Assigned these two Partitions which we have created and assigned a schedule.
- This is required so a call comes in via Gateway it should have access to those Translation Pattern which we have created “9091” otherwise call will if Gateway do not have access to Translation pattern.
Step 10. Assign Calling Search Space which you are going to create new on Inbound Call section on Gateway Page. If there is existing Calling Search Space there on GW just assign those two partition which has Time Schedule with Time period aligned to it.
Regards
Naddy