08-21-2009 09:02 AM - edited 03-13-2019 06:36 PM
Hi,
I am trying to get my head around class of restriction. Found a good link below:
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a008019d649.shtml
But I still do not understand this definition.
dial-peer cor custom
name local_call
Where do the "local_call" defined?
How the system know what are the local_call numbers?
Thanks,
08-21-2009 10:22 AM
Think of this as something similar to CSS and partitions
Dial-peer cor custom
name local_call
Above is partition
Dial-peer cor list calllocal
Member local_call
Above is CSS
Dial-peer voice 1 voip
Destination-pattern 408â¦.
Session target ipv4:1.1.1.1
Corlist outgoing calllocal
It's all really nicely explained in the link, take some more time to review and understand it.
HTH
java
if this helps, please rate
08-21-2009 11:14 AM
I think I understood the logic.
But still unable to figure out what is in "local_call".
For example, partition has dn, rp, tp, and etc. What is in "local_call"?
Thanks,
08-21-2009 11:33 AM
All this is from the same link:
Dial-peer voice 1 voip
Destination-pattern 408â¦.
Session target ipv4:1.1.1.1
Corlist outgoing calllocal
Dial-peer cor list calllocal
Member local_call
Ephone-dn 1
Number 1001
Cor incoming Engineering
Dial-peer cor list Engineering
Member 911
Member local_call
Ephone-dn 1 (1001) can call 408â¦., 911, and 316â¦.numbers.
A better description of how this works is to think of it as locks and keys.
The phone COR needs to be a sublist of the DP COR to make the call. If you don't have the necessary keys, you can't call. All is in the link.
HTH
java
if this helps, please rate
08-21-2009 12:35 PM
Java,
Please forgive me for keep asking same question. May be I am so dumb. ;)
I knew I was missing very fundamental.
I still don't understand how CME match local_call with 408.... and 316.... pattern. Or even 911 pattern.
911, local_call were defined under dial-peer cor custom with "name" keyword. To me, all those 911 and local_call are ascii (not digit).
How CME match/translate to numbers?
For example, local_call to 408.... and 316.... pattern.
I understand all partition/css analogy and lock/key mechanism. I am started feeling ashame about asking more questions. ;)
Thanks,
08-21-2009 02:37 PM
Hi friend,
First, imagine we have to create a label (local_call):
Dial-peer cor custom
name local_call
Second, imagine we have to create a box (calllocal) and we have to assign it a label (local_call):
Dial-peer cor list calllocal
member local_call
Then, in this box "calllocal" we will put inside our dial peer (destination pattern or route pattern). This will be done with the command corlist outgoing.
Dial-peer voice 1 voip
Destination-pattern 408....
Session target ipv4:1.1.1.1
Corlist outgoing calllocal
Next, we have to create the permissions (or CSS):
Dial-peer cor list Engineering
Member 911
Member local_call
...
If you see, the CSS is composed by a list of labeled boxes. In this case, CSS Engineering will search for boxes labeled "911" or "local_call", so a phone can reach the destination pattern that is inside and then the call be routed properly.
You assign CSS to a phone with the command corlist incoming:
Ephone-dn 1
Number 1001
Cor incoming Engineering
I hope it helps you understanding COR, if it does please rate.
Best regards,
- Adrián.
08-21-2009 07:47 PM
Thanks Adrian and Java.
Ok. I was confused with lables and digit.
While I was started reading I thought 911, local_call digit or digit alias.
Adrian, your box and label analogy help.
Soon after I saw them as lables, everything click!!!
Thanks again,
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: