07-15-2013 01:13 AM - last edited on 03-25-2019 08:24 PM by ciscomoderator
Hi all,
I have a situation where i need some CoR configurations to be done. Scenario as follows,
1. Allow calls between 777 and 640 ( Both are manager and secretary phones respectively)
2. Deny all other internal extensions (6XX) calling to 777 but should be able to call 640
3. 777 and 640 both should be able to call local,national and international numbers
can someone help me to design a better Class of Restriction for this scenario??
Thanks & Regards
Kajen
Solved! Go to Solution.
07-15-2013 01:34 AM
I guess this will solve your issue.
!
dial-peer cor custom
name Manager
name secretary
name other
name Manager
!
!
!
dial-peer cor list Secretary
member Manager
member Secretary
!
dial-peer cor list Other
member Other
member Secretary
!
dial-peer cor list All
member Other
member Secretary
member Manager
!
!
ephone-dn 1 dual-line
number 770
label 770
description Manager
name Manager
corlist incoming Secretary
corlist outgoing All
!
ephone-dn 2 dual-line
number 640
label 640
description Secretary
name Secretary
corlist incoming All
corlist outgoing All
!
ephone-dn 3 dual-line ( others)
number 666
label 666
description XXXX
name XXXX
corlist incoming All
corlist outgoing Other
Please rate if solve your issue...
07-15-2013 01:34 AM
I guess this will solve your issue.
!
dial-peer cor custom
name Manager
name secretary
name other
name Manager
!
!
!
dial-peer cor list Secretary
member Manager
member Secretary
!
dial-peer cor list Other
member Other
member Secretary
!
dial-peer cor list All
member Other
member Secretary
member Manager
!
!
ephone-dn 1 dual-line
number 770
label 770
description Manager
name Manager
corlist incoming Secretary
corlist outgoing All
!
ephone-dn 2 dual-line
number 640
label 640
description Secretary
name Secretary
corlist incoming All
corlist outgoing All
!
ephone-dn 3 dual-line ( others)
number 666
label 666
description XXXX
name XXXX
corlist incoming All
corlist outgoing Other
Please rate if solve your issue...
07-15-2013 01:56 AM
Thank you for your response MehmetKaya.
Can you please have a look at the below config where i have combined Local,International access with extensions. Will this config work well???
Correct me, if something missing out below.
dial-peer cor custom
name Manager
name Secretary
name Other
name Local
name International
dial-peer cor list Secretary
member Manager
member Secretary
dial-peer cor list Other
member Other
member Secretary
member Local
dial-peer cor list Other-International
member Other
member Secretary
member Local
member International
dial-peer cor list All
member Other
member Secretary
member Manager
member Local
member International
ephone-dn 1 dual-line
number 777
description Manager
corlist incoming Secretary
corlist outgoing All
ephone-dn 2 dual-line
number 640
description Secretary
corlist incoming All
corlist outgoing All
ephone-dn 3 dual-line (others without International)
number 666
corlist incoming All
corlist outgoing Other
ephone-dn 4 dual-line (others with International access)
number 676
corlist incoming All
corlist outgoing Other-International
dial-peer voice 100 pots
trunkgroup ALL_T1E1
description International_Access
destination-pattern 00T
corlist outgoing Other-International
dial-peer voice 101 pots
trunkgroup ALL_T1E1
description Local_Access
destination-pattern [1-8].......
corlist outgoing Other
Regards
Kajen
07-15-2013 02:32 AM
Hi,
It looks there is a change in the below corlist from my understanding(However it may even work without that as well.), "dial-peer cor list Other" and "dial-peer cor list Other-International" shouldn't include member secretary(because those are used by the ephone-dn 3 and 4, it should look like as below.
dial-peer cor list Other
member Other
member Local
dial-peer cor list Other-International
member Other
member Local
member International
Please rate if this helps.
Thanks
07-15-2013 02:32 AM
Firstly Do this;
dial-peer cor custom
name Manager
name Secretary
name Other
name Local
name International
dial-peer cor list Secretary
member Manager
member Secretary
dial-peer cor list Other
member Other
member Secretary
member Local
dial-peer cor list Other-International
member Other
member Secretary
member Local
member International
dial-peer cor list All
member Other
member Secretary
member Manager
member Local
member International
ephone-dn 1 dual-line
number 777
description Manager
corlist incoming Secretary
corlist outgoing All
ephone-dn 2 dual-line
number 640
description Secretary
corlist incoming All
corlist outgoing All
ephone-dn 3 dual-line (others without International)
number 666
corlist incoming All
corlist outgoing Other
ephone-dn 4 dual-line (others with International access)
number 676
corlist incoming All
corlist outgoing Other-International
dial-peer voice 100 pots
trunkgroup ALL_T1E1
description International_Access
destination-pattern 00T
corlist outgoing Other-International
dial-peer voice 101 pots
trunkgroup ALL_T1E1
description Local_Access
destination-pattern [1-8].......
corlist outgoing Other
If not then try this;
dial-peer cor custom
name Manager
name Secretary
name Other
name Local
name International
dial-peer cor list Secretary
member Manager
member Secretary
dial-peer cor list Other
member Other
member Secretary
member Local
dial-peer cor list Other-International
member Other
member Secretary
member Local
member International
dial-peer cor list All
member Other
member Secretary
member Manager
member Local
member International
ephone-dn 1 dual-line
number 777
description Manager
corlist incoming All
corlist outgoing Secretary
ephone-dn 2 dual-line
number 640
description Secretary
corlist incoming All
corlist outgoing All
ephone-dn 3 dual-line (others without International)
number 666
corlist incoming Other
corlist outgoing All
ephone-dn 4 dual-line (others with International access)
number 676
corlist incoming Other-International
corlist outgoing All
dial-peer voice 100 pots
trunkgroup ALL_T1E1
description International_Access
destination-pattern 00T
corlist outgoing Other-International
dial-peer voice 101 pots
trunkgroup ALL_T1E1
description Local_Access
destination-pattern [1-8].......
corlist outgoing Other
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