cor 101

Unanswered Question
Aug 21st, 2009

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,

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
Jaime Valencia Fri, 08/21/2009 - 10:22

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

smallrain_2 Fri, 08/21/2009 - 11:14

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,

Jaime Valencia Fri, 08/21/2009 - 11:33

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

smallrain_2 Fri, 08/21/2009 - 12:35

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,

Adrian Saavedra Fri, 08/21/2009 - 14:37

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.

smallrain_2 Fri, 08/21/2009 - 19:47

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,

Actions

This Discussion