© 2006 Cisco Systems, Inc. All rights reserved. GWGK v IP-to-IP Gateway Enterprise Deployments Implementing IP-to-IP Gateways
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Protocol Interworking Command allow-connections from-type to to-type Router(config-voice-service)# Enables unidirectional protocol interworking
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v H.323-to-H.323 Interworking Scenario Phone Phone Phone Phone San Jose Chicago Router1 IP-to-IP Gateway Cisco Unified CallManager Express IP WAN H.323 Cisco Unified CallManager1:
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Configuring H.323-to-H.323 Interworking 1. Enable H.323 to H.323 interworking. 2. Configure H.323 dial peers.
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Step 1: Enabling H.323 Interworking Router(config)#voice service voip Router(config-voice-service)#allow-connections h323 to h323
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Step 2: Configuring H.323 Dial Peers ! dial-peer voice 2000 description To Cisco Unified CallManager destination-pattern 2... session-target ipv4: ! dial-peer voice 3000 description To Cisco Unified CallManager Express destination-pattern 3... session-target ipv4: !
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v H.323-to-SIP Interworking Scenario Phone Phone San Jose Router1 IP-to-IP Gateway IP WAN H.323SIP Cisco Unified CallManager1: SIP Carrier
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Configuring H.323-to-SIP Interworking 1. Enable H.323-to-SIP interworking. 2. Configure H.323 and SIP dial peers.
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Step 1: Enabling H.323 Interworking Router(config)#voice service voip Router(config-voice-service)#allow-connections h323 to sip Router(config-voice-service)#allow-connections sip to h323
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Step 2: Configuring Dial Peers ! dial-peer voice 2000 description To Cisco Unified CallManager destination-pattern 2... session-target ipv4: dtmf-relay h245-alphanumeric ! dial-peer voice 9011 description To International SIP Carrier application session destination-pattern 9011T session-target ipv4: dtmf-relay rtp-nte digit-drop h245-alphanumeric !
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Media Flow and Transparent Codec Commands media [flow-around | flow-through] router(config-dial-peer)# Configures media flow-around or flow-through on a dial peer. This can also be configured globally or in a voice class. codec transparent router(config-dial-peer)# Configures transparent codec pass-through on a dial peer.
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Configuring Transparent Codec Pass-Through and Media Flow-Around Phone Phone Phone Phone San Jose Chicago Router1 IP-to-IP Gateway Cisco Unified CallManager Express IP WAN H.323 Cisco Unified CallManager1: Direct RTP stream between San Jose and Chicago Direct codec negotiation between San Jose and Chicago
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Configuring Transparent Codec Pass-Through and Media Flow-Around (Cont.) ! dial-peer voice 2000 description To Cisco Unified CallManager destination-pattern 2... session-target ipv4: dtmf-relay h245-alphanumeric codec transparent media flow-around ! dial-peer voice 9011 description To Cisco Unified CallManager Express destination-pattern 3... session-target ipv4: codec transparent media flow-around !
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Zone CHI Via-Zone: VIA Zone Prefix: 3... Zone SJC Via-Zone: VIA Zone Prefix: 1... Configuring IP-to-IP Gateways and Via-Zone Gatekeepers Router1 H.323 ID SJC-GW Technology Prefix 1# Router3 H.323 ID CHI-GW Technology Prefix 1# Zone VIA IP-to-IP Gateway H.323 ID IPIPGW Technology Prefix 1# GK Gatekeeper and IP-to-IP gateway on same router GK=Gatekeeper GW=Gateway
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Configuring IP-to-IP Gateways and Via-Zone Gatekeepers (Cont.) ! interface Loopback0 ip address ! gatekeeper zone local SJC cisco.com invia VIA outvia VIA zone local CHI cisco.com invia VIA outvia VIA zone local VIA cisco.com zone prefix SJC 1* zone prefix CHI 3* gw-type-prefix 1#* default-technology no shutdown ! Gatekeeper configuration:
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Configuring IP-to-IP Gateways and Via-Zone Gatekeepers (Cont.) ! interface Loopback1 ip address h323-gateway voip interface h323-gateway voip id VIA ipaddr h323-gateway voip h323-id IPIPGW h323-gateway voip tech-prefix 1# ! dial-peer voice 10 voip destination-pattern 1... session target ras ! dial-peer voice 30 voip destination-pattern 3... session target ras ! gateway ! IP-to-IP gateway configuration:
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Verifying IP-to-IP Gateways and Via-Zone Gatekeepers GKIPIPGW#show gatekeeper endpoints GATEKEEPER ENDPOINT REGISTRATION ================================ CallSignalAddr Port RASSignalAddr Port Zone Name Type Flags VIA H323-GW H323-ID: IPIPGW Voice Capacity Max.= Avail.= Current.= SJC VOIP-GW H323-ID: SJC-GW Voice Capacity Max.= Avail.= Current.= CHI VOIP-GW H323-ID: CHI-GW Voice Capacity Max.= Avail.= Current.= 0 Total number of active registrations = 3
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Verifying IP-to-IP Gateways and Via-Zone Gatekeepers (Cont.) Router1 H.323 ID SJC-GW Technology Prefix 1# Router3 H.323 ID CHI-GW Technology Prefix 1# IP-to-IP Gateway GKIPIPGW#show gatekeeper calls... LocalCallID Age(secs) BW (Kbps) Endpt(s): Alias E.164Addr src EP: SJC-GW CallSignalAddr Port RASSignalAddr Port Endpt(s): Alias E.164Addr dst EP: IPIPGW 3001 CallSignalAddr Port RASSignalAddr Port Router1 to IP-to-IP Gateway GK=Gatekeeper GW=Gateway
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Verifying IP-to-IP Gateways and Via-Zone Gatekeepers... LocalCallID Age(secs) BW (Kbps) Endpt(s): Alias E.164Addr src EP: IPIPGW 4001 CallSignalAddr Port RASSignalAddr Port Endpt(s): Alias E.164Addr dst EP: CHI-GW 3001 CallSignalAddr Port RASSignalAddr Port IP-to-IP Gateway to Router3 Router1 H.323 ID SJC-GW Technology Prefix 1# Router3 H.323 ID CHI-GW Technology Prefix 1# IP-to-IP Gateway GK=Gatekeeper GW=Gateway
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v Summary Protocol interworking is configured using the allow-connection command. H.323-to-H.323 interworking is configured using the allow-connection h323 to h323 command. H.323-to-SIP interworking is configured using the allow-connection h323 to SIP command. Media flow-through or flow-around can be configured globally or per dial peer. Ensure that the inbound and outbound dial peers have matching media and codec configurations. IP-to-IP gateways can be used in conjunction with gatekeepers by registering them in a Via-zone. A gatekeeper will show two call legs when using an IP-to-IP gateway.
© 2006 Cisco Systems, Inc. All rights reserved. GWGK v