Basic Gatekeeper Configuration

Scenario /rough notes/

one  CUCM and one on CUCME = One Zone

CME ext 4XXX
CUCM ext 3XXX
Zone GK
CUCM tech prefix 1
CUCME tech prefix 852

Gatekeeper Configuration

 interface Loopback0
 ip address 162.62.1.254 255.255.255.0
!
gatekeeper
 zone local GK cisco.com 162.62.1.254 ——> local ccm zone @ Ras address (same as LO0)
 no shutdown ——–> Enables Gatekeeper Service
!

Gateway Configuration

interface Loopback0
 ip address 162.62.3.254 255.255.255.0  —–>ip add of loopback
 h323-gateway voip interface   —–> standard VoIP
 h323-gateway voip id GK ipaddr 162.62.1.254 1719 —–> register GK to RAS Address
 h323-gateway voip h323-id CME   —–> ID
 h323-gateway voip tech-prefix 852    —–> Tech prefix
 h323-gateway voip bind srcaddr 162.62.3.254 —–> bind to my RAS address (same as lo0)
!
dial-peer voice 8888 voip —–>DP pointing to RAS
 destination-pattern 3…
 session target ras
 tech-prefix 1 —–> Tech prefic of CUCM sites
!
dial-peer voice 8889 pots
 preference 1  —–>Higher pref, redundant link
 destination-pattern 3…
 port 0/0/0:15 —–>out of POTS port
 prefix 0019723033 —-> Prefixed with its PSTN Number
!

CUCM

a) create a Gatekeeper (device-> Gatekeeper)
b) create a H.225 Trunk (Gatekeeper Controlled) -Device->Trunk (here you add gatekeeper, tech prefix and Zone GK)
c) create RG, RL (with tech prefix of cme side (1), and a RP

MUST Set significant digits at Trunk or set a translation pattern with discard instruction

on CUCME create a TP to achieve this :

voice translation-rule 9988
 rule 1 /^852(4…)/ /1/
!
!
voice translation-profile gk-in
 translate called 9988
!
dial-peer voice 9988 voip
 translation-profile incoming gk-in
 incoming called-number .
!

 

Here is a debug of a successful call

p3r1#deb gatek main 5
p3r1#
Jan 24 21:56:16.951: //xxxxxxxxxxxx/xxxxxxxxxxxx/GK/gk_rassrv_arq: arqp=0x464B4F04,crv=0x40, answerCall=0
Jan 24 21:56:16.951: //80051DC34000/80051DC34000/GK/gk_dns_query: No Name servers
Jan 24 21:56:16.951: //80051DC34000/80051DC34000/GK/rassrv_get_addrinfo: (8524001) Matched tech-prefix 852
Jan 24 21:56:16.951: //80051DC34000/80051DC34000/GK/rassrv_get_addrinfo: (8524001) unresolved zone prefix, using source zone GK
Jan 24 21:56:16.951: //80051DC34000/80051DC34000/GK/rassrv_arq_select_viazone: about to check the source side, src_zonep=0x47EF7594
Jan 24 21:56:16.951: //80051DC34000/80051DC34000/GK/rassrv_arq_select_viazone: matched zone is GK, and z_invianamelen=0
Jan 24 21:56:16.951: //80051DC34000/80051DC34000/GK/rassrv_arq_select_viazone: about to check the destination side, dst_zonep=0x47EF7594
Jan 24 21:56:16.951: //80051DC34000/80051DC34000/GK/rassrv_arq_select_viazone: matched zone is GK, and z_outvianamelen=0
Jan 24 21:56:16.967: //xxxxxxxxxxxx/xxxxxxxxxxxx/GK/gk_rassrv_arq: arqp=0x464B4F04,crv=0xF, answerCall=1
Jan 24 21:56:18.755: //xxxxxxxxxxxx/xxxxxxxxxxxx/GK/gk_rassrv_irr: irrp=0x484036E8, from 162.62.3.254:60474
p3r1#



p3r1#sh gatekeeper endpoints
                    GATEKEEPER ENDPOINT REGISTRATION
                    ================================
CallSignalAddr  Port  RASSignalAddr   Port  Zone Name         Type    Flags
————— —– ————— —– ———         —-    —–
162.201.1.21    60937 162.201.1.21    33930 GK                VOIP-GW
    ENDPOINT-ID: 464C7E6000000003  VERSION: 5  AGE: 18 secs  SupportsAnnexE: FALSE
    g_supp_prots: 0x00000050
    H323-ID: GK-Trunk_1
    Voice Capacity Max.=  Avail.=  Current.= 0
162.201.1.22    41886 162.201.1.22    32794 GK                VOIP-GW
    ENDPOINT-ID: 464B734000000003  VERSION: 5  AGE: 19 secs  SupportsAnnexE: FALSE
    g_supp_prots: 0x00000050
    H323-ID: GK-Trunk_2
    Voice Capacity Max.=  Avail.=  Current.= 0
162.62.3.254    1720  162.62.3.254    60474 GK                VOIP-GW
    ENDPOINT-ID: 47EF3A2800000001  VERSION: 4  AGE: 18 secs  SupportsAnnexE: FALSE
    g_supp_prots: 0x00000050
    H323-ID: CME
    Voice Capacity Max.=  Avail.=  Current.= 0
Total number of active registrations = 3

p3r1#sh gatek gw-type-prefix
buffer used: 185, size: 20480
GATEWAY TYPE PREFIX TABLE
=========================
Prefix: 852*
  Zone GK master gateway list:
    162.62.3.254:1720 CME

Prefix: 1*
  Zone GK master gateway list:
    162.201.1.22:41886 GK-Trunk_2
    162.201.1.21:60937 GK-Trunk_1
p3r1#

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s