cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1852
Views
0
Helpful
12
Replies

Issue with Configuring Class of Restrictions (COR)

anthony.dyne
Level 1
Level 1

Hi

Configuring Class of Restriction is not working. The requirement is to allow only local calls for 2 phones.  We got Cisco Callmanager Express running on 3800 series & sip phones. Somone advice what is wrong in the configuration, the user can call National / International / local { Restriction not working }

Dial 9 for outside line

dial-peer cor list Local

member Local

dial-peer voice 7 voip

corlist outgoing Local

description dial peer digital toward CUE

destination-pattern 9[63]......

voice-class codec 1

session protocol sipv2

session target ipv4:172.16.16.100

incoming called-number ....

dtmf-relay sip-notify

voice register pool  25

id mac 0008.1135.6998

number 1 dn 25

cor incoming Local default

dtmf-relay rtp-nte

voice-class codec 1

username 123 password 123

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a008019d649.shtml

the followed the above link but still facing the issue.

Do input

cheers

Anthony

12 Replies 12

Hello,

The Corlist should be configured on the pots dial-peer not on the Voip dial-peer

The pots dial-peer are the outgoing dial-peer , the voip is for incoming.

dial-peer voice 10 pots

corlist outgoing Local

destination-pattern [45]......

port 0/0/0

Amer

Hi

Look at this config from cisco website,

Dial-peer voice 1 voip
Destination-pattern 408….
Session target ipv4:1.1.1.1
Corlist outgoing calllocal 

Dial-peer voice 2 voip
Destination-pattern 1800…
Session target ipv4:1.1.1.1
Corlist outgoing call1800

Dial-peer voice 3 pots
Destination-pattern 1900…
Port 1/0/0
Corlist outgoing call1900 

Dial-peer voice 4 pots
Destination-pattern 911
Port 1/0/1
Corlist outgoing call911 

abov config link

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a008019d649.shtml

Hello,

Yes , as you can se their is a corlist on the pots dial-peer , did you configure it there ?

This is a sample how to do a full core list config:

dial-peer cor custom

name local

name national

name international

name emergency

name services

name tollfree

name mobile

dial-peer cor list PT-Local

member local

dial-peer cor list PT-National

member national

dial-peer cor list PT-Mobile

member mobile

dial-peer cor list PT-International

member international

dial-peer cor list PT-Emergency

member emergency

dial-peer cor list PT-Services

member services

dial-peer cor list PT-TollFree

member tollfree

dial-peer cor list CSS-Local

member local

member services

member emergency

dial-peer cor list CSS-National

member local

member national

member services

member emergency

dial-peer cor list CSS-Mobile

member local

member mobile

member services

member emergency

dial-peer cor list CSS-National-Mobile

member local

member national

member mobile

member services

member emergency

dial-peer cor list CSS-International

member local

member national

member mobile

member international

member emergency

member services

member tollfree

Please note that in outgoing dial peer we will use PT corlist with outgoing direction, and in ephone dn as incoming direction. For example:

dial-peer voice 10 pots

corlist outgoing PT-Local

destination-pattern [45]......

port 0/0/0

ephone-dn 10 octo-line

number 4001

corlist incoming CSS-Local

Amer

Hi Amer

Thanks for quick reply.

I got this config

dial-peer cor list Local

member Local

dial-peer voice 7 voip

corlist outgoing Local

description dial peer digital toward CUE

destination-pattern 9[63]......

voice-class codec 1

session protocol sipv2

session target ipv4:172.16.16.100

incoming called-number ....

dtmf-relay sip-notify

voice register pool  25

id mac 0008.1135.6998

number 1 dn 25

cor incoming Local default

dtmf-relay rtp-nte

voice-class codec 1

username 123 password 123

Do you want me to add this in addition to the above

dial-peer voice 10 pots

corlist outgoing Local

destination-pattern 9[63]......

voice-class codec 1

session protocol sipv2

session target ipv4:172.16.16.100

incoming called-number ....

dtmf-relay sip-notify

Hello,

The pots dial-peer can only be pointed to a interface not ip !!!!!

Can you please share the sh run of the gateway , or at least share the POTS dial-peers please .

Amer

Hi Amer

CME got a SIP Trunk to an Nortel PBX, on  the CME Router we dont have any ports. Th endpoint where restriction needs to be configured is a SIP Phone ( non-cisco )

show dial-peer cor

Class of Restriction

  name: Local

  name: National

  name: Mobile

  name: International

COR list

  member: Local

  member: National

COR list

  member: Local

  member: National

  member: Mobile

  member: International

COR list

  member: Local

COR list

  member: Local

  member: National

  member: Mobile

Hello,

On the extension , update the config to corlist incoming local , not cor incoming local, can you do that because this is what is configured on the ephone-dn to enable the CSS on the device.

Amer

Hi Amer

Its not a cisco endpoint so ephone-dn is not there, its a sip endpoint

corlist incomming local command is not available only available command is cor incomming local Default

CME(config-register-pool)#co?

codec  cor 

CME(config-register-pool)#cor ?

  incoming  incoming class of restriction list

  outgoing  outgoing class of restriction list

(config-register-pool)#cor outgoing ?

  WORD  cor list name

(config-register-pool)#cor outgoing Local ?

  <1-4>    corlist tag

  default  default corlist

Hi,

COR doesnt seems to work, any other solution to fullfill my requirement. Any Expert opinion

Any help on it

Hi,

Have you managed your problem?

I'm having same issue.

Best Regards

MC

Hi,

I have the same Issue with Phones Cisco SIP 3905, but I need to block the calls with a false dial-peer voice (tag) pot because in my system (CME 9.1) I have Skinny (SCCP) 6921, 6961 and 7925G. So I have After-hours configure in the Telephony-service and unblock with the pin, but in Cisco3905 SIP the pin feature is not supported neither it could be configure with a template for softkeys, (http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/admin/configuration/guide/cmeroad.html), I don't know what else to do!

If you can Help I'd appreciated.

Miguel Escobar