cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1737
Views
15
Helpful
3
Replies

Class of Restrictions on CME

bkhanal1971
Level 3
Level 3

I have a CME running 7.1 code. I have been asked to configure restrictions on a phone so that it can only dial a predefined set of numbers which could include some local numbers, some national and some even international numbers and block the rest of the numbers. There are about 20 such numbers in the list that the person in question should be able to dial. I know I could achieve somewhat similar type of requirement through the use of COR but I am not sure if I can COR can help in this case. Any idea.

Thanks, Khanal

1 Accepted Solution

Accepted Solutions

Hi ,

 try this as an example:

dial-peer cor custom
 name block
 name allow

dial-peer cor list pt-block
 member block

dial-peer cor list pt-allow
 member allow

dial-peer cor list css-restricted
 member allow

dial-peer voice 408 pots
 corlist outgoing pt-allow
 destination-pattern 91408[2-9]......
 port 0/0/0:0
 forward-digits 11

dial-peer voice 11 pots
 corlist outgoing pt-block
 destination-pattern 91[2-9]..[2-9]......
 port 0/0/0:0
 forward-digits 11

ephone-dn 1
 cor incoming css-restricted
 ...

 

Hope this helps.

 

View solution in original post

3 Replies 3

Hi ,

 try this as an example:

dial-peer cor custom
 name block
 name allow

dial-peer cor list pt-block
 member block

dial-peer cor list pt-allow
 member allow

dial-peer cor list css-restricted
 member allow

dial-peer voice 408 pots
 corlist outgoing pt-allow
 destination-pattern 91408[2-9]......
 port 0/0/0:0
 forward-digits 11

dial-peer voice 11 pots
 corlist outgoing pt-block
 destination-pattern 91[2-9]..[2-9]......
 port 0/0/0:0
 forward-digits 11

ephone-dn 1
 cor incoming css-restricted
 ...

 

Hope this helps.

 

Thank you so much for your help. I am sure it is exactly what I was looking for.

Thanks, Khanal

Amit Sharawat
Cisco Employee
Cisco Employee

Please use the following document to configure COR list:

 

http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/42720-configuring-cor.html

 

You need to make sure that you configure specific dial-peer for the dialed numbers and specific COR list for these numbers. If you do not want any phone to dial a number pattern, then do not put that COR under the ephone-dn.

If the COR applied on an incoming dial-peer (for incoming calls) is a super set or equal to the COR applied to the outgoing dial-peer (for outgoing calls), the call goes through. Incoming and outgoing are terms used with respect to the "voice ports".

 

For example, if you hook up a phone to one of the Foreign Exchange Station (FXS) ports of the router and try to make a call from that phone, it is an incoming call for the router/voice-port. Similarly, if you make a call to that FXS phone, then it is an outgoing call.

All the ephone-dn are efxs ports, which are virtual ports on the CME but IOS detects them as voice-port only.

 

Note: If your are planning to use COR, make sure you configure COR for every dial-peer and ephone-dn. Because an a dial-peer or ephone-dn without COR is like full access to everyone. that is if there is no COR configuration for incoming calls on a dial-peer, then you can make a call from this dial-peer (a phone attached to this dial-peer) going out of any other dial-peer, irrespective of the COR configuration on that dial-peer.

Hope it clarifies.

~Amit