12-09-2013 09:59 PM - edited 03-16-2019 08:47 PM
Dear All,
I want to know how to block outgoing calls for one user, user only can do internal extension calls. I have attached the show tech here, please help me to configure the same as I am new to VOIP.
Thank You,
Abhisar.
12-09-2013 10:24 PM
Hi,
Add a New COR like the one below. And have no member assigned to it.
dial-peer cor list NoOutbound
Add it under the required ephone
eg
ephone-dn 1
number 3001
corlist incoming NoOutbound
Pls rate if helps
Regards
Ajay
12-09-2013 10:43 PM
Dear Ajay,
Thank you for the reply.
We need to block this feature for following phone. Please confirm the following config, so it should block all outgoing calls only internal extension whould work.
Also, just to know corlist incoming NoOutbound - this should be outbound as we are blocking outgoing calls?
*****
ephone-dn 11 dual-line
number 26
label 26
description Pantry P
name Pantry P
call-forward busy 39
call-forward noan 39 timeout 100
!
******
New Config
****
dial-peer cor list NoOutbound
ephone-dn 11 dual-line
number 26
label 26
description Pantry P
name Pantry P
corlist incoming NoOutbound
call-forward busy 39
call-forward noan 39 timeout 100
!
Thank You,
Abhisar.
12-09-2013 10:57 PM
Hi,
You need to apply the outgoing corlist on the outpount dial peer and the incoming cor list under the ephone.
I see your dial-peers don't have the outgoing cor assigned. So you need to assign it.
The thing is if no cor is assigned then everyone would be able to use that.
This document would give you a good insight on COR
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a008019d649.shtml
Pls Rate if it helps
Regards
Ajay
12-09-2013 11:08 PM
Dear Ajay,
Thank you. So what I understand is when there is no cor list assigned to ephon so it will take all defined cor list in the CME.
Ex.
We have defined following cor list, but did not applied on any ephone, so anyone call oull ouside for local, ld and international calls.
****
dial-peer cor list LocalCalls
dial-peer cor list LongDistance
dial-peer cor list Internationa
!
ephone-dn 3 dual-line
number 28
name Mohd Arif
call-forward busy 39
call-forward noan 39 timeout 100
!
****
Now, here we are creating new cor list and assigning to one ephone, so his calls will get match to cor list defined on ephone and do the action accordingly and if no cor list on ephone it will match all cor list configured.
Sorry, I am going in detail as I am at the begining of this VOIP concepts.
So final config to to achieve our task.
****
dial-peer cor list NoOutbound
ephone-dn 11 dual-line
number 26
label 26
description Pantry P
name Pantry P
corlist incoming NoOutbound
call-forward busy 39
call-forward noan 39 timeout 100
!
****
Thank You,
Abhisar.
12-09-2013 11:20 PM
Hi,
You also need to apply the outgoing COR on the dialpeer. Its a lock and key mechanism. You have the locks in the dialpeer and the key in the ephone. So you have COR assigned in dialpeer and no cor in ephone then that phone would be able to dial through any DP irrespective of the outgoing COR in that.
Rate if it helps
Regards
Ajay
12-09-2013 11:21 PM
"and if no cor list on ephone it will match all cor list configured." - Yes and that ephone can call any number which is configured on the CME router. Llink shared by Ajay gives a good understading about cor configuration and its behavior.
And finnaly you need to configure "corlist outgoing" on dial-peer level to block or access any dial number by ehone.
12-09-2013 11:29 PM
Dear Ajay/Prasad,
Thank you for the clarrification, I will go through that document.
Also, for now Can you please help me to provide the corlist outgoing config for dialpeers to block calls, as this is first time I am dealing with dial peers.
Thank You,
Abhisar.
12-09-2013 11:56 PM
*If you dial-peer 103 used for outgoing international calls And you want to block international calls and allow all other calls for Mohd Arif's DN.
----------------------------------------------------------
dial-peer cor list International
member local
member ld
member mob
member international
dial-peer cor list LongDistance
member local
member ld
member mob
----------------------------------------------------------------
ephone-dn 3 dual-line
number 28
name Mohd Arif
call-forward busy 39
call-forward noan 39 timeout 100
Cor incoming LongDistance
dial-peer voice 103 pots
trunkgroup FXO
destination-pattern 900T
prefix 00
Corlist outgoing International
------------------------------------------------------------------
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