Call Speed | Gatekeeper Bandwidth Value |
---|---|
G.711 audio call (64 kbps) | 128 kbps |
G.729 audio call (8 kbps) | 16 kbps |
128-kbps video call | 256 kbps |
384-kbps video call | 768 kbps |
512-kbps video call | 1024 kbps |
768-kbps video call | 1536 kbps |
To route call to a remote zone, a tech prefix is not required. Just a zone prefix is needed.
To route call between local zones, we must either use
This is used in combination with the zone prefix to resolve the gateway to use. For instance if we dial 1#1001, the gatekeeper will try to locate a gateway under technology prefix of 1# that has a registered prefix of 1001. The registered prefix is optional. For instance if we registered with 3* as the technology prefix, without any other prefixes, the gatekeeper will forward all request starting with a 3 to this gateway.
When a gateway tries to resolve a an address using ras, it will always send the tech prefix and prefix e.g. 1#1000 to the gatekeeper. If the gateway does not send a tech prefix, the default tech prefix is used if configured on the gatekeeper usually 1#. This however will means that the destination gateway will need to strip the tech prefix 1# off before they can route the call properly.
gatekeeper zone local <zonename> iptel.com <gk-ip> no shut
gatekeeper zone local <zonename1> iptel.com
zone prefix <zone> 1... [gw-priority 10 gk-trunk_2] zone prefix <zone> 1... [gw-priority 9 gk-trunk_1] zone prefix <zone> 1... [gw-priority 0 BR2-RTR] no shut
gatekeeper gw-type-prefix 1#* default-technology
gatekeeper gw-type-prefix 011* hopoff ccie gw ipaddr <gw-ip>
Router# show gatekeeper endpoints GATEKEEPER ENDPOINT REGISTRATION ================================ CallSignalAddr Port RASSignalAddr Port Zone Name Type Flags --------------- ----- --------------- ----- --------- ---- ----- 10.80.103.17 1720 10.80.103.17 57004 ccie H323-GW H323-ID: BR2-RTR Voice Capacity Max.= Avail.= Current.= 0 10.80.101.67 1720 10.80.101.67 32817 ccie VOIP-GW H323-ID: gk-trunk_1 Voice Capacity Max.= Avail.= Current.= 0 10.80.101.72 1720 10.80.101.72 32794 ccie VOIP-GW H323-ID: gk-trunk_3 Voice Capacity Max.= Avail.= Current.= 0 Total number of active registrations = 3 Router#
Router# show gatekeeper gw-type-prefix GATEWAY TYPE PREFIX TABLE ========================= Prefix: 1#* Zone ccie master gateway list: 10.80.101.67:1720 gk-trunk_1 10.80.101.72:1720 gk-trunk_3 Zone ccie prefix 5... priority gateway list(s): Priority 10: 10.80.101.72:1720 gk-trunk_3 Priority 9: 10.80.101.67:1720 gk-trunk_1 Zone ccie prefix 1... priority gateway list(s): Priority 10: 10.80.101.72:1720 gk-trunk_3 Priority 9: 10.80.101.67:1720 gk-trunk_1 Prefix: 3* Zone ccie master gateway list: 10.80.103.17:1720 BR2-RTR Router#
Router# show gatekeeper zone prefix ZONE PREFIX TABLE ================= GK-NAME E164-PREFIX ------- ----------- Spain 34* PSTN-WAN 91* Router#
Router# show gatekeeper call Total number of active calls = 1. GATEKEEPER CALL INFO ==================== LocalCallID Age(secs) BW 30-33010 17 128(Kbps) Endpt(s): Alias E.164Addr src EP: gk-trunk_3 5002 CallSignalAddr Port RASSignalAddr Port 10.80.101.72 1720 10.80.101.72 32794 Endpt(s): Alias E.164Addr dst EP: BR2-RTR 3004 CallSignalAddr Port RASSignalAddr Port 10.80.103.17 1720 10.80.103.17 57004 Router#
Router# debug gatekeeper main 10 Sep 25 09:37:47.560: //xxxxxxxxxxxx/xxxxxxxxxxxx/GK/gk_process: QUEUE_EVENT (minor 0) wakeup Sep 25 09:37:47.560: //xxxxxxxxxxxx/xxxxxxxxxxxx/GK/gk_rassrv_arq: arqp=0x6A9B5C5C,crv=0x44, answerCall=0 Sep 25 09:37:47.560: //xxxxxxxxxxxx/xxxxxxxxxxxx/GK/gk_rassrv_sep_arq: ARQ Didn't use GK_AAA_PROC Sep 25 09:37:47.560: //62A1A3E78169/62A1A3E7816B/GK/gk_dns_query: No Name servers Sep 25 09:37:47.560: //62A1A3E78169/62A1A3E7816B/GK/rassrv_get_addrinfo: (1#5002) Matched tech-prefix 1# Sep 25 09:37:47.560: //62A1A3E78169/62A1A3E7816B/GK/rassrv_get_addrinfo: (1#5002) Matched zone prefix 5 and remainder 002 Sep 25 09:37:47.560: //xxxxxxxxxxxx/xxxxxxxxxxxx/GK/gk_rassrv_get_ingress_network: ARQ non-std ingress network = 1 Sep 25 09:37:47.560: //62A1A3E78169/62A1A3E7816B/GK/rassrv_arq_select_viazone: about to check the source side, src_zonep=0x73CB50C8 Sep 25 09:37:47.560: //62A1A3E78169/62A1A3E7816B/GK/rassrv_arq_select_viazone: matched zone is ccie, and z_invianamelen=0 Sep 25 09:37:47.560: //62A1A3E78169/62A1A3E7816B/GK/rassrv_arq_select_viazone: about to check the destination side, dst_zonep=0x73CB50C8 Sep 25 09:37:47.560: //62A1A3E78169/62A1A3E7816B/GK/rassrv_arq_select_viazone: matched zone is ccie, and z_outvianamelen=0 Sep 25 09:37:47.560: //xxxxxxxxxxxx/xxxxxxxxxxxx/GK/gk_rassrv_get_ingress_network: ARQ non-std ingress network = 1 ... ... Sep 25 09:37:53.628: //xxxxxxxxxxxx/xxxxxxxxxxxx/GK/gk_process: QUEUE_EVENT (minor 0) wakeup Sep 25 09:37:53.628: //xxxxxxxxxxxx/xxxxxxxxxxxx/GK/gk_rassrv_irr: irrp=0x6A9F87C4, from 10.80.103.17:57004 Sep 25 09:37:54.552: //xxxxxxxxxxxx/xxxxxxxxxxxx/GK/gk_process: QUEUE_EVENT (minor 0) wakeup Sep 25 09:37:55.672: //xxxxxxxxxxxx/xxxxxxxxxxxx/GK/gk_process: QUEUE_EVENT (minor 0) wakeup Router#
interface loopback 0 h323-gateway voip interface h323-gateway voip id <zonename> ipaddr <gk-ip> 1719 h323-gateway voip id h323-id BR2-RTR h323-gateway voip tech-prefix 3
voice class codec 1 codec preference 1 g711ulaw codec preference 2 g729r8 ! dial-peer voice 15 voip destination-pattern 1... voice-class codec 1 session target ras no vad tech-prefix 1#
voice service voip allow-connections sip to h323 allow-connections h323 to sip
no gateway gateway
voice service voip h323 call service stop no call service stop
Router# show gateway H.323 ITU-T Version: 4.0 H323 Stack Version: 0.1 H.323 service is up Gateway BR2-RTR is registered to Gatekeeper ccie Alias list (CLI configured) H323-ID BR2-RTR Alias list (last RCF) H323-ID BR2-RTR H323 resource thresholding is Disabled Router#
Router# debug ras ep 25 09:44:39.575: RASLib::GW_RASSendRRQ: RRQ (seq# 534) sent to 10.80.101.78 Sep 25 09:44:39.575: h323chan_chn_process_read_socket Sep 25 09:44:39.575: h323chan_chn_process_read_socket: fd=2 of type CONNECTED has data Sep 25 09:44:39.575: h323chan_chn_process_read_socket: h323chan accepted/connected fd=2 Sep 25 09:44:39.575: h323chan_dgram_recvdata:rcvd from [10.80.101.78:1719] on fd=2 Sep 25 09:44:39.575: RCF (seq# 534) rcvd Sep 25 09:44:46.212: h323chan_chn_process_read_socket Sep 25 09:44:46.212: h323chan_chn_process_read_socket: fd=0 of type LISTENING has data Sep 25 09:44:46.212: h323chan_chn_process_read_socket Sep 25 09:44:46.212: h323chan_chn_process_read_socket: fd=3 of type ACCEPTED has data Sep 25 09:44:46.212: h323chan_chn_process_read_socket: h323chan accepted/connected fd=3 h323chan_dgram_send:Sent UDP msg. Bytes sent: 191 to 10.80.101.78:1719 fd=2 Sep 25 09:44:46.216: RASLib::GW_RASSendARQ: ARQ (seq# 535) sent to 10.80.101.78 Sep 25 09:44:46.216: h323chan_chn_process_read_socket Sep 25 09:44:46.216: h323chan_chn_process_read_socket: fd=2 of type CONNECTED has data Sep 25 09:44:46.216: h323chan_chn_process_read_socket: h323chan accepted/connected fd=2 Sep 25 09:44:46.216: h323chan_dgram_recvdata:rcvd from [10.80.101.78:1719] on fd=2 Sep 25 09:44:46.216: ACF (seq# 535) rcvdparse_ras_usage_info_types: Ras Usage Info Nonstd decode succeeded, remlen = 103 Sep 25 09:44:48.384: h323chan_chn_process_read_socket Sep 25 09:44:48.384: h323chan_chn_process_read_socket: fd=3 of type ACCEPTED has data Sep 25 09:44:48.384: h323chan_chn_process_read_socket: h323chan accepted/connected fd=3 Router#
<note important>If the same router is configured as an H.323 gateway and H.323 GK Trunk, the setting in the H.323 gateway will take precedent when a call comes in</note>