© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Gateway Deployments Implementing MGCP Gateways
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v 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
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v 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.
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v MGCP Call Flow MGCP Gateway RQNT PSTN Signaling Bearer or Media RTP Stream RQNT Response NTFY CRCX CRCX Response MDCX MDCX Response NTFY DLCX DLCX Response Signaling
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v 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
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Why MGCP? (Cont.) H.323 versus MGCP gateways: H.323MGCP Pros Dial plan directly on the gateway Translations defined per gateway Regional requirements can be met More specific call routing Advanced fax support Centralized dial-plan configuration Centralized gateway configuration Simple gateway configuration Easy implementation Support of QSIG supplementary services Cons Complex configuration Extra SRST-related call routing configuration
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v MGCP Configuration Considerations TFTP Server on Cisco Unified CallManager Cisco Unified CallManager Administration MGCP Gateway Configuration is done via the web-based Cisco Unified CallManager Administration page. The MGCP gateway downloads the configuration from the Cisco Unified CallManager TFTP server.
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v ccm-manager config server ip-address Router(config)# Identifies the server from which the MGCP configuration should be downloaded ccm-manager config router(config)# Enables the MGCP configuration download from the configured server Basic MGCP Configuration Configuring The MGCP configuration server:
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Basic MGCP Configuration (Cont.) ccm-manager config server ccm-manager config ccm-manager mgcp ccm-manager music-on-hold ccm-manager config server ccm-manager config ! mgcp mgcp call-agent 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
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v mgcp Router(config)# Enables the MGCP protocol mgcp call-agent ip-address router(config)# Specifies the primary Cisco Unified CallManager MGCP Commands Enable MGCP and define the MGCP call agent: ccm-manager mgcp router(config)# Enables the MGCP gateway to support Cisco Unified CallManager
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v ccm-manager redundant-host ip-address Router(config)# Identifies up to two backup Cisco Unified CallManager servers ccm-manager switchback mode router(config)# Configures switchback mode for returning control to the primary Cisco Unified CallManager MGCP Commands (Cont.) Configuring MGCP redundancy: ccm-manager fallback-mgcp router(config)# Enables the MGCP fallback feature
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v ccm-manager music-on-hold Router(config)# Enables music-on-hold ccm-manager music-on-hold bind interface router(config)# Binds the multicast MOH feature to a designated interface MGCP Commands (Cont.) Configuring MOH and DTMF: mgcp dtmf-relay voip codec {all | low-bit-rate} mode {cisco | nse | out-of-band} Router(config)# Defines DTMF relay parameters
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Integrating MGCP Gateways with Cisco Unified CallManager Perform at least these steps to integrate an MGCP-controlled voice gateway into Cisco Unified CallManager: 1. Add a new MGCP gateway on Cisco Unified CallManager. 2. Configure the device hardware on Cisco Unified CallManager. 3. Configure the ports on Cisco Unified CallManager. 4. Add a new route pattern pointing to the gateway on Cisco Unified CallManager. 5. Enable MGCP and define the Cisco Unified CallManager as the call agent on the voice gateway.
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Phone Phone Integrating MGCP Gateways with Cisco Unified CallManager: Scenario PSTN Router1 MGCP Configure the router as an MGCP gateway for the Cisco Unified CallManager. Configure the MGCP gateway on Cisco Unified CallManager and route calls to that gateway.
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v PSTN Router1 MGCP Integrating MGCP Gateways with Cisco Unified CallManager: Add the Gateway Phone Phone
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v PSTN Router1 MGCP Integrating MGCP Gateways with Cisco Unified CallManager: Configure the Device Phone Phone
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v PSTN Router1 MGCP Integrating MGCP Gateways with Cisco Unified CallManager: Configure the Port Phone Phone
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v PSTN Router1 MGCP Integrating MGCP Gateways with Cisco Unified CallManager: Define the Route Pattern Phone Phone
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v Phone Phone Integrating MGCP Gateways with Cisco Unified CallManager: Enable MGCP PSTN Router1 MGCP ccm-manager config server ccm-manager config
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v show mgcp Router# Displays the MGCP settings on the gateway show ccm-manager router# Displays the Cisco Unified CallManager failover options Verifying an MGCP Integration with Cisco Unified CallManager MGCP show commands: show ccm-manager fallback-mgcp router# Displays whether MGCP fallback is enabled and whether it is active or not (on or off)
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v show mgcp endpoint Router# Displays endpoints controlled by MGCP show isdn status router# Displays information about the status of ISDN Layers 1 to 3 Verifying an MGCP Integration with Cisco Unified CallManager (Cont.) MGCP show commands (Cont.):
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v 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.
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v 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.
© 2006 Cisco Systems, Inc. All rights reserved.GWGK v