Search This Blog

Oct 20, 2010

Gatekeeper configuration with two local areas (local Zone)

 


The steps
A. Gatekeeper configuration

In gatekeeper configuration mode

Gatekeeper # configure terminal
Gatekeeper (config) # gatekeeper

Defined region (zone) management by the gatekeeper

Gatekeeper (config-gk) # zone local Saigon vnpro.org 172.16.1.10
! The local definition (local zone) with the address named Saigon! Reference to the gatekeeper as 172.16.1.10

Gatekeeper (config-gk) # zone local vnpro.org Hanoi
! The local definition (local zone) is called Hanoi


On the command syntax is:

Gatekeeper (config-gk) # zone local gatekeeper-name domain-name [ras-IP-address]
In the above command, RAS address is optional. If you use this option, as gatekeeper to find answers to gatekeeper messages from voice gateway, it will show the user terminal always address this in future communications.

Gatekeeper (config-gk) # zone prefix Saigon 1 *

! The call may begin with a prefix will be sent to the gateway Saigon

Gatekeeper (config-gk) # zone prefix Hanoi 2 *

! The call begins with a prefix to the gateway 2 sends Hanoi

Gatekeeper (config-gk) # no shutdown
! Turn gatekeeper

B. Configure voice gateway

Router02 # configure terminal
Router02 (config) # gateway
! Enabled gateway device corresponding
Configure the features corresponding H323 gateway

Router02 (config) # interface FastEthernet 0 / 0

Router02 (config-if) # h323-gateway voip interface
! Enable voip gateway

Router02 (config-if) # h323-gateway voip id h323-gateway-id
! Select this gateway's identity while communicating with the gatekeeper

Router02 (config-if) # h323-gateway voip id ipaddr 172.16.1.10 Saigon
! Command syntax:
! Router02 (config-if) # h323-gateway voip id gatekeeper-id! {Ipaddr ip-address [port-number] | multicast}
! Select information region (zone) that this gateway will register

Router02 (config-if) # h323-gateway voip tech-prefix prefix
! Gateway Configure gatekeeper to register with the value! Technology prefix, the prefix if you use technology, technology! Prefix represents a range of services using voice or video.

Implementation of voice port configuration, as pots dial peers, the peer VoIP dialer like the previous lab. Query configuration information by using the phone number of parameters in the command session target RAS.

C. Check

Inspection conducted by the call from 101 to 201, the results observed:

Gatekeeper # sh gatekeeper endpoints
EndPoint Gatekeeper Registration
================================
CallSignalAddr Port Port Zone Name Type Flags RASSignalAddr
--------------- ----- ------------- ----- --------- --- - -----
172.16.1.1 1720 172.16.1.1 51059 Saigon VOIP-GW
E164-ID: 101
Voice Capacity Max .= Avail .= 1 .= Current
172.16.1.2 1720 172.16.1.2 56094 Hanoi VOIP-GW
E164-ID: 201
Voice Capacity Max .= Avail .= 1 .= Current
Total number of active registrations = 2

Gatekeeper #

View the current call information

# Sh gatekeeper gatekeeper calls
Total number of active calls = 1.
Gatekeeper CALL INFO
====================
LocalCallID Age (secs) BW
3-23807 12 16 (Kbps)
Endpt (s): Alias E.164Addr
src EP: 201
Port Port CallSignalAddr RASSignalAddr
172.16.1.2 1720 172.16.1.2 56094
Endpt (s): Alias E.164Addr
dst EP: 101
Port Port CallSignalAddr RASSignalAddr
172.16.1.1 1720 172.16.1.1 51059

View configuration information on the gatekeeper zone

# Sh gatekeeper zone prefix gatekeeper
ZONE PREFIX TABLE
=================
GK-NAME E164-PREFIX
------- -----------
Saigon 1 *
Hanoi 2 *
Gatekeeper #


D. Fully Loaded

Gatekeeper configuration
Code:
Gatekeeper # sh run
   Building configuration ...
   
   Current configuration: 788 bytes
   !
   interface FastEthernet0 / 0
    ip address 172.16.1.10 255.255.255.0
   
   !         
   gatekeeper
    Saigon local zone vnpro.org 172.16.1.10
    Hanoi vnpro.org local zone
    Saigon 1 * zone prefix
    Hanoi 2 * zone prefix
    no shutdown
   !
   
   end 

Saigon gateway configuration
Code:
Saigon # sh run
   Building configuration ...
   
   Current configuration: 757 bytes
   
   
   !
   interface FastEthernet0 / 0
    ip address 172.16.1.1 255.255.255.0
    h323-gateway voip interface
    h323-gateway voip id ipaddr 172.16.1.10 Saigon
   !         
   !
   dial-peer voice 1 pots
    destination-pattern 101
    port 1/0/0
   !
   dial-peer voice 2 voip
    destination-pattern 2 ..
    session target ras
   !
   gateway 
   !         
   
   !
   End 
Hanoi gateway configuration

Code:
Hanoi # sh run
   
   Building configuration ...
   
   Current configuration: 825 bytes
   !
   interface Ethernet0 / 0
    ip address 172.16.1.2 255.255.255.0
    h323-gateway voip interface
    h323-gateway voip id ipaddr 172.16.1.10 Hanoi 
   !         
   dial-peer voice 1 pots
    destination-pattern 201
    port 1/0/0
   !
   dial-peer voice 2 voip
    destination-pattern 1 ..
    session target ras
   !
   gateway 
   !
   End 


Requirements
  • 2600 router configured as the gatekeeper
  • Configuring two routers R1, R2 make calls through the gatekeeper.
Sitemap