Implementing Class of Restriction (COR)

CUCM – Class of Control

Partitions – Partitions are collections of DNs, RPs (Route Patterns), transformation patterns and translation patterns that divide the Dial Plan into segments. Partitions can contain anything that has a number.
Calling Search Space – CSS can be assigned to DNs, phone devices, translation patterns, gateways and trunks. CSS can be assigned to any dialing entity, anything that can make a call.

CME – Class of Restriction

//Steps
1.Define the COR tags we will use for the restrictions. (one tag for each outbound dial-peer)
2.Create the outbound COR lists.
3.Create the inbound COR lists.
4.Assign the outbound COR lists.
5.Assign the inbound COR lists.

//Rules
Rule 1: If there is no outgoing COR list applied, the call is always routed.
Rule 2: If there is no incoming COR list applied, the call is always routed.

Defining COR List Tags
Router(config)# dial-peer cor custom
Router(config-dp-cor)# name NATIONAL
Router(config-dp-cor)# name INTERNATIONAL

Creating Outgoing COR Lists
Router(config)#dial-peer cor list NATIONAL-CALL
Router(config-dp-corlist)#member NATIONAL
Router(config)#dial-peer cor list INTERNATIONAL-CALL
Router(config-dp-corlist)#member INTERNATIONAL

Creating Incoming COR Lists
Router(config)#dial-peer cor list NATIONAL-ONLY
Router(config-dp-corlist)#member NATIONAL
Router(config)#dial-peer cor list NATIONAL-INTERNATIONAL
Router(config-dp-corlist)#member NATIONAL
Router(config-dp-corlist)#member INTERNATIONAL

Assigning Outbound and Inbound COR Lists
Router(config)#dial-peer voice 10 pots
Router(config-dial-peer)#corlist outgoing NATIONAL-CALL
Router(config)#dial-peer voice 11 pots
Router(config-dial-peer)#corlist outgoing INTERNATIONAL-CALL
Router(config)#ephone-dn 1
Router(config-ephone-dn)#corlist incoming NATIONAL-ONLY
Router(config)#ephone-dn 2
Router(config-ephone-dn)#corlist incoming NATIONAL-INTERNATIONAL

Ephone 1 will be able to place only National calls, while Ephone 2 will be able to place both National and International calls.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s