06-23-2011 03:10 AM - edited 03-16-2019 05:35 AM
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
06-23-2011 03:13 AM
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
06-23-2011 03:31 AM
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
06-23-2011 03:35 AM
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
06-23-2011 03:54 AM
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
06-23-2011 04:08 AM
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
06-23-2011 04:23 AM
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
06-23-2011 04:43 AM
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
06-23-2011 04:55 AM
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
06-23-2011 10:36 AM
Hi,
COR doesnt seems to work, any other solution to fullfill my requirement. Any Expert opinion
06-24-2011 03:15 AM
Any help on it
03-13-2012 08:42 AM
Hi,
Have you managed your problem?
I'm having same issue.
Best Regards
MC
04-11-2013 08:41 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide