Call Blocking - COR List

Answered Question
Aug 9th, 2010

Hi;

I want to block outgoing calls for an extension. The extension will be call only internal number which is a 3 digit number.

Here if my config:

dial-peer cor custom
name internal

dial-peer cor list 1xx
member internal

ephone-dn  2  dual-line
number 101
pickup-group 100
label Kitchen
name Kitchen
corlist outgoing 1xx

dial-peer voice 20002 pots
destination-pattern 101$
huntstop
corlist outgoing 1xx
progress_ind setup enable 3
port 50/0/2

Here it is but it is not working. I want to configure: 101 extension must call only 3 digit numbers. Internal extensions starts with 1xx

and how can I test it is working or not?  I want to make a test call from router source extension 101

I have this problem too.
0 votes
Correct Answer by Brandon Buffin about 6 years 4 months ago

Try the following config.

dial-peer cor custom
name internal

name pstn

dial-peer cor list call-internal

member internal

dial-peer cor list call-pstn
member pstn

ephone-dn  2  dual-line
number 101
pickup-group 100
label Kitchen
name Kitchen
corlist incoming call-internal

dial-peer voice 1 pots (This config may vary based on your scenario)

destination-pattern 9T

corlist outgoing call-pstn

port 0/0/0

This would restrict DN 101 from dialing anything out to the PSTN. If you have multiple dial peers for PSTN access, you would need to apply "corlist outgoing call-pstn" to each of them. If either the incoming or ougoing dial peer does not have a COR list, the call will be allowed.

See the following link for more info regarding COR.

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

Hope this helps.

Brandon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Brandon Buffin Mon, 08/09/2010 - 06:38

Try the following config.

dial-peer cor custom
name internal

name pstn

dial-peer cor list call-internal

member internal

dial-peer cor list call-pstn
member pstn

ephone-dn  2  dual-line
number 101
pickup-group 100
label Kitchen
name Kitchen
corlist incoming call-internal

dial-peer voice 1 pots (This config may vary based on your scenario)

destination-pattern 9T

corlist outgoing call-pstn

port 0/0/0

This would restrict DN 101 from dialing anything out to the PSTN. If you have multiple dial peers for PSTN access, you would need to apply "corlist outgoing call-pstn" to each of them. If either the incoming or ougoing dial peer does not have a COR list, the call will be allowed.

See the following link for more info regarding COR.

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

Hope this helps.

Brandon

muratg7777 Mon, 08/09/2010 - 07:26

I used this guide : http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/admin/configuration/guide/cmeblock.html

I also added later

voice register pool 1

cor outgoing 1xx 1 1   

But could not test this yet.

In your config which dial-peer must I bind the cor list? Must I apply cor list to all of the dial-peers??

Here is my running config (3 FXO Cards):

dial-peer cor custom
name internal
name city
name overcity
name overseas
name gsm
!
!
dial-peer cor list 1xx
member internal
!
dial-peer cor list city
member city
member overcity
!
dial-peer cor list overcity
member internal
member city
member overcity
member gsm
!
dial-peer cor list full
member internal
member city
member overcity
member overseas
member gsm
!
!
dial-peer voice 1 pots
destination-pattern [2-9]......
port 0/1/0
forward-digits all
!
dial-peer voice 2 pots
destination-pattern 0[2-4].........
port 0/1/0
forward-digits all
!
dial-peer voice 3 pots
destination-pattern 00T
port 0/1/0
forward-digits all
!
dial-peer voice 4 pots
destination-pattern [2-9]......
port 0/1/1
forward-digits all
!
dial-peer voice 5 pots
destination-pattern 0[2-4].........
port 0/1/1
forward-digits all
!
dial-peer voice 6 pots
destination-pattern 00T
port 0/1/1
forward-digits all
!
dial-peer voice 7 pots
destination-pattern [2-9]......
port 0/1/2
forward-digits all
!
dial-peer voice 8 pots
destination-pattern 0[2-4].........
port 0/1/2
forward-digits all
!
dial-peer voice 9 pots
destination-pattern 00T
port 0/1/2
forward-digits all
!
dial-peer voice 10 pots
destination-pattern [2-9]......
port 0/1/3
forward-digits all
!
dial-peer voice 11 pots
destination-pattern 0[2-4].........
port 0/1/3
forward-digits all
!
dial-peer voice 12 pots
destination-pattern 00T
port 0/1/3
forward-digits all
!
dial-peer voice 16 pots
destination-pattern [2-9]......
port 0/2/1
forward-digits all
!
dial-peer voice 17 pots
destination-pattern 0[2-4].........
port 0/2/1
forward-digits all
!
dial-peer voice 18 pots
destination-pattern 00...............
port 0/2/1
forward-digits all
!
dial-peer voice 19 pots
destination-pattern [2-9]......
port 0/2/2
forward-digits all
!
dial-peer voice 20 pots
destination-pattern 0[2-4].........
port 0/2/2
forward-digits all
!
dial-peer voice 21 pots
destination-pattern 00...............
port 0/2/2
forward-digits all
!
dial-peer voice 22 pots
destination-pattern [2-9]......
port 0/2/3
forward-digits all
!
dial-peer voice 23 pots
destination-pattern 0[2-4].........
port 0/2/3
forward-digits all
!
dial-peer voice 24 pots
destination-pattern 00...............
port 0/2/3
forward-digits all
!
dial-peer voice 28 pots
preference 1
destination-pattern 05.........
port 0/2/0
forward-digits all
!
dial-peer voice 25 pots
preference 2
destination-pattern 05.........
port 0/2/1
forward-digits all
!
dial-peer voice 26 pots
preference 3
destination-pattern 05.........
port 0/2/2
forward-digits all
!
dial-peer voice 27 pots
preference 4
destination-pattern 05.........
port 0/2/3
forward-digits all

Brandon Buffin Mon, 08/09/2010 - 07:48

Each dial peer to which the DN should not have access must have an outgoing COR list applied. Remember if either the incoming (DN) or outgoing dial peer does not have a COR list applied, the call will succeed. In your scenario, you do not want the call to succeed if the this particular DN is dialing anything but an internal extension. Therefore, you will need an incomgin COR list on the DN and an outgoing COR list on each outbound dial peer.

Hope this helps.

Brandon

muratg7777 Mon, 08/09/2010 - 23:23

I exactly did your configuration but the 101 extension still call gsm and external numbers.

I binded corlist all of the dial-peers and reload the router. Seems not working.

muratg7777 Tue, 08/10/2010 - 00:27

Just talked with my customer and they said it is working now.

Thanks for your helps

Actions

This Discussion