250 likes | 465 Views
Implementing MGCP Gateways in Cisco Unified Communications Manager. Enabling Single-Site On-Net Calling. Outline. Cisco Unified Communications Manager and MGCP Gateways MGCP Gateway Support in Cisco Unified Communications Manager and Cisco IOS Gateways
E N D
Implementing MGCP Gateways in Cisco Unified Communications Manager Enabling Single-Site On-Net Calling
Outline Cisco Unified Communications Managerand MGCP Gateways MGCP Gateway Support in Cisco Unified Communications Manager and Cisco IOS Gateways MGCP Gateway Configuration in Cisco Unified Communications Manager Cisco IOS Gateway MGCP Configuration
Cisco Unified Communications Manager and MGCP Gateways
MGCP Gateways MGCP (defined under RFC 2705) is a master-slave protocol Allows a call control device (such as Unified CM) to take control of a specific port on a gateway Provides centralized gateway administration and highly scalable gateway solutions: Allows complete control of the dial plan from Unified CM Allows Unified CMper-port control of gateway connections to PSTN, legacy PBX/VM systems, analog phones, etc. Allows use of plain-text commands between the Unified CM and the gateway over UDP port 2427 Gateway must be supported by Unified CM for MGCP(use Cisco Software Advisor tool to verify compatibility)
Endpoint Identifiers Slot 1 Subunit 1 Port 1 S1/SU1/DS1-1@gw1.domain.com S1/SU1/DS1-1@gw1.domain.com Hostname Endpoint type (T1/E1 trunk) AALN/S2/SU1/1@gw1.domain.com Hostname Slot 2 Subunit 1 AALN/S2/SU1/1@gw1.domain.com Port 1 Endpoint type (analog line) T1/E1 VWIC MGCP PSTN/PBX 2/1/1 FXS VWIC 2/1/1
MGCP and SCCP Interaction Cisco IP phones use SCCP to communicate with Unified CM Unified CM uses MGCP to control the gateway Actual voice data is through RTP directly between the two devices Unified CM Rel. 6.0 SCCP RTP/UDP MGCP PSTN Gateway
MGCP Gateway Support in Cisco Unified Communications Manager and Cisco IOS Gateways
MGCP Support in Cisco Unified Communications • Wide range of supported Cisco IOS router platforms • Wide range of supported analog and digital interfaces • Wide range of analog and digital features • Cisco Unified Communications Manager configuration server • Cisco IOS MGCP gateway can pull its configuration from Cisco Unified Communications TFTP server • Eliminates the need for manual gateway configuration • PRI backhaul support • For Cisco IOS gateways with ISDN PRIs • Cisco Unified Communications Manager takes control of ISDN D channel
Cisco Unified Communications Manager Configuration Server Unified CM Administrator configures MGCP gateway in Unified CM 10.1.1.1 Unified CM creates file with MGCP configuration for gateway File is stored on Cisco TFTP server MGCP Gateway 10.1.1.101 PSTN 1/1/1 TFTP download T1/E1 VWIC Gateway pulls configuration file and applies MGCP configuration Gateway configured to use configuration server. GW(config)#ccm-manager config server 10.1.1.1 GW(config)#ccm-manager config
PRI Backhaul D-channel call-setup signals need to be carried in their raw form back to the Unified CM to be processed Gateway terminates data link layer and passes the rest of signals (Q.931 and above) to Unified CM via TCP port 2428 D-channel will be down unless it can communicate with Unified CM CUCM Gateway PSTN CO ISDN Call Ctrl Q.931 Q.931 TCP TCP Q.921 Q.921 PRI Backhaul T1 PRI
MGCP Gateway Configuration in Cisco Unified Communications Manager
Cisco Unified Communications Manager Gateway Configuration Procedure Add an MGCP gateway. Configure the MGCP gateway. Add voice modules. Add VICs to the module. Configure MGCP endpoints.
Step 1: Add an MGCP Gateway From Unified CM Administration, choose Device > Gateway. Click the Add New button. The Add a New Gateway window displays. From the Gateway Type drop-down list box, choose the appropriate MGCP gateway. Click Next.
Step 1: Add an MGCP Gateway (Cont.) Select MGCP for the gateway protocol. Click Next.
Step 2: MGCP Gateway Configuration Enter gateway name. Enter description. Select Cisco Unified Communications Manager Group. Get help for global parameters Configure global parameters
Steps 3 and 4: Add MGCP Endpoints by Selecting Modules and Voice Interface Cards Select module (per slot) Select VIC (per module) MGCP endpoint(s) are shown and can be clicked for endpoint configuration
Step 5: Configure the MGCP Endpoint Verify ISDN PRI interface configuration and change if required Enter endpoint description and select device pool Note: MGCP endpoint configuration parameters differ per type of endpoint.
Step 5: Configure the MGCP Endpoint (Cont.) Verify product-specific configuration and change if required Click for help about configuration parameters Verify ISDN protocol configuration and change if required Note: MGCP endpoint configuration parameters differ per type of endpoint.
Cisco IOS Gateway MGCP Configuration Overview Recommended method (configuration server): Specify the IP address of the configuration server (Unified CM TFTP server) Enable configuration download Optional: Modify automatically applied MGCP configuration Alternative (manual) method: Specify primary and redundant call agent (Unified CM ) servers Configure required global MGCP parameters Enable MGCP on POTS dial peers Enable MGCP
Configuring Cisco IOS Gateway for MGCP Using a Configuration Server Prerequisites: MGCP gateway needs to be configured in Unified CM Gateway hostname must match name specified in Unified CM gateway configuration Specifies Unified CM TFTP server hosting the gateway configuration XML file Enables gateway to pull configuration from TFTP server router(config)#ccm-manager config server <CUCM_TFTP_IP> router(config)#ccm-manager config
Configuring Cisco IOS Gateway for MGCP – Example controller E1 0/3/0 framing hdb3 linecode crc4 pri-group timeslots 1-31 service mgcp interface Serial0/3/0:15 isdn switch-type primary-net5 isdn incoming-voice voice isdn bind-l3 ccm-manager ccm-manager mgcp ccm-manager music-on-hold ccm-manager config server 10.1.1.1 ccm-manager config mgcp mgcp call-agent 10.1.1.1 2427 service-type mgcp version 0.1 mgcp rtp unreachable timeout 1000 action notify mgcp modem passthrough voip mode nse mgcp package-capability rtp-package mgcp package-capability sst-package mgcp package-capability pre-package no mgcp package-capability res-package no mgcp package-capability fxr-package no mgcp timer receive-rtcp mgcp sdp simple mgcp rtp payload-type g726r16 static mgcp profile default Unified CM 10.1.1.1 MGCP Gateway 10.1.1.101 TFTP download Only red-colored, bold commands have been manually configured. Black-colored commands have been added via TFTP. 0/3/0 E1 PSTN
Summary MGCP provides centralized gateway administration and highly scalable gateway solutions. It allows Cisco Unified Communications Manager to take control of a specific port on a voice gateway. Cisco Unified Communications Manager supports various MGCP gateway router platforms and interfaces. The gateway MGCP configuration can be provided by Cisco Unified Communications Manager for TFTP download. To configure MGCP in Cisco Unified Communications Manager, add an MGCP gateway, add voice modules, add VICs, and then configure the VICs. Configure Cisco IOS MGCP gateways to pull the configuration from Cisco Unified Communications Manager to reduce manual configuration efforts.