Setup :
a. Callmanager 4.1 with IP phone extension 1005 (Callmanager IP 192.168.1.200)
b. ATA 186 with H323 load , 2 phones with extension 2000, 2001 (ATA IP 192.168.1.46)
c. H323 gateway with FXS ports with phone extension 3010, 3011 (Gateway IP 192.168.1.202)
d. Gatekeeper with 3 zones created (one for CM, one for gateway and one for ATA) (GK IP 192.168.1.201)
******Key things to note about GK registration*******
a. ATA register with GK as Terminal
b. H323 gateway registers with GK as Voip-GW
c. Callmanager can be registered to the GK as Voip-GW or Terminal (Trunk configuration page)
d. GK uses proxying between Terminals and Voip-GW's. So take special note to disable proxy from each zone that involes a Terminal and Voip-GW.
Configuration of ATA
a. Use E164 numbers in UID0 and UID1.
b. No need to set Login ID's if using E.164 numbers for GK registration
c. Specify the GKID field with the zone name (with out domain name)
d. Specify the GKOrProxy field with the IP address of the gatekeeper (192.168.1.201)
e. ATA cannot specify a tech prefix (as it registers as a terminal)
Configuration of GK
GateKeeper#sh gatek end
GATEKEEPER ENDPOINT REGISTRATION
================================
CallSignalAddr Port RASSignalAddr Port Zone Name Type F
————— —– ————— —– ——— —- —
192.168.1.46 1721 192.168.1.46 1739 ATA TERM
ENDPOINT ID: 8232D55C00000001 VERSION: 2 age= 233 secs
E164-ID: 2001
192.168.1.46 1720 192.168.1.46 1719 ATA TERM
ENDPOINT ID: 82609CF000000002 VERSION: 2 age= 233 secs
E164-ID: 2000
192.168.1.200 55419 192.168.1.200 53824 CM41 VOIP-GW
ENDPOINT ID: 824FC0F400000004 VERSION: 2 age= 18 secs
H323-ID: CCM_1
192.168.1.202 1720 192.168.1.202 50439 gateway VOIP-GW
ENDPOINT ID: 8230A09400000004 VERSION: 2 age= 40 secs
H323-ID: 192.168.1.202
E164-ID: 3011
E164-ID: 3010
Total number of active registrations = 4
GateKeeper#
Gateway Configuration
interface Ethernet0/0
ip address 192.168.1.202 255.255.255.0
half-duplex
h323-gateway voip interface
h323-gateway voip id gateway ipaddr 192.168.1.201 1719
h323-gateway voip h323-id Gateway
h323-gateway voip tech-prefix 1#
dial-peer voice 1 pots
destination-pattern 3010 —– phone 1
port 1/0/0
!
dial-peer voice 2 pots
destination-pattern 3011 —– phone 2
port 1/0/1
dial-peer voice 10 voip
destination-pattern 1… —— Pattern for calls to Callmanager , No need to prepend tech prefix as 4# is default tech prefix
session target ras
dtmf-relay h245-alphanumeric
codec g711ulaw
!
dial-peer voice 10 voip
destination-pattern 2… ——- Pattern for Calls to ATA, No need for tech prefix as ATA registers to GK as terminal
session target ras
dtmf-relay h245-alphanumeric
codec g711ulaw
!
gateway
Configuration of Callmanager
a. Add a gatekeeper (with GK's ip address, 192.168.1.201)
b. Add a Trunk (Gatekeeper controlled) and specify tech prefix 4#, the gatekeeper that was previously added, Terminal type (VOIP-GW or Terminal) and zone name (CM41)
c. Set the significant digits on incoming calls to All.
d. Add a route pattern [23]XXX and route the calls through the trunk created in step 2. 2XXX is for ATA phones and 3XXX is for FXS phones