1 / 83

Gateway Deployments

Gateway Deployments. Implementing H.323 Gateways. Overview of H.323 Gateways. H.323 gateways perform these services: Translation between audio, video, and data formats Conversion between call setup signals and procedures Conversion between communication control signals and procedures. PSTN.

trista
Télécharger la présentation

Gateway Deployments

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Gateway Deployments Implementing H.323 Gateways

  2. Overview of H.323 Gateways • H.323 gateways perform these services: • Translation between audio, video, and data formats • Conversion between call setup signals and procedures • Conversion between communication control signals and procedures

  3. PSTN Setup Call Proceeding Alerting Connect RTP Stream Release Complete Signaling H.323 Call Flow H.323 Gateway Signaling Bearer or Media

  4. Why H.323? • Advantages of H.323 gateways: • Dial plan can be configured directly on the gateway. • Translations can be defined per gateway. • Regional conditions can be met within multisite deployments. • Call routing configuration can be more specific than on Cisco CallManager. • There is no need for extra SRST-related call routing configuration. • There is no dependency on the Cisco Unified CallManager version. • More voice interface types are supported. • ISDN NFAS is supported. • Fax support is advanced. • Call preservation was enhanced for PRI calls since Cisco IOS Software Release 12.4(9)T.

  5. Germany Gateway Example: Regional Requirements Calling party: 43917216111Type: international 1 Calling Mel in the United States. Calling Max in Germany. 2 Madrid 5 I’ve got an external call. To call back, I need to dial 901143917216111. I’ve got an external call. To call back, I need to dial 00043917216111. 4 7 U.S. Gateway Translate calling and route to destination. Translate calling and route to destination. 3 6 Mel Max

  6. H.323 Commands (Cont.) • Configuring a router interface as a gateway: router(config-if)# h323-gateway voip bind srcaddr ip-address • Sets the IP address that is used as H.323 signaling source

  7. H.323 Commands (Cont.) • Configuring a DTMF relay: router(config-dial-peer)# dtmf-relay • Specifies how DTMF tones are forwarded router(config-dial-peer)# rtp payload-type type • Identifies the payload type of an RTP packet

  8. H.323 Commands (Cont.) • Configuring voice classes router(config)# voice class codec tag • Enters voice class codec configuration mode and assigns an identification tag router(config)# voice class type • Enters voice class configuration mode for special voice classes like H.323 and assigns an identification tag

  9. H.323 Commands (Cont.) • Configuring codecs router(config-class)# codec preference codec-type [bytes payload-size] • Adds a codec to the class and defines its preference router(config-dial-peer)# codec codec • Specifies the single codec used router(config-dial-peer)# voice-class typetag • Specifies the voice class parameters voice class to be used

  10. H.323 Commands (Cont.) • Tuning H.323 timers: router(conf-voi-serv)# h225 timeout setup seconds • Defines the H.323 setup timeout value router(config-class)# h225 timeout tcp establish seconds • Defines the H.323 TCP establish timeout value router(conf-voi-serv)# h225 timeout tcp call-idle value minutes • Defines the H.323 TCP call-idle timeout value

  11. Integrating H.323 Gateways with Cisco Unified CallManager • Perform at least these steps to integrate an H.323 voice gateway into Cisco Unified CallManager: • Make sure that H.323 is enabled and specify the H.323 source address on the voice gateway. • Configure POTS and VoIP dial peer on the gateway. • Add a new gateway on Cisco Unified CallManager. • Configure the IP address and device pool for the gateway on Cisco Unified CallManager. • Add a new route pattern pointing to the gateway on Cisco Unified CallManager.

  12. PSTN Router1 H.323 Phone1-1 2001 Phone1-2 2002 Integrating H.323 Gateways with Cisco Unified CallManager: Enable H.323 voice service voip h323 ccm-compatible no shutdown ! interface FastEthernet0/0 ip address 10.1.1.1 255.255.255.0 h323-gateway voip bind srcaddr 10.1.1.1 no shutdown

  13. PSTN Router1 H.323 Phone1-1 2001 Phone1-2 2002 Integrating H.323 Gateways with Cisco Unified CallManager: Define the POTS Dial Peer dial-peer voice 9 pots destination-pattern 9T incoming called-number 2... direct-inward-dial port 1/0:23

  14. PSTN Router1 H.323 Phone1-1 2001 Phone1-2 2002 Integrating H.323 Gateways with Cisco Unified CallManager: Add the First VoIP Dial Peer voice class h323 1 h225 timeout tcp establish 3 ! dial-peer voice 21 voip preference 1 destination-pattern 2... voice-class h323 1 session target ipv4:10.1.1.2 incoming called-number 9 codec g711alaw

  15. PSTN Router1 H.323 Phone1-1 2001 Phone1-2 2002 Integrating H.323 Gateways with Cisco Unified CallManager: Add the Second VoIP Dial Peer dial-peer voice 22 voip preference 2 destination-pattern 2... voice-class h323 1 session target ipv4:10.1.1.3 incoming called-number 9 codec g711alaw

  16. PSTN Router1 H.323 Phone1-1 2001 Phone1-2 2002 Integrating H.323 Gateways with Cisco Unified CallManager: Add the Gateway

  17. PSTN Router1 H.323 Phone1-1 2001 Phone1-2 2002 Integrating H.323 Gateways with Cisco Unified CallManager: Configure Parameters

  18. PSTN Router1 H.323 Phone1-1 2001 Phone1-2 2002 Integrating H.323 Gateways with Cisco Unified CallManager: Define the Route Pattern

  19. Verifying an H.323 Integration with Cisco Unified CallManager • Dial-peer show and debug commands: router# show dial-peer voice tag • Displays detailed information about the specified dial peer router# show dial-peer voice summary • Displays a summary of all active dial peers router# debug voip dialpeer • Displays default debug output for all active VoIP dial peers

  20. Verifying an H.323 Integration with Cisco Unified CallManager (Cont.) • H.323 debug commands: router# debug h225 asn1 • Displays ASN.1 content of H.225 messages on the router router# debug h225 q931 • Displays H.225 Q931 information element details router# debug h245 events • Displays H.245 events on the router

  21. Summary • H.323 gateways are used to interconnect H.323 VoIP networks to networks that are using different signaling and/or bearer types. • An H.323 call flow consists of signaling and transmission of bearer and media packets. • H.323 allows extremely flexible decentralized call processing and call handling. • When implementing H.323 gateways, also consider DTMF and fax. • To configure an H.323 gateway, you must define at least the H.323 voice service, voice ports, and VoIP and POTS dial peers.

  22. Summary (Cont.) • To integrate an H.323 gateway into Cisco Unified CallManager, at least a new gateway and a route pattern. • To verify the Cisco Unified CallManager integration of a gateway, there are useful show and debug commands available on Cisco IOS voice gateways.

  23. Gateway Deployments Implementing MGCP Gateways

  24. Overview of MGCP Gateways • Call processing is done by a call agent such as Cisco Unified CallManager. • MGCP gateways translate voice streams between audio signals and the IP packet network. • Configuration commands for MGCP define this information: • The path between the call agent and the gateway • The type of gateway • The type of calls handled by the gateway

  25. Overview of MGCP Gateways (Cont.) • MGCP uses endpoints and connections to construct a call. • Endpoints: • Sources of or destinations for data • Physical or logical locations in a device • Connections: • Point-to-point • Multipoint • MGCP uses UDP for establishing audio connections over IP networks.

  26. PSTN MDCX CRCX Response DLCX Response RQNT Response CRCX NTFY RQNT DLCX NTFY MDCX Response RTP Stream MGCP Call Flow MGCP Gateway Signaling Bearer or Media Signaling

  27. Why MGCP? • Advantages of MGCP gateways: • Centralized dial plan configuration on the Cisco Unified CallManager • Centralized gateway configuration on the Cisco Unified CallManager • Simple Cisco IOS gateway configuration • Supports QSIG supplementary services with Cisco Unified CallManager

  28. Why MGCP? (Cont.) • H.323 versus MGCP gateways:

  29. MGCP Configuration Considerations The MGCP gateway downloads the configuration from the Cisco Unified CallManager TFTP server. Cisco Unified CallManagerAdministration Configuration is done via the web-based Cisco Unified CallManager Administration page. TFTP Server onCisco Unified CallManager MGCPGateway

  30. Basic MGCP Configuration • Configuring The MGCP configuration server: Router(config)# ccm-manager config server ip-address • Identifies the server from which the MGCP configuration should be downloaded router(config)# ccm-manager config • Enables the MGCP configuration download from the configured server

  31. Basic MGCP Configuration (Cont.) ccm-manager config server 192.168.1.1 ccm-manager config ccm-manager mgcp ccm-manager music-on-hold ccm-manager config server 192.168.1.1 ccm-manager config ! mgcp mgcp call-agent 192.168.1.1 2427 service-type mgcp version 0.1 mgcp dtmf-relay voip codec all mode out-of-band mgcp rtp unreachable timeout 1000 action notify mgcp modem passthrough voip mode nse mgcp package-capability rtp-package no mgcp package-capability res-package mgcp package-capability sst-package no mgcp package-capability fxr-package mgcp package-capability pre-package no mgcp timer receive-rtcp mgcp sdp simple mgcp rtp payload-type g726r16 static ! mgcp profile default Manually configured Configuration after TFTP download

  32. MGCP Commands • Enable MGCP and define the MGCP call agent: Router(config)# mgcp • Enables the MGCP protocol router(config)# mgcp call-agent ip-address • Specifies the primary Cisco Unified CallManager router(config)# ccm-manager mgcp • Enables the MGCP gateway to support Cisco Unified CallManager

  33. MGCP Commands (Cont.) • Configuring MGCP redundancy: Router(config)# ccm-manager redundant-host ip-address • Identifies up to two backup Cisco Unified CallManager servers router(config)# ccm-manager switchback mode • Configures switchback mode for returning control to the primary Cisco Unified CallManager router(config)# ccm-manager fallback-mgcp • Enables the MGCP fallback feature

  34. MGCP Commands (Cont.) • Configuring MOH and DTMF: Router(config)# ccm-manager music-on-hold • Enables music-on-hold router(config)# ccm-manager music-on-hold bind interface • Binds the multicast MOH feature to a designated interface Router(config)# mgcp dtmf-relay voip codec {all | low-bit-rate} mode {cisco | nse | out-of-band} • Defines DTMF relay parameters

  35. Integrating MGCP Gateways with Cisco Unified CallManager • Perform at least these steps to integrate an MGCP-controlled voice gateway into Cisco Unified CallManager: • Add a new MGCP gateway on Cisco Unified CallManager. • Configure the device hardware on Cisco Unified CallManager. • Configure the ports on Cisco Unified CallManager. • Add a new route pattern pointing to the gateway on Cisco Unified CallManager. • Enable MGCP and define the Cisco Unified CallManager as the call agent on the voice gateway.

  36. PSTN Router1 MGCP Phone1-1 2001 Phone1-2 2002 Integrating MGCP Gateways with Cisco Unified CallManager: Add the Gateway

  37. PSTN Router1 MGCP Phone1-1 2001 Phone1-2 2002 Integrating MGCP Gateways with Cisco Unified CallManager: Configure the Device

  38. PSTN Router1 MGCP Phone1-1 2001 Phone1-2 2002 Integrating MGCP Gateways with Cisco Unified CallManager: Configure the Port

  39. PSTN Router1 MGCP Phone1-1 2001 Phone1-2 2002 Integrating MGCP Gateways with Cisco Unified CallManager: Define the Route Pattern

  40. PSTN Router1 MGCP Phone1-1 2001 Phone1-2 2002 Integrating MGCP Gateways with Cisco Unified CallManager: Enable MGCP ccm-manager config server 10.1.1.1 ccm-manager config

  41. Verifying an MGCP Integration with Cisco Unified CallManager • MGCP show commands: Router# show mgcp • Displays the MGCP settings on the gateway router# show ccm-manager • Displays the Cisco Unified CallManager failover options router# show ccm-manager fallback-mgcp • Displays whether MGCP fallback is enabled and whether it is active or not (on or off)

  42. Verifying an MGCP Integration with Cisco Unified CallManager (Cont.) • MGCP show commands (Cont.): Router# show mgcp endpoint • Displays endpoints controlled by MGCP router# show isdn status • Displays information about the status of ISDN Layers 1 to 3

  43. Summary • Within an MGCP environment, call routing is done on Cisco Unified CallManager. • Within an MGCP environment, MGCP signaling is done between Cisco Unified CallManager and the gateway while RTP traffic is transferred between the phone and the gateway. • MGCP simplifies and centralizes configuration. • The MGCP configuration is downloaded from the Cisco Unified CallManager TFTP server by the gateway. • There are several MGCP commands available on Cisco IOS gateways.

  44. Summary (Cont.) • To integrate an MGCP gateway into Cisco Unified CallManager, you must configure the device settings on the Cisco Unified CallManager. • You use show commands to view the MGCP status on Cisco IOS gateways.

  45. Dial Plans on Cisco IOS Gateways Implementing Dial Plans

  46. PSTN Dial Plan Requirements

  47. PSTN H.323 Gateway DID 4085552XXX Phone1-1 2001 Phone1-2 2002 Inbound PSTN Calls 4 H.323 call setup: DNIS 2001 3 Gateway modifies DNIS to 2001 and routes to CallManager. 5 Phone1-1 rings. 13125556666 User dials 14085552001. Call setup from PSTN: DNIS 4085552001 1 2

  48. PSTN H.323 Gateway DID: 4085552XXX Phone1-1 2001 Phone1-2 2002 Outbound PSTN Calls 2 H.323 call setup: DNIS 913125556666 ANI 2001 3 Gateway modifies DNIS and ANI. 1 User dials 913125556666. 3125556666 Call setup: DNIS 13125556666 ANI´4085552001 PSTN phone rings. 5 4

More Related