Network Bulls
www.networkbulls.com
Best Institute for CCNA CCNP CCSP CCIP CCIE Training in India
M-44, Old Dlf, Sector-14 Gurgaon, Haryana, India
Call: +91-9654672192
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.
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.
NOTE It is highly advisable to use Network Time Protocol (NTP) when using time-ofday
call routing.
320 Chapter 13: Calling Privileges
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
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.
Partition
weekdayhrs_TP 0800–1700 M–F
weekendhrs_TP 0800–1700 Sat–Sun
newyears_TP 0000–2400 January 1
noofficehours_TP Sat–Sun
RegEmployees_TS weekdayhrs_TP
CiscoAustin_PT RegEmployees_TS
Start–End Repetition
Time Periods
Time Schedule
Time Schedule
Time Periods
Time-of-Day Call Routing 321
Figure 13-13 Time-Based Call-Routing Example
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.
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.
Dials
9.0114369918900009
Current Time: 20:00
Current Day: Sat
CSS:
Weekend
Standard
Route Pattern: 9.011!
Partition: Standard
Route to PSTN
Partition Standard: (No Time Schedule)
Dials 9.0114369918900009
Current Time: 10:00
Current Day: Wed
1
2
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
First Partition (Weekend) is
ignored because no time
match. Pattern not blocked.
First Partition (Weekend) is
active, matched, and listed first.
Pattern blocked.
IP
322 Chapter 13: Calling Privileges
Figure 13-14 Recurring Time Period
Figure 13-15 Static Time Period
Figure 13-16 Time Schedule Configuration
TP1 is active Saturday and Sunday from 0:00 to 24:00.
TP2 is active Jan 1 from 0:00 to 24:00.
Add or remove
highlighted time
period to or from
time schedule.
Client Matter Codes and Forced Authorization Codes 323
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.
No comments:
Post a Comment