Professional Documents
Culture Documents
Understanding Gatekeepers
Gatekeeper Overview
Gatekeeper Signaling
Gatekeeper Call Routing
Gatekeeper-Based Call Admission Control
Configuring Gatekeeper
Configuring Gatekeeper Zones
Configuring Zone Prefixes
Configuring Technology Prefixes
Adapting H.323 Gateways to Gatekeepers
Configuring Gatekeeper CAC
Verifying Basic Gatekeeper Functionality
Mandatory Description
Address Translates H.323 IDs (such as gwy1@domain.com) and E.164
resolution numbers (standard telephone numbers) to endpoint IP addresses
Admission Controls endpoint admission into the H.323 network
control
Zone Provides zone management for all registered endpoints in the zone
management
Optional Description
Call Accesses restrictions for certain terminals or gateways or have time-
authorization of-day policies restrict access
Call Keeps state of active call information and uses it to indicate busy
management endpoints or redirect calls
Bandwidth Rejects admissions when the required bandwidth is not available
management
Gatekeeper
H.225 RAS (UDP) H.225 RAS (UDP)
Discovery: Location:
Gatekeeper Request (GRQ) Location Request (LRQ)
Gatekeeper Confirmation (GCF) Location Confirmation (LCF)
Gatekeeper Reject (GRJ) Location Reject (LRJ)
Registration: Admission:
Registration Request (RRQ)
Admission Request (ARQ)
Registration Confirmation (RCF)
Admission Confirmation (ACF)
Registration Reject (RRJ)
Admission Reject (ARJ)
Unregistration:
Disengage:
Unregistration Request (URQ)
Disengage Request (DRQ)
Unregistration Confirmation (UCF)
Unregistration Reject (URJ)
Request in Progress:
Resource availability: Request in Progress (RIP)
– H.323 ID
– E.164 address
RRQ RRQ
RCF RCF
Gateway A Terminal
Dial Plan
801555xxxx: Gateway A
Gatekeeper
408555xxxx: Gateway B
ARQ ARQ
ACF ACF
8015552001 4085552001
Gateway
© 2010 Cisco Systems, Inc. All rights reserved. CVOICE v8.0—5-12
H.225 RAS Intrazone Call Setup
H.323 Gatekeeper
H.323 H.323
Gateway Gateway
PSTN/ PSTN/
Privat IP Privat
e Network e
1. Voice
Initiate Call Voice
2. ARQ
H.225
3. ACF
RAS
4. Call Setup
H.225 5. ARQ
RAS 6. ACF
H.225/Q.93
1 7. Call Proceeding
8. Ring Called Party
Call Setup 9. Alerting
10. Ringback Tone 11. Answer Call
12. Connect
13. Capabilities Exchange
H.245 14. Master/Slave Determination
Capabilities
15. Open Logical Channel
Negotiation
ARQ = Admission Request
RTP Stream ACF = Admission Confirm
RTP Stream
16. Media
RTCP Stream
(RTP)
© 2010 Cisco Systems, Inc. All rights reserved. CVOICE v8.0—5-13
H.225 RAS Interzone Call Setup
PSTN/ PSTN/
GK1 IP GK2
Privat Privat
e Network e
Voice
1. Initiate Call Voice
2. ARQ
H.225 3. LRQ
RAS 4. LCF
5. ACF
6. Call Setup
H.225/Q.93
1 7. Call Proceeding
Call Setup 8. ARQ
H.225 RAS
9. ACF 10. Ring Called Party
10. Ringback Tone 11. Alerting
H.225/Q.93 12. Answer Call
1 13. Connect
Call Setup 14. Capabilities Exchange ARQ = Admission Request
H.245 ACF = Admission Confirm
Capabilities 15. Master/Slave Determination
LCF = Location Request
Negotiation 16. Open Logical Channel LCF = Location Confirm
17. RTP/RTCP Stream
Zones:
– H.323 endpoints are grouped into zones.
– Each zone has one logical gatekeeper that manages all
the endpoints in the zone.
Zone prefixes:
– A zone prefix is the part of the called number that
identifies the zone to which a call goes.
– Zone prefixes are usually used to associate an area or
country code to a configured zone.
Zones
200-XXXX 300-XXXX
Zone A
WAN
Zone B
Technology prefix:
– Optional feature to enable more call routing flexibility
– Groups endpoints of the same type together
– Usually identified by “#” sign, but can be any E.164 string
Technology prefix with hop-off:
– Calls will be routed to a specified zone, regardless of the
zone prefix in the address.
Gateways can register using a technology prefix.
– If no technology prefix is included in the dialed number, a
default technology prefix can be used.
Gatekeeper will only route a call to a gateway with a
matching technology prefix.
H.323
Video H.323
2# 2# Video
GWA1 GWB1
H.323 H.323
Terminal IP Terminal
GWA2 GKA GKB GWB2
Voice
200 300 Voice
GWA3 GWB3
Gatekeeper
If too many calls go through the
WAN, voice quality may degrade
for all calls.
G.729 16 kb/s
Gatekeeper:
Configure local and remote zones.
Configure zone prefixes.
Configure technology prefixes.
Enable the gatekeeper.
Gateway:
Configure gateways to use H.323 gatekeepers.
Configure dial peers to use H.225 RAS protocol.
router(config)#
gatekeeper
Enters gatekeeper configuration mode
router(config-gk)#
no shutdown
Enables the gatekeeper
Should be done when configuration complete
– Some parameters cannot be modified with active registrations or
calls
Does not make the gatekeeper operational if:
– No local zones are configured
– Local zones use HSRP address and interface is standby
Default: disabled
router(config-gk)#
zone local zone-name domain-name [ras-IP-address]
router(config-gk)#
zone remote other-zone-name other-domain-name other-
gatekeeper-ip-address [port-number] [cost cost-value
[priority priority-value]] [foreign-domain]
GK1 Zone B
Zone A
WAN
GW-A 3xxx
GW-B
2xxx
Zone C
GK2
Gatekeeper 2
10.1.1.12
© 2010 Cisco Systems, Inc. All rights reserved. CVOICE v8.0—5-29
Configuring Zone
Prefixes
gatekeeper
zone local ZoneA cisco.com 10.1.1.10
zone local ZoneB cisco.com
zone prefix ZoneA 2... gw-priority 5 GW-A1
zone prefix ZoneA 2... gw-priority 10 GW-A2
zone prefix ZoneB 3...
no shutdown
Gatekeeper
10.1.1.10 Zone B
GK1
Zone A
GW-A1 WAN
2xxx 3xxx
GW-B
GW-A2
router(config-gk)#
gw-type-prefix type-prefix [[hopoff gkid1] [hopoff gkid2]
[hopoff gkidn] [seq | blast]] [default-technology] [[gw
ipaddr ipaddr [port]]]
Defines a technology prefix
– Recognized and stripped before checking for the zone prefix
hopoff option specifies the hopoff gatekeeper:
– Regardless of the zone prefix in the destination address
– Multiple occurrences configure redundant gatekeepers
default-technology specifies that gateways registering with this
prefix are used as default for routing any addresses that are
otherwise unresolved.
gw ipaddr option indicates that the gateway is incapable of
registering technology prefixes. When the gateway registers, it is
added to the group for this type prefix.
© 2010 Cisco Systems, Inc. All rights reserved. CVOICE v8.0—5-34
Technology Prefix Configuration
Example
Gatekeeper Zone B
GK1 10.1.1.10
Zone A
GW-A1 WAN GW-B 3xxx
192.168.1.1
2xxx
GW-A2 Zone C
GW-C
router(config-if)#
h323-gateway voip h323-id interface-id
Optional, sets the H.323 name of the gateway that identifies this
gateway to its associated gatekeeper
If not defined, gateway registers E.164 numbers, no H.323 ID
router(config-if)#
h323-gateway voip tech-prefix prefix
Optional, defines the technology prefix that the gateway registers with the
gatekeeper
Affects routing of inbound calls
router(config-dial-peer)#
session target ras
Mandatory, points the H.323 session at gatekeeper
RAS signaling protocol
– Gatekeeper consulted to translate E.164 address to IP address
Signaling sent to RAS UDP port 1719 instead of H.225 UDP port 1720
router(config-telephony)#
dialplan-pattern tag pattern extension-length extension-
length [extension-pattern extension-pattern | no-reg]
no-reg keyword prevents expanded number registration
Default: Expanded numbers are registered at gatekeeper
© 2010 Cisco Systems, Inc. All rights reserved. CVOICE v8.0—5-40
Gateway Configuration Example
interface Loopback 0
ip address 192.168.1.2 255.255.255.0
h323-gateway voip interface Gatekeeper
h323-gateway voip bind srcaddr 192.168.1.2 10.1.1.10
h323-gateway voip id ZoneA ipaddr 10.1.1.10
h323-gateway voip h323-id GW-A
GK
h323-gateway voip tech-prefix 1#
!
dial-peer voice 1 voip WAN
destination pattern [3-7]...
session target ras
dial-peer voice 2 pots GW-A
destination pattern 2101 FXS 192.168.1.2
no register e164 0/1/0
port 0/1/0
!
20xx
gateway 2101
!
ephone-dn 1 dual-line
number 2001 no-reg ZoneA
© 2010 Cisco Systems, Inc. All rights reserved. CVOICE v8.0—5-41
Configuring Gatekeeper
CAC
router(config-gk)#
bandwidth {check-destination | interzone | total |
session | remote} {default | zone zone-name} bandwidth
Defines maximum aggregate bandwidth for H.323 traffic
– interzone: From a specific zone to all other zones together
– total: All calls within one zone
– session: For a single session in a zone
– remote: To all remote zones together
– default: Default value for each zone
Bandwidth-size defined in kb/s
check-destination: Destination zone bandwidth check before
responding to ARQ
– Default: only source zone and interzone values checked
default: Unlimited maximum aggregate bandwidth
© 2010 Cisco Systems, Inc. All rights reserved. CVOICE v8.0—5-43
Gatekeeper CAC Configuration
Example
gatekeeper
All calls from Zone A to all other zones: zone local ZoneA cisco.com
1024 kb/s 10.1.1.10
All calls from any other zone to all zone local ZoneB cisco.com
other zones: 512 kb/s zone local ZoneC cisco.com
All calls within Zone A : 2048 kb/s zone prefix ZoneA 2...
zone prefix ZoneB 3...
All calls within every other zone: 1536
kb/s zone prefix ZoneC 4...
bandwidth interzone zone ZoneA 1024
Max G.729 codec in Zone A bandwidth interzone default 512
Max G.711 codec in every other zone bandwidth total zone ZoneA 2048
Destination zone bandwidth check bandwidth total default 1536
enabled bandwidth session zone ZoneA 16
bandwidth session default 128
Zone A bandwidth check-destination
no shutdown
GW-A
2xxx Gatekeeper
10.1.1.10
Zone B
Zone C
GW-C WAN
4xxx GW-B 3xxx
Inbound Outbound
VoIP Dial Peer VoIP Dial Peer
External connections:
– Interconnect with VoIP carriers
– Interconnect with other voice and video networks
– Integrate Internet VoIP and video-over-IP users
Internal connections:
– Increase interoperability within a VoIP network
Relevant features:
– Protocol interworking
– Address hiding
– Security
– Video integration
– CAC
Cisco Unified
Communications
H.323 signaling Manager
and RTP stream Express
between the sites
H.323 H.323
SIP SIP
H.323 SIP
Media Flow-Through:
Signaling Signaling
Cisco Unified
Media Flow-Around: Border Element
192.168.1.2
Signaling Signaling
VoIP 1 VoIP 2
VoIP 1 VoIP 2
router(config-dial-peer)#
router(config-class)#
codec transparent
Configures transparent codec pass-through in dial-peer or
codec class
© 2010 Cisco Systems, Inc. All rights reserved. CVOICE v8.0—5-72
Media Flow-Around and Transparent
Codec Example
Cisco Unified Cisco Unified
Communications Communications
Manager Express H.225 and Manager Express
10.1.1.1 Site code: 81 H.225/H.245 Site code: 82 H.225 and
H.245 H.245
IP WAN
IP WAN
H.225
18. Connect 17. Connect 16. Connect
Cisco Unified
Communications
Manager Express H.225 and
H.245 SIP
SIP
Carrier
RTP RTP
Cisco Unified
Border
SCCP Element
ARQ = Admission Request, ACF = Admission Confirm, LCF = Location Request, LCF = Location Confirm
© 2010 Cisco Systems, Inc. All rights reserved. CVOICE v8.0—5-83
Configuring H.323-to-
H.323 Interworking
router(config)#
voice service voip
Enters voice service VoIP configuration mode
router(conf-voi-serv)#
allow-connections h323 to h323
Enables H.323-to-H.323 interworking
Default: Only POTS-to-any and any-to-POTS connections
are permitted
router(conf-serv-h323)#
call start {fast | slow | interwork}
Forces the H.323 gateway to use either fast-start (H.323 v2) or slow-
start (H.323 v1) procedures for the dial peers using H.323
interwork option allows Cisco Unified Border Element
interoperability between fast-start and slow-start procedures
– Caution: Cisco Unified Border Element with this setting will not
originate any H.323 calls (fast start and slow-start disabled)
Default: fast start (H.323 v2)
IP WAN
router(conf-voi-serv)#
allow-connections h323 to sip
allow-connections sip to h323
H.323 SIP
In-band cisco-rtp, rtp-nte (RFC 2833) rtp-nte (RFC 2833)
Out-of-band h245-alphanumeric, h245-signal sip-notify