—-COR (class of restriction) Call manager Express

COR is about setting up “accesslists” for phones. The COR list is applied inbound and outbound on the router. The way it works is that the COR is applied to the dialpeer on the phone as it is incomming and the COR is applied outbound on the dial peer. upon dialing, the router checked the incoming COr and says, yes or no you have the required COR values to access the outbound dial-peer COR. IF there is no COR applied inbound at the phone side then they have no restrictions at all!

1. Create your COR names. That are used for access

dial-peer cor custom

 name 911call

 name localcall

 name longDist

 name International

2. Create the COR list for use  on the phone.

Create the list of the names for the phone to be applied

dial-peer cor list LOCAL

 member 911call

 member localcall

dial-peer cor list LD

 member 911call

 member longcall

 member ldcall

3. Apply the COR list to the phone

—POTS

 dial-peer voice 5000 pots

 destination-pattern 5000

 port X/x

 corlist incoming LD               //This is the line applying the allowed COR’s

—-EPHONE-DN

 ephone-dn 1

 corlist incoming LD

4. Create COR groups for the outgoing PSTN line

 dial-peer cor list EMERGENCY

 member 911call

 dial-peer cor list LOCAL

 member localcall

 dial-peer cor list LONGDIST

 member longDist

 dial-peer cor list INTERNATIONAL

 member international

5. Apply the outgoing COR lists to the Dial-peers

dial-peer voice 911 POTS

 destination-pattern 911

 port X/x

 no digit-strip

 Corlist outgoing EMERGENCY // applying the COR to the outgoing dial-peer

dial-peer voice 10 Pots

 description local calls

 destination-pattern 9…….

 port x/x

 corlist outgoing LOCAL    //applying the COR to the outgoing dial-peer

dial-peer voice 12 Pots

 description interstate calls

 destination-pattern 90………

 prefix 0

 port x/x

 corlist outgoing LONGDIST //applying hte COR to the outoging dial-peer

dial-peer voice 13 Pots

 description international

 destination-pattern 0011T

 prefix 0011

 port X/x

 corlist outgoing INTERNATIONAL //applying the COR to the outgoing dial-peer

Leave a Reply