Timeof Day Call Routing

Time-of-day routing can be implemented in CUCM by applying time and date attributes to partitions using time schedules and time periods. Time periods define time ranges or dates and are grouped into time schedules. Time schedules are then assigned to partitions.

A CSS that includes a partition that is associated with a time schedule has access only to the partition if the current date and time match the time and date information specified in the time schedule that is associated with the partition. If the configured time schedule does not fall into the current date and time, the partition is logically removed from the CSS.

NOTE It is highly advisable to use Network Time Protocol (NTP) when using time-of-day call routing.

Time-of-day routing can be used to route calls differently based on time in the following way:

■ Identical route patterns are created and put into different partitions.

■ At least one of these partitions has a time schedule applied.

■ If the partition with the time schedule is listed first in CSSs, it will take precedence over other partitions during the time that is associated with the partition. If the current time does not match the configured time schedule, the partition that has the time schedule assigned is ignored, and the next partition becomes the partition with highest priority.

Examples of when time-of-day routing can be used include the following:

■ Allowing international calls only during office hours

■ Blocking international calls on holidays

■ Using time-of-day routing to control the call-routing path based on the current time for maximum cost benefits:

—Multiple providers for international calls might be available, some of them having different prices depending on the hours of the days (typically more expensive during business hours and less expensive during off-hours).

—With time-of-day routing, international calls to certain countries can use the cheapest available provider based on the current time, and thus make use of the cheapest offer for any given time instead of using the same provider for calls to certain countries all the time.

A time period specifies a time range defined by start- and end- time and a repetition interval (days of week or specified calendar date). One or more time periods can be assigned to a time schedule. The same time period can be assigned to multiple time schedules.

A time schedule is a group of time periods. Time schedules are applied to partitions and thus make the partition inactive when the applied time schedule does not match the current date or time.

In Figure 13-12, the partition CiscoAustin_PT is accessible only from Monday to Friday from 8 a.m. to 5 p.m. (0800 to 1700) from a CSS that includes the partition.

Figure 13-12 Time Periods and Schedules

Time Periods Start-End Repetition

weekdayhrs_TP

0800-

-1700

M-F

weekendhrs_TP

0800-

-1700

Sat-Sun

newyears_TP

0000-

-2400

January 1

noofficehours_TP

Sat-Sun

Time Schedule

Time Periods

RegEmployees_TS

weekdayhrs_TP

Partition

Time Schedule

CiscoAustin_PT

RegEmployees_TS

You can use time-based CoS to allow international calls, for example, during only certain times of the day. Figure 13-13 is an example where international calls will be blocked on weekends and holidays (New Year's Day in the example). Multiple 9.011! route patterns must be created for this application. The first route pattern is put into the standard partition, which has no time schedule applied.

A second, identical route pattern is created, which is placed into the weekend partition. The phone's line CSS includes the weekend partition, while the device CSS includes the standard partition. The weekend partition is used to block the international call, because the route pattern has a block this action associated with it. The weekend partition will match only on weekends and New Year's Day.

Figure 13-13 Time-Based Call-Routing Example

CSS:

Weekend

Standard

Dials 9.0114369918900009 Current Time: 10:00 Current Day: Wed

Figure 13-13 Time-Based Call-Routing Example

Dials 9.0114369918900009 Current Time: 10:00 Current Day: Wed

Dials

9.0114369918900009 Current Time: 20:00 Current Day: Sat

Dials

9.0114369918900009 Current Time: 20:00 Current Day: Sat

Route Pattern: 9.011! Partition: Standard Route to PSTN

Partition Standard: (No Time Schedule)

Route Pattern: 9.011! Partition: Weekend Block This Pattern!

Partition Weekend: Time Schedule: TS1 Time Schedule TS1: Time Period: TP1, TP2 TP1: 00:00-24:00 Sat-Sun TP2: 00:00-24:00 Jan 1

NOTE Route patterns and translation patterns can be configured with the parameter Block This Pattern to explicitly deny calls to certain patterns if the pattern was selected by the call-routing logic.

The steps to implement time-of-day routing are as follows: Step 1 Create time periods.

Step 2 Create time schedules and associate them with time periods.

Step 3 Assign time schedules to partitions that should be active only during the time specified in the time schedule.

The CUCM Administration navigation to create a time period is Call Routing > Class of Control > Time Period. Click the Add New button. Use descriptive names in your time periods that include _TP in the name (for example, weekdays_TP). Figure 13-14 is an example of a time period configuration with a recurring time range every week from Saturday to Sunday. Figure 13-15 is a static date every year on January 1.

Time schedules are created by adding one or more time periods to a time schedule. Time periods are configured in the following navigation path: Call Routing > Class of Control > Time Schedule. Click the Add New button. Figure 13-16 shows a time schedule that includes two time periods.

Figure 13-14 Recurring Time Period

TP1 is active Saturday and Sunday from 0:00 to 24:00.

Time Period Configuration

Related Links: HEWH

H

(T) Status: Ready

—Time Period Information-

Name* |officeHours_TP Time Of Day Start* | og:oo Time of Day End * | i7:oo

m n

1 Repeat Every (S Week from j^on ^J through* _¡g||

Figure 13-15 Static Time Period

TP2 is active Jan 1 from 0:00 to 24:00.

Time Period Configuration

Related Links: Œ5H2Ï

[^j Save Delete [Q Copy Add New

^^ Add successful

— Timp Pprinrl Infnrmatinn-

Name* |l\lewYears_TP

Time Of Day Start* | No office Hours

Time of Day End* | No Office Hours

J Repeat Every* c Week from* | Meine H l

irough*|None

h«» d Ii

Figure 13-16 Time Schedule Configuration

Add or remove highlighted time period to or from time schedule.

Time schedules are then assigned to partitions. In Figure 13-17, the time schedule OfficeHours_TS is applied to the International partition. The International_PT will only be included in the CSS during office hours.

Figure 13-17 Time Schedule: Partition Application

Assign time schedule-to partition.

Figure 13-17 Time Schedule: Partition Application

Assign time schedule-to partition.

Set fixed time zone or use time zone of call originating device.
+1 0

Post a comment