H.323 Gatekeeper Fundamentals 462 3

H.323 Gatekeeper Fundamentals

This area reviews the functions and roles of gatekeepers and agenda gatekeepers.

Also, this area discusses in abyss the Registration, Admission, and Status (RAS) signaling

sequencing amid gateways and gatekeepers and discusses the use of the

Gatekeeper Transaction Message Protocol (GKTMP).

Configuring H.323 Gatekeepers

Configuring H.323 Gatekeepers

Gatekeepers are a above allotment of average to ample H.323 VoIP arrangement solutions. When

used, these apparatus acquiesce for dial-plan scalability and abate the charge to manage

global punch affairs locally. In this chapter, you will apprentice the functions of a attendant and

directory gatekeeper. Additionally, you will apprentice how to configure gatekeepers to interoperate

with gateways and how to accommodate attendant back-up in average to large

VoIP networks.

Verifying COR

Verifying COR

You can use the appearance dial-peer cor command to affectation corlists and members, as demonstrated

in Example 7-40.

Example 7-40 appearance dial-peer cor Command

434 Authorized Self-Study Guide Cisco Articulation over IP (CVOICE)

Router#show dial-peer cor

Class of Restriction

name: 911

name: local

name: ld

name: intl

COR account <911call>

member: 911

COR account

member: local

COR account

member: ld

COR account

member: intl

Summary

The capital capacity covered in this affiliate are the following:

■ Chiffre abetment is the assignment of abacus or adding digits from the aboriginal dialed

number to board user dialing habits or aperture needs.

■ Chiffre stripping strips any outbound digits that absolutely bout the destination pattern

of a accurate punch peer.

■ Chiffre forwarding specifies the cardinal of digits that charge be forwarded to a telephony

interface.

■ Chiffre prefixing adds digits to the advanced of the punch cord afore it is forwarded to a

telephony interface.

■ Cardinal amplification is activated globally to all calls, not aloof to calls analogous a single

designated punch peer.

■ By default, back a absolute router matches a punch cord to an outbound POTS

dial peer, the router strips off the left-justified digits that absolutely bout the destination

pattern.

■ You can use the clid command to adapt addition ID information.

■ You can use articulation adaptation profiles to alter the Cisco Unified CME dialplanpattern

command.

■ Configuring chiffre abetment ability crave the use of basal commands as able-bodied as

translation rules and profiles.

■ The alarm acquisition argumentation on Cisco IOS routers application the H.323 agreement relies on the

dial associate construct.

■ Routers charge bout the actual entering and outbound punch aeon to successfully

complete a call.

■ Punch aeon in a coursing accumulation are called according to belief such as longest match,

explicit preference, or accidental selection.

■ Best practices accommodate a absence POTS punch associate and bombastic Cisco UCM.

■ Back alien sites are involved, altered aisle alternative strategies are required,

including site-code dialing, toll-bypass, and TEHO.

■ Site-code dialing uses the abstraction of prefixing a armpit cipher in advanced of the actual

extension and can be accumulated with toll-bypass to avenue calls over a WAN link

instead of a PSTN connection.

■ TEHO extends the abstraction of toll-bypass by acquisition calls over a WAN to the closest

PSTN blemish to abstain cher long-distance and all-embracing buzz charges.

■ Site-code agreement requires that anniversary armpit be assigned a different armpit code.

■ TEHO agreement requires that all calls be baffled over the WAN unless the WAN

is down.

■ Calling privileges are acclimated aural a punch plan to ascertain the destination a user is

allowed to call.

■ Calling privileges are implemented on Cisco IOS gateways application the Class of

Restriction (COR) feature.

■ For Cisco Unified CME, a corlist is anon assigned to an adapted ephone. To

assign a corlist in SRST mode, a corlist is akin to a ambit of agenda numbers in

Communications Manager fallback agreement mode.

■ Configuring COR includes configuring called CORs and corlists, and assigning

corlists to punch peers, ephones, or SRST.

Configuring COR for SRST

Configuring COR for SRST

The archetype illustrated in Figure 7-36 and Archetype 7-39 shows how to configure COR

for SRST.

Chapter 7: Configuring Advanced Punch Plans 433

V V

WAN

Extensions:

2000 - 2100

R1 R2 Unified

Communications

Manager

Figure 7-36 COR SRST Scenario Topology

Example 7-39 SRST COR Configuration

R1(config)#call-manager-fallback

R2(config-cm-fallback)#cor admission INTL 1 2000 – 2100

To configure COR for SRST, use the cor command in SRST agreement mode.

You can accept up to 20 corlists for anniversary admission and approachable call. A absence COR is

assigned to agenda numbers that do not bout any corlist numbers or cardinal ranges.

An assigned COR is invoked for the punch aeon and created for anniversary agenda number

automatically during Communications Manager fallback registration.

When allotment an admission or approachable corlist to SRST ephones, corlists can be

assigned to a specific agenda cardinal ambit (as the afterward syntax illustrates) or a

default corlist can be applied.

Router(config)#call-manager-fallback

Router(config-cm-fallback)#cor admission intl 1 2000 - 2100

The syntax of the cor command issued in call-manager-fallback agreement approach is

cor {incoming | outgoing} cor-list-name [cor-list-number starting-number -

ending-number | default]

The afterward is an account of the syntax:

■ incoming: corlist to be acclimated by admission punch peers.

■ outgoing: corlist to be acclimated by approachable punch peers.

■ cor-list-name: corlist name.

■ cor-list-number: corlist identifier. The best cardinal of corlists that can be created

is 20, absolute admission or approachable punch peers. The aboriginal six corlists are

applied to a ambit of agenda numbers. The agenda numbers that do not accept a

COR agreement are assigned to the absence corlist, provided a absence corlist has

been defined.

■ starting-number - ending-number: Agenda cardinal range, such as 2000–2025.

■ default: Instructs the router to use an absolute absence corlist.

Configuring COR for Cisco Unified Communications Manager

Configuring COR for Cisco Unified Communications Manager

Express

In the afterward example, you are appropriate to configure COR for Cisco Unified CME

according to the afterward arrangement requirements.

For this example, three calling advantage classes are required:

■ Local: This chic should acquiesce emergency and bounded calls.

■ Continued Distance: This chic should acquiesce emergency, local, and continued ambit calls.

■ International: This chic should acquiesce emergency, local, continued distance, and international

calls.

Note No accepted allotment conventions abide for the advantage classes. Ensure that you

choose a anecdotic name.

You can use the afterward accomplish to configure COR for Cisco Unified CME:

Step 1. Ascertain the four alone “tags” (CORs) to be acclimated as corlist associates with

the command dial-peer cor custom.

Step 2. Ascertain the corlists that will be assigned “outgoing” to the PSTN punch peers

with the command dial-peer cor account corlist-name.

Step 3. Ascertain the corlists that will be assigned “incoming” from the bounded punch peers

with the command dial-peer cor account corlist-name.

Step 4. Associate corlists with absolute VoIP or POTS PSTN dial-peers by application the

command corlist {incoming | outgoing} corlist-name aural the dial-peer

configuration.

Step 5. Accredit the corlists for user privileges to the agnate ephone-dns.

The cartography apparent in Figure 7-35 will be acclimated throughout the agreement accomplish in

this scenario. Notice that the Chicago armpit is handled by a Cisco Unified CME router.

428 Authorized Self-Study Guide Cisco Articulation over IP (CVOICE)

PSTN

Chicago

+1 312 555XXXX

CUCME

Router

911

+1 ...

+1 ...

+49...

International – Emergency, Local, Continued Distance, International

Long Ambit – Emergency, Local, Continued Distance

Local – Emergency, Local

Required Calling Privileges

CUCME = Cisco Unified Communications Manager Express

0/0/0

1003 1004 Phone1-1

1001

International

Phone1-2

1002

Local Only

Figure 7-35 COR Cisco UCME Book Topology

Step 1: Ascertain COR Labels

The aboriginal footfall is to ascertain the alone CORs.

Four COR labels will be defined:

■ 911: Allows calls to emergency 911

■ Local: Allows bounded calls only

■ LD: Allows continued ambit calls

■ INTL: Allows all-embracing calls

You can use the afterward action to configure these four CORs.

Step 1. Use the dial-peer cor custom command to access COR agreement mode.

Router(config)#dial-peer cor custom

Step 2. Use the name command in COR agreement approach to actualize the named

CORs.

Router(config-dp-cor)#name 911

Router(config-dp-cor)#name local

Router(config-dp-cor)#name ld

Router(config-dp-cor)#name intl

Step 2: Configure Outbound Corlists

After you ascertain the CORs, you can configure the admission and approachable corlists.

Four approachable corlists will be defined:

■ 911call: Allows calls to emergency 911

■ Localcall: Allows bounded calls only

■ Ldcall: Allows continued ambit calls

■ Intlcall: Allows all-embracing calls

The afterward agreement defines the corlists acclimated for the outbound PSTN punch peers.

Note that anniversary corlist contains a distinct COR member.

Step 1. Ascertain a corlist name for 911 calls.

Router(config)#dial-peer cor account 911call

Step 2. Add associates to dial-peer corlists. The affiliate needs to advertence a previously

configured COR tag.

Router(config-dp-corlist)#member 911

Chapter 7: Configuring Advanced Punch Plans 429

Step 3. Repeat Accomplish 1 and 2 for the added approachable corlists.

Router(config)#dial-peer cor account localcall

Router(config-dp-corlist)#member local

Router(config)#dial-peer cor account ldcall

Router(config-dp-corlist)#member ld

Router(config)#dial-peer cor account intlcall

Router(config-dp-corlist)#member intl

Step 3: Configure Entering Corlists

After the agreement of the outbound punch aeon is complete, you can configure the

inbound punch peer. The admission corlists will after be assigned to the ephones and

inbound punch aeon acclimated for absorbed phones.

Four admission corlists will be defined:

■ 911: Allows 911 calls only

Member is 911.

■ local: Allows 911 and bounded calls only

Members are 911 and local.

■ ld: Allows 911, local, and continued ambit calls

Members are 911, local, and ld.

■ intl: Allows 911, local, continued distance, and all-embracing calls

Members are 911, local, ld, and intl.

The afterward accomplish ascertain the four entering corlists:

Step 1. The afterward agreement creates a corlist that corresponds to the calling

privilege acceptance alone emergency calls:

Router(config)#dial-peer cor account 911

Router(config-dp-corlist)#member 911

Step 2. The afterward agreement creates a corlist that corresponds to the calling

privilege acceptance alone emergency and bounded calls:

Router(config)#dial-peer cor account local

Router(config-dp-corlist)#member 911

Router(config-dp-corlist)#member local

Step 3. The afterward agreement creates a corlist that corresponds to the calling

privilege acceptance emergency, local, and continued ambit calls:

Router(config)#dial-peer cor account ld

Router(config-dp-corlist)#member 911

Router(config-dp-corlist)#member local

Router(config-dp-corlist)#member ld

430 Authorized Self-Study Guide Cisco Articulation over IP (CVOICE)

Step 4. The afterward agreement defines the corlist that corresponds to the calling

privilege acceptance emergency, local, continued distance, and all-embracing calls:

Router(config)#dial-peer cor account intl

Router(config-dp-corlist)#member 911

Router(config-dp-corlist)#member local

Router(config-dp-corlist)#member ld

Router(config-dp-corlist)#member intl

Step 4: Accredit Corlists to PSTN Punch Peers

You can again ascertain the agnate outbound punch aeon application the PSTN corlists.

Note that anniversary of the punch aeon is configured with the agnate approachable corlist:

■ Dial-peer 911 has the approachable 911call corlist.

■ Dial-peer 9911 has the approachable 911call corlist.

■ Dial-peer 9 has the approachable localcall corlist.

■ Dial-peer 91 has the approachable ldcall corlist.

■ Dial-peer 9011 has the approachable intlcall corlist.

The afterward agreement shows the complete dial-peer configuration, including correct

destination patterns, chiffre prefixing, and corlist configuration:

Step 1. Access dial-peer agreement mode.

Router(config)#dial-peer articulation 911 pots

Router(config-dial-peer)#destination-pattern 911

Router(config-dial-peer)#forward-digits all

Step 2. Specify the corlist to be acclimated back a defined punch associate acts as the incoming

or approachable punch peer. The corlist name needs to advertence a ahead configured

corlist.

Router(config-dial-peer)#corlist approachable 911call

Router(config-dial-peer)#port 0/0/0:23

Step 3. Repeat Accomplish 1 and 2 for the actual punch peers.

Router(config)#dial-peer articulation 9911 pots

Router(config-dial-peer)#destination-pattern 9911

Router(config-dial-peer)#forward-digits 3

Router(config-dial-peer)#corlist approachable 911call

Router(config-dial-peer)#port 0/0/0:23

Router(config)#dial-peer articulation 9 pots

Router(config-dial-peer)#destination-pattern 9[2-9]......

Router(config-dial-peer)#corlist approachable localcall

Router(config-dial-peer)#port 0/0/0:23

Router(config)#dial-peer articulation 91 pots

Router(config-dial-peer)#destination-pattern 91[2-9]..[2-9]......

Chapter 7: Configuring Advanced Punch Plans 431

Router(config-dial-peer)#prefix 1

Router(config-dial-peer)#corlist approachable ldcall

Router(config-dial-peer)#port 0/0/0:23

Router(config)#dial-peer articulation 9011 pots

Router(config-dial-peer)#destination-pattern 9011T

Router(config-dial-peer)#prefix 011

Router(config-dial-peer)#corlist approachable intlcall

Router(config-dial-peer)#port 0/0/0:23

Step 5: Accredit Corlists to Admission Punch Aeon and Ephone-DNs

After the agreement of the outbound punch aeon is complete, you can accredit corlists to

incoming punch aeon and ephone-dns, as apparent in Archetype 7-38.

Example 7-38 Accredit Corlists to Admission Punch Aeon and Ephone-DNs

432 Authorized Self-Study Guide Cisco Articulation over IP (CVOICE)

Router#show running-config

... OUTPUT OMMITTED ...

dial-peer articulation 1003 pots

destination-pattern 1003$

port 1/0/0

corlist admission local

corlist admission 911

dial-peer articulation 1004 pots

destination-pattern 1004$

port 1/0/1

corlist admission 911

corlist admission local

corlist admission ld

corlist admission intl

ephone-dn 1

corlist admission intl

ephone-dn 2

corlist admission local

... OUTPUT OMMITTED ...

This agreement is deployed for the ephones:

Step 1. Accredit a corlist for anniversary ephone-dn.

Step 2. Accredit corlists to punch aeon for the absorbed phones.

Understanding COR for SRST and CME

Understanding COR for SRST and CME

When you use COR with SRST and Cisco Unified CME, a corlist cannot be simply

bound to all punch peers, because one alarm leg will be represented by activating punch peers

derived from ephones.

For Cisco Unified CME, the corlist is anon assigned to the adapted ephone-dn and

will again be included in the activating ephone punch peer. Both entering and outbound

corlists can be applied. An entering corlist on an ephone restricts the destination to

which a user can dial, admitting an outbound corlist defines who can alarm a user.

For accepted SRST, ephones are not statically configured on the Cisco IOS gateway.

Instead, the aperture pulls the agreement from the buzz and dynamically creates corresponding

ephones. To accredit a corlist in SRST mode, a corlist is akin to a ambit of

directory numbers in all-around SRST agreement mode.

426 Authorized Self-Study Guide Cisco Voice over IP (CVOICE)

Note COR is not bound to Cisco Unified CME or SRST. COR can be activated to any

inbound and outbound punch associate on a Cisco IOS gateway.

Figure 7-34 shows a sample agreement for Cisco Unified CME and SRST.

This Cisco Unified CME agreement assigns the admission corlist INTL to ephone 1:

Router(config)#ephone-dn 1

Router(config-ephone-dn)#corlist admission INTL

This SRST agreement assigns the admission corlist INTL to all phones with the DN

2000 through 2010:

Router(config)#call-manager-fallback

Router(config-cm-fallback)#cor admission INTL 1 2000 – 2010

Cisco Unified Communications

Manager Express

SRST

ephone1

Extension

2010

call-manager-fallback

cor admission INTL 1 2000 - 2100

911

Local

LD

INTL

COR account INTCall

INTL

Figure 7-34 COR and SRST and Cisco Unified CME Example

Chapter 7: Configuring Advanced Punch Plans 427

COR account INTL

911

Local

LD

INTL

COR account INTCall

INTL

Incoming COR Account Outgoing COR List

ephone-dn 1

corlist admission INTL

Cisco Unified Communications

Manager Express

SRST

ephone1

Extension

2010

call-manager-fallback

cor admission INTL 1 2000 - 2100

Note The cardinal that precedes the agenda cardinal ambit in the SRST agreement is

the corlist tag. Up to 20 tags can be configured (that is, up to 20 altered corlists can be

used for SRST ephones).

Calling Privileges

Calling Privileges

COR is a Cisco articulation aperture affection that enables Class of Service (COS), or calling privileges,

to be assigned. It is best frequently acclimated with Cisco Unified SRST and Cisco

Unified CME but can be activated to any punch peer.

The COR affection provides the adequacy to abjure assertive alarm attempts based on the

incoming and approachable CORs provisioned on the punch peers.

COR is acclimated to specify which admission dial-peer can use which approachable dial-peer to

make a call. Each dial-peer can be provisioned with an admission and an approachable corlist.

COR functionality provides the adequacy to abjure assertive alarm attempts on the base of

the admission and approachable CORs that are provisioned on the punch peers. This functionality

provides adaptability in arrangement design, allows users to block calls (for example, calls

to 900 numbers), and applies altered restrictions to alarm attempts from different

originators.

Figure 7-30 shows a avenue plan consisting of assorted PSTN punch peers, accessible for COR.

420 Authorized Self-Study Guide Cisco Articulation over IP (CVOICE)

dial-peer articulation 911 pots

destination-pattern 911

forward-digits all

port 0/0/0:23

dial-peer articulation 9911 pots

destination-pattern 9911

forward-digits 3

port 0/0/0:23

dial-peer articulation 9 pots

destination-pattern 9[2-9]......

port 0/0/0:23

dial-peer articulation 91 pots

destination-pattern 91[2-9]..[2-9]......

prefix 1

port 0/0/0:23

dial-peer articulation 9011 pots

destination-pattern 9011T

prefix 011

port 0/0/0:23

Emergency Calls (With and Without 9)

Local Calls (7-Digit Dialing)

Long-Distance Calls (11-Digit Dialing)

International Calls (Variable Length)

Figure 7-30 Calling Privileges

The 911 punch associate is acclimated for emergency calls to the PSTN. Notice the forward-digits all

command, which sends all akin digits (911 in this case) to the PSTN. Without this

command, the punch associate would be matched, but no digits would be beatific to the PSTN

because of the absence digit-strip command.

The 9911 punch associate is additionally acclimated for emergency calls, but this time it additionally includes the

PSTN admission cipher 9. Note that alone three digits are beatific to the PSTN application the forwarddigits

3 command, because the PSTN admission cipher 9 charge not be included in the call

setup.

The 9 punch associate is acclimated for PSTN bounded calls for seven-digit dialing in the United States.

The 91 punch associate is acclimated for PSTN civic or long-distance calls for 11-digit dialing in

the United States. Because the absolutely akin digits are 91, the civic identifier 1

needs to be prefixed. This is done application the prefix 1 command.

The 9011 punch associate is acclimated for PSTN capricious breadth all-embracing calls from the United

States. Because 9011 will be bare because of the digit-strip setting, the prefix 011

command is acclimated to prefix the actual all-embracing identifier to the alleged number.

Understanding COR on Cisco IOS Gateways

Understanding COR on Cisco IOS Gateways

The axiological apparatus at the centermost of the COR functionality relies on the definition

of admission and approachable corlists. Each corlist is authentic to accommodate a cardinal of

members, which are tags ahead authentic aural Cisco IOS. Assorted CORs are

defined, and corlists are configured that accommodate these CORs. Each corlist is again assigned

to punch aeon as an admission or approachable corlist.

When a alarm goes through the router, an admission punch associate and an approachable punch associate are

selected based on the Cisco IOS dial-peer acquisition logic. If corlists are associated with the

selected punch peers, the afterward added analysis is performed afore extending the call:

■ If the COR activated on an admission dial-peer (for admission calls) is a cool set or

equal to the COR activated to the approachable dial-peer (for approachable calls), the alarm goes

through.

■ If the COR activated on an admission dial-peer (for admission calls) is NOT a cool set

or according to the COR activated to the approachable dial-peer (for approachable calls), the alarm is

rejected.

Chapter 7: Configuring Advanced Punch Plans 421

Note Admission and approachable are agreement acclimated with account to the articulation ports. For example,

if you angle up a buzz to one of the FXS ports of a router and try to accomplish a call

from that phone, it is an admission alarm for the router/voice port. Similarly, if you accomplish a

call to that FXS phone, it is an approachable call.

If no corlist statements are activated to some punch peers, the afterward backdrop apply:

■ When no admission corlist is configured on a dial-peer, the absence admission corlist is

used. The absence admission corlist has the accomplished accessible priority, and it therefore

allows this dial-peer to admission all added dial-peers, behindhand of their approachable corlist.

■ When no approachable corlist is configured on a dial-peer, the absence approachable corlist is

used. The absence approachable corlist has the everyman accessible priority, and it therefore

allows all added dial-peers to admission this dial-peer, behindhand of their incoming

corlist.

COR Behavior Example

Figure 7-31 shows the behavior of COR.

422 Authorized Self-Study Guide Cisco Articulation over IP (CVOICE)

dial-peer articulation 1 voip

dial-peer articulation 2 pots

destination-pattern 1…

dial-peer articulation 3 pots

destination-pattern 2…

corlist admission c1

Member A

Member B

Member C

corlist approachable c2

corlist approachable c3

Member A

Member B

Member A

Member B

? Member D

1. Alarm 100

Dials 1XXX

2. Alarm 200

Dials 2XXX

Figure 7-31 COR Behavior

The VoIP punch associate is associated with the c1 admission corlist, with associates A, B, and C.

You can anticipate of associates of the admission corlist as “keys.”

The aboriginal POTS punch associate has a destination arrangement of 1... and is associated with the c2

outgoing corlist, with associates A and B. The additional POTS punch associate has a destination

pattern of 2.. and is associated with the c3 approachable corlist, with associates A, B, and D.

You can anticipate of associates of the approachable corlists as “locks.”

For the alarm to succeed, the admission corlist of the admission punch associate charge accept all the

“keys” bare to accessible all the “locks” of the approachable corlist of the approachable punch peer.

In the archetype apparent in the Figure 7-31, a aboriginal VoIP alarm with destination 100 is received

by the router. The Cisco IOS call-routing argumentation matches the admission alarm leg with the

VoIP punch associate and the approachable alarm leg with the aboriginal POTS punch peer. The COR argumentation is

then applied. Because the c1 admission corlist has all the keys bare for the c2 outgoing

corlist locks (A and B), the alarm succeeds.

A additional VoIP alarm with destination 200 is again accustomed by the router. The Cisco IOS

call-routing argumentation matches the admission alarm leg with the VoIP punch associate and the outgoing

call leg with the additional POTS punch peer. The COR argumentation is again applied. Because the c1

incoming corlist is missing one “key” for the c3 approachable corlist (D), the alarm is rejected.

Calling privileges on Cisco IOS gateways use two components, as illustrated in

Figure 7-32.

Chapter 7: Configuring Advanced Punch Plans 423

COR account INTL

911

Local

LD

INTL

COR account INTCall

INTL

COR account LOCAL

911

Local

Incoming COR account Approachable COR list

Individual

CORs

Figure 7-32 COR Components

The two apparatus are

■ COR: A COR is the architecture block of calling privileges.

■ corlist: A corlist contains assorted CORs and is apprenticed to punch peers.

When a alarm is routed, the aperture checks the corlist of the entering and the corlist of

the outbound punch peer. Table 7-7 reviews the assorted COR results, which depend on the

corlists applied, or not applied, to admission and/or approachable punch peers.

Table 7-7 Alarm Acquisition with Corlists

Corlist on Corlist on

Incoming Outgoing

Dial Associate Punch Associate Result Reason

No COR. No COR. Alarm succeeds. COR is not involved.

No COR. Corlist activated for Alarm succeeds. The admission punch peer, by

outgoing calls. default, has the accomplished COR priority

when no COR is applied.

Therefore, if you administer no COR

for an admission alarm leg to a dial

peer, this punch associate can accomplish calls

out of any added punch peer, regardless

of the COR agreement on

the approachable punch peer.

The corlist activated No COR. Alarm succeeds. The approachable punch peer, by

for admission calls. default, has the everyman priority.

Because there are some COR

configurations for admission calls

on the incoming, basic dial

peer, it is a superset of the outgoing

call COR configurations on

the outgoing, absolute dial

peer.

The corlist activated The corlist activated Alarm succeeds. The corlist for admission calls on

for admission calls. for approachable calls. the admission punch associate is a

(Superset of corlists (Subset of corlists superset of corlists for outgoing

applied for approachable activated for in- calls on the approachable punch peer.

calls on the approachable advancing calls on the

dial peer.) admission punch peer.)

The corlist activated for The corlist activated Alarm cannot Corlists for admission calls on the

incoming calls. for approachable calls. be completed admission punch associate are not a super

(Subset of corlists (Superset of corlists appliance this set of corlists for approachable calls

applied for approachable activated for in- approachable punch on the approachable punch peer.

calls on the approachable advancing calls on the peer.

dial peer.) admission punch peer.)

COR Example

Figure 7-33 illustrates the abstraction of COR on Cisco IOS gateways.

424 Authorized Self-Study Guide Cisco Articulation over IP (CVOICE)

Figure 7-33 COR Example

A archetypal appliance of COR is to ascertain a COR name for the cardinal that an outgoing

dial associate serves, again ascertain a account that contains alone that COR name, and accredit that list

as corlist approachable for this approachable punch peer. For example, the punch associate with destination

pattern 9011T can accept a corlist approachable that contains COR INTL, as apparent in

Figure 7-33.

In this example, four CORs are defined:

■ 911

■ Local

■ LD

■ INTL

The four CORs are acclimated to actualize three admission corlists that will be assigned to phones

and users:

■ Local: This corlist contains the CORs 911 and Local. This account will acquiesce users to

place emergency calls and bounded PSTN calls.

■ LD: This corlist contains the CORs 911, Local, and LD. This corlist will acquiesce users

to abode emergency calls, bounded calls, and continued ambit PSTN calls.

■ INTL: This corlist contains the CORs 911, Local, LD, and INTL. This corlist will

allow users to abode any PSTN call.

Chapter 7: Configuring Advanced Punch Plans 425

COR account INTCall

INTL

COR account Local

Incoming COR list

Outgoing COR list

COR account INTL

COR account LD

911

Local

911

Local

LD

INTL

911

Local

LD

Members International

LD Service

Provider

dial-peer articulation 9011 pots

destination-pattern 9011T

prefix 011

cor approachable INTcall

port 0/0:23

COR INTL is

included in COR list

INTL; alarm is routed.

0/0

Member

COR INTL is not

included in COR lists

Local or LD; calls

are blocked.

A corlist will be assigned to an approachable POTS punch associate acclimated to avenue all-embracing calls

to the all-embracing continued ambit account provider:

■ INTLCall: This corlist contains the COR INTL and will be acclimated for outbound INTL

PSTN calls.

When a alarm is baffled appliance the admission corlist INTL and is akin adjoin the outgoing

corlist INTLCall, the alarm succeeds because COR INTL is included in the corlist INTL.

When a alarm is baffled appliance the admission corlist Bounded and is akin adjoin the outgoing

corlist INTLCall, the alarm is blocked because COR INTL is not included in the corlist

Local.

Implementing Calling Privileges on Cisco IOS

Implementing Calling Privileges on Cisco IOS

Gateways

Calling privileges on Cisco IOS gateways are punch plan components, which ascertain the

types of calls that a phone, or accumulation of phones, is able to place. This area describes

the abstraction of calling privileges and how they can be implemented on Cisco IOS gateways

using COR.

Configuring TEHO

Configuring TEHO
You can complete the following tasks to configure TEHO:
Step 1. Define the VoIP outbound digit manipulation.
Step 2. Define the outbound VoIP dial peer.
Step 3. Define the outbound POTS dial peer.
To illustrate the configuration of TEHO, consider a scenario whose topology is presented
in Figure 7-29.
The design requirements for this scenario are as follows:
■ San Jose:
■ Local PSTN numbering range: 408XXXXXXX
■ Austin:
■ Local PSTN numbering range: 512XXXXXXX
All calls from Austin to the San Jose PSTN should be routed using the WAN link if possible.
If the WAN link fails, the PSTN link should be used.
To ensure that the correct ANI is presented for TEHO calls, a SJC-TEHO-OUT voice
translation profile should be configured and attached to both dial peers used for TEHO
to the San Jose site.
Figure 7-29 TEHO Configuration Scenario Topology
Step 1: Define VoIP Outbound Digit Manipulation for TEHO
Example 7-34 shows the configuration to define digit manipulation for TEHO on router
R3 in this scenario.
Example 7-34 Step 1—Defining VoIP Outbound Digit Manipulation for TEHO
418 Authorized Self-Study Guide Cisco Voice over IP (CVOICE)
IP WAN
192.168.1.1
PSTN
408 555-0100
R1
Phone1-1
2001
Phone1-2
2002
Phone2-1
2001
Phone2-2
2002
Austin
San Jose
R3
If the WAN fails, use
the Austin PSTN.
Use the WAN link
for calls to the
San Jose PSTN.
V
DID: 408555XXXX DID: 512555XXXX
R3(config)#voice translation-rule 10
R3(cfg-translation-rule)#rule 1 /^2/ /15125552/
R3(cfg-translation-rule)#exit
R3(config)#voice translation-profile SJC-TEHO-OUT
R3(cfg-translation- profile)#translate calling 10
Step 2: Define Outbound VoIP TEHO Dial Peer
To ensure that the correct ANI is presented for TEHO calls, an SJC-TEHO-OUT voice
translation profile is configured and attached to both VoIP dial peers used for TEHO to
the San Jose site.
Example 7-35 defines an outbound dial peer on router R3 that routes calls to San Jose.
Example 7-35 Step 2—Defining an Outbound VoIP TEHO Dial Peer
R3(config)#dial-peer voice 914081 voip
R3(config-dial-peer)#destination-pattern 91408.......
R3(config-dial-peer)#session-target ipv4:192.168.1.1
R3(config-dial-peer)#translation-profile outgoing SJC-TEHO-OUT
Step 3: Define Outbound POTS TEHO Dial Peer
To support pure PSTN fallback routing in case the WAN link fails, an additional dial peer
is configured. The destination-pattern 91408 and the prefix 1408 commands, as shown
in Example 7-36, strip off the national identifier and the San Jose area code.
Example 7-36 Step 3—Defining an Outbound POTS TEHO Dial Peer
Chapter 7: Configuring Advanced Dial Plans 419
R3(config)#dial-peer voice 914083 pots
R3(config-dial-peer)#destination-pattern 91408.......
R3(config-dial-peer)#prefix 1408
R3(config-dial-peer)#preference 1
R3(config-dial-peer)#port 0/0/0:23
Note The prefix command could also be replaced by the forward-digits command or a
voice translation profile.
Complete TEHO Configuration
As a reference, Example 7-37 provides the full TEHO configuration on router R3.
Example 7-37 TEHO Complete Configuration
R3#show running-config
... OUTPUT OMITTED ...
voice translation-rule 10
rule 1 /^2/ /13125552/
voice translation-profile SJC-TEHO-OUT
translate calling 10
dial-peer voice 914081 voip
destination-pattern 91408.......
session-target ipv4:192.168.1.1
translation-profile outgoing SJC-TEHO-OUT
dial-peer voice 914083 pots
destination-pattern 91408.......
prefix 1408
preference 1
port 0/0/0:23
... OUTPUT OMITTED ...

Inbound Site-Code Dialing Example

Inbound Site-Code Dialing Example

To allegorize an entering armpit cipher dialing alarm flow, accede the cartography presented in

Figure 7-28 and its agnate agreement in Example 7-33.

IP WAN

PSTN

Phone1-1 10.10.0.1

2001

San Jose

Phone2-1

2001

Austin

R3

V V

Figure 7-28 Entering Site-Code Dialing Example Topology

Inbound Site-Code Dialing Agreement Example

Chapter 7: Configuring Advanced Punch Plans 417

R3(config)#voice translation-rule 2

R3(cfg-translation-rule)#rule 1 /^8022/ /2/

R3(cfg-translation-rule)#exit

R3(config)#voice translation-profile intersite-in

R3(cfg-translation-profile)#translate alleged 2

R3(cfg-translation-profile)#exit

R3(config)#dial-peer articulation 8010 voip

R3(config)#destination-pattern 8012...

R3(config)#session-target ipv4:10.10.0.1

R3(config)#translation-profile admission intersite-in

Figure 7-28 shows how the aforementioned VoIP punch aeon can be acclimated for both entering and outbound

calls. Because the aperture in San Jose is additionally configured to prefix the armpit cipher to

the calling cardinal for calls to Austin, the entering calling cardinal to Austin matches the

destination arrangement of the San Jose punch peers. The entering adaptation contour again strips

off the Austin 802 armpit cipher from the entering alleged number, and the alarm can be routed

to Phone2-1 in Austin.

Outbound Site-Code Dialing Example

Outbound Site-Code Dialing Example
To illustrate an outbound site code dialing call flow, consider the topology presented in
Figure 7-27 and its corresponding configuration in Example 7-32.
Chapter 7: Configuring Advanced Dial Plans 415
IP WAN
PSTN
V
R1
10.10.0.1
Site Code: 801
408 555-2001
Phone1-1
(2001)
San Jose
Site Code: 802
312 555-2001
Phone2-1
(2001)
Austin
R3
V
1
2
Figure 7-27 Outbound Site-Code Dialing Topology Example
Example 7-32 Outbound Site-Code Dialing Configuration Example
R3(config)#voice translation-rule 1
R3(cfg-translation-rule)#rule 1 /^2/ /8022/
R3(cfg-translation-rule)#exit
R3(config)#voice translation-profile intersite-out
R3(cfg-translation-profile)#translate calling 1
R3(cfg-translation-profile)#exit
R3(config)#dial-peer voice 8010 voip
R3(config-dial-peer)#destination-pattern 8012...
R3(config-dial-peer)#session-target ipv4:10.10.0.1
R3(config-dial-peer)#translation-profile outgoing intersite-out
R3(config-dial-peer)#exit
R3(config)#voice translation-rule 3
R3(cfg-translation-rule)#rule 1 /^8012/ /14085552/
R3(cfg-translation-rule)#exit
R3(config)#voice translation-profile 801PSTN
R3(cfg-translation-profile)#translate called 3
R3(cfg-translation-profile)#exit
R3(config)#dial-peer voice 8011 pots
R3(config-dial-peer)#destination-pattern 8012...
R3(config-dial-peer)#preference 1
R3(config-dial-peer)#port 0/0/0:23
R3(config-dial-peer)#translation-profile outgoing 801PSTN
Following are the specific steps that are involved in this example:
1. Phone2-1 in Austin dials 801-2001 (that is, it places a call to San Jose Phone1-1). The
incoming called number, or DNIS, is 801-2001 and the calling number, or ANI, is
2001. The called number matches two dial peers: 8010 and 8011. Dial peer 8011 is
matched because it has the best preference, and the translation-profile outgoing
intersite-out command is applied because this is an outbound call. Thus, the call is
routed to San Jose with DNIS 8012001 and ANI 8022001.
2. If the WAN fails, the call will be routed using dial-peer 8011 with preference 1 configured.
The translation-profile 801 PSTN is used, which modifies the DNIS to
14085552001 (that is, the call can be routed by the PSTN to San Jose). Note that the
ANI is modified using the global voice translation profiles configured on the voice
port, which are used for all PSTN calls.
416 Authorized Self-Study Guide Cisco Voice over IP (CVOICE)
Note In addition to the digit manipulation used for site-code dialing, global voice translation
profiles configured on the voice port are used.

Configuring Site-Code Dialing and Toll-Bypass

Configuring Site-Code Dialing and Toll-Bypass

To authenticate the agreement of site-code dialing and toll-bypass, the following

example walks through a agreement that meets these requirements:

■ All calls from Austin to San Jose should be baffled application the WAN articulation if possible. If

the WAN articulation fails, the PSTN articulation should be used.

■ Armpit codes charge be acclimated for intersite dialing.

Follow these accomplish to configure site-code dialing and toll-bypass:

Step 1. Configure articulation adaptation rules and articulation adaptation profiles for inbound

and outbound VoIP intersite routing.

Step 2. Define the punch aeon for VoIP intersite acquisition that avenue the alarm application the

WAN link.

Step 3. Configure articulation adaptation rules and articulation adaptation profiles for inbound

and outbound PSTN intersite routing.

Step 4. Define the punch aeon for PSTN intersite acquisition that avenue the alarm application the

PSTN articulation in case the WAN articulation is not available.

The afterward agreement scenario, as illustrated in Figure 7-26, will be acclimated throughout

this example:

■ San Jose:

■ DID ambit 408 555-2XXX

■ Directory cardinal ambit 2XXX

■ Armpit cipher 801

■ Austin:

■ DID ambit 312 555-2XXX

■ Directory cardinal ambit 2XXX

■ Armpit cipher 802

Chapter 7: Configuring Advanced Punch Plans 411

IP WAN

10.10.0.1 10.10.0.2

PSTN

R1

Phone1-1

2001

Phone1-2

2002

Phone2-1

2001

Phone2-2

2002

Austin

Site Code: 802

Ext: 2XXX

San Jose

Site Code: 801

Ext: 2XXX

R3

If WAN fails, the

PSTN aisle should

be used.

Users should be

able to ability other

sites via armpit codes.

V

DID: 408555XXXX DID: 512555XXXX

Figure 7-26 Site-Code Dialing and Toll-Bypass Topology Example

Step 1: Actualize Adaptation Rules and Profiles

To actualize adaptation rules and profiles for intersite acquisition and aisle alternative via the

WAN, you can use the afterward procedure.

For anniversary site:

Step 1. Actualize a aphorism that prefixes the armpit cipher to the calling number.

Step 2. Actualize a aphorism that strips off the armpit cipher from the alleged number.

Step 3. Actualize a articulation adaptation contour to prefix the armpit cipher to the outbound

calling-party number.

Step 4. Actualize a articulation adaptation contour to band off the armpit cipher from the inbound

called-party number.

Examples 7-24 and 7-25 accommodate the consistent configurations on the San Jose router (that

is, R1) and the Austin router (that is, R3).

Example 7-24 Step 1—R1

412 Authorized Self-Study Guide Cisco Articulation over IP (CVOICE)

R1(config)#voice translation-rule 1

R1(cfg-translation-rule)#rule 1 /^2/ /8012/

R1(cfg-translation-rule)#exit

R1(config)#voice translation-rule 2

R1(cfg-translation-rule)#rule 1 /^8012/ /2/

R1(cfg-translation-rule)#exit

R1(config)#voice translation-profile intersite-out

R1(cfg-translation-profile)#translate calling 1

R1(cfg-translation-profile)#exit

R1(config)#voice translation-profile intersite-in

R1(cfg-translation-profile)#translate alleged 2

Example 7-25 Step 1—R3

R3(config)#voice translation-rule 1

R3(cfg-translation-rule)#rule 1 /^2/ /8022/

R3(cfg-translation-rule)#exit

R3(config)#voice translation-rule 2

R3(cfg-translation-rule)#rule 1 /^8022/ /2/

R3(cfg-translation-rule)#exit

R3(config)#voice translation-profile intersite-out

R3(cfg-translation-profile)#translate calling 1

R3(cfg-translation-profile)#exit

R3(config)#voice translation-profile intersite-in

R3(cfg-translation-profile)#translate alleged 2

Step 2: Define VoIP Punch Peers

After you configure the articulation adaptation profiles for VoIP routing, you charge to define

the VoIP punch aeon for intersite acquisition via the WAN. Examples 7-26 and 7-27 provide

the configurations for this example.

Example 7-26 Step 2—R1

Chapter 7: Configuring Advanced Punch Plans 413

R1(config)#dial-peer articulation 8021 voip

R1(config-dial-peer)#destination-pattern 8022...

R1(config-dial-peer)#session-target ipv4:10.10.0.2

R1(config-dial-peer)#translation-profile admission intersite-in

R1(config-dial-peer)#translation-profile approachable intersite-out

Example 7-27 Step 2—R3

R3(config)#dial-peer articulation 8011 voip

R3(config-dial-peer)#destination-pattern 8012...

R3(config-dial-peer)#session-target ipv4:10.10.0.1

R3(config-dial-peer)#translation-profile admission intersite-in

R3(config-dial-peer)#translation-profile approachable intersite-out

Note The aforementioned punch associate is acclimated for both entering and outbound alarm routing.

Step 3: Add Abutment for PSTN Fallback

To abutment PSTN fallback acquisition in case the WAN articulation fails, you charge to configure an

additional articulation adaptation aphorism and profile:

■ This articulation adaptation aphorism replaces the 801 armpit cipher with the PSTN dialable number,

1408555:

R3(config)#voice translation-rule 3

R3(cfg-translation-rule)#rule 1 /^8012/ /14085552/

■ To adapt the alleged cardinal for outbound calls to a PSTN routable format, use the

following articulation adaptation contour configuration:

R3(config)#voice translation-profile 801PSTN

R3(cfg-translation- profile)#translate alleged 3

Examples 7-28 and 7-29 appearance the consistent configurations for the San Jose and Austin

routers in this example.

Example 7-28 Step 3—R1

414 Authorized Self-Study Guide Cisco Articulation over IP (CVOICE)

R1(config)#voice translation-rule 3

R1(cfg-translation-rule)#rule 1 /^8022/ /15125552/

R1(cfg-translation-rule)#exit

R1(config)#voice translation-profile 802PSTN

R1(cfg-translation-profile)#translate alleged 3

Example 7-29 Step 3—R3

R3(config)#voice translation-rule 3

R3(cfg-translation-rule)#rule 1 /^8012/ /14085552/

R3(cfg-translation-rule)#exit

R3(config)#voice translation-profile 801PSTN

R3(cfg-translation-profile)#translate alleged 3

Step 4: Actualize a Punch Associate for PSTN Fallback

Finally, the PSTN fallback punch associate will be created. Examples 7-30 and 7-31 appearance these

configurations for this example.

Example 7-30 Step 4—R1

R1(config)#dial-peer articulation 8022 pots

R1(config-dial-peer)#destination-pattern 8022...

R1(config-dial-peer)#port 0/0/0:23

R1(config-dial-peer)#preference 1

R1(config-dial-peer)#translation-profile approachable 802PSTN

Example 7-31 Step 4—R3

R3(config)#dial-peer articulation 8012 pots

R3(config-dial-peer)#destination-pattern 8012...

R3(config-dial-peer)#port 0/0/0:23

R3(config-dial-peer)#preference 1

R3(config-dial-peer)#translation-profile approachable 801PSTN

Note The PSTN punch associate has a alternative of 1; so it is the aftermost punch associate that will be used

when acquisition a alarm to San Jose. The alleged cardinal will be translated into the PSTN

routable architecture of 1408555XXXX afterwards the punch associate has been matched.

Tail-End Hop–Off (TEHO)

Tail-End Hop–Off (TEHO)

TEHO extends the abstraction of toll-bypass. Instead of alone acquisition intersite calls over an

IP WAN link, TEHO additionally uses the IP WAN articulation for PSTN calls. The ambition is to avenue a call

using the IP WAN as abutting to the final PSTN destination as possible. As with toll-bypass,

PSTN fallback should consistently be accessible in case the IP WAN articulation fails.

Chapter 7: Configuring Advanced Dial Plans 409

IP WAN

PSTN

R1

10.10.0.2 10.10.0.1

Phone1-1

2001

Phone1-2

2002

Phone2-1

2001

Phone2-2

2002

Austin

Site Code: 802

San Jose

Site Code: 801

R3

1

User dials 801-2001.

2

Phone1-1 rings.

Calling number:

802-2002

Note Some countries do not acquiesce TEHO. When implementing TEHO, ensure that the

deployment complies with civic acknowledged requirements.

TEHO Example

Figure 7-25 shows the TEHO book for this example.

410 Authorized Self-Study Guide Cisco Articulation over IP (CVOICE)

IP WAN

PSTN

408...

R1

DID: 408555XXXX

Phone1-1

2001

Phone1-2

2002

Phone2-1

2001

Phone2-2

2002

Austin

San Jose

R3

DID: 512555XXXX

1

User dials

9 1 408 555-6666.

4

San Jose PSTN

phone rings.

2

Call is baffled to San Jose

via the WAN.

V

Local San Jose gateway

is acclimated as the PSTN breakout.

3

Figure 7-25 Tail-End Hop-Off Scenario

Here is the action the alarm goes through:

1. Phone2-1 dials 9 1 408 555-6666 (that is, it places a alarm to a PSTN buzz amid in

San Jose).

2. The alarm is baffled to San Jose application the IP WAN link.

3. The bounded San Jose articulation aperture is acclimated to avenue the alarm as a bounded alarm to the San

Jose PSTN.

4. The San Jose PSTN buzz rings.