Table Of Contents
Cisco 2600 and 3600 Routers MGCP Voice Gateway Interoperability with Cisco CallManager
Related Features and Technologies
Supported Standards, MIBs, and RFCs
Configuring the Router's Ethernet Interface
Configuring MGCP to Control Cisco CallManager
Configuring Dial Peers and Voice Ports for MGCP
Monitoring and Maintaining MGCP Support for the Cisco CallManager
Router's Ethernet Interface Configuration Example
MGCP Global Configuration Example
MGCP Control of Cisco CallManager Example
Dial Peers and Voice Ports Configuration Example
Display of Configuration Example
Cisco 2600 and 3600 Routers MGCP Voice Gateway Interoperability with Cisco CallManager
Document Update Alert
This document was originally produced for Cisco IOS Release 12.2(4)T. This feature has been updated in subsequent releases, and more recent documentation is available.
If you are using Cisco IOS Release 12.2(4)T or higher, refer to the following documentation in the Cisco CallManager and Cisco IOS Interoperability Configuration Guide, Cisco IOS Voice Configuration Library, Release 12.3:
•
Configuring Cisco MGCP Gateways to Interoperate with Cisco CallManager
Feature History
This document describes the additional functionality and platforms offered by the Cisco 2600 and 3600 Routers Media Gateway Control Protocol (MGCP) Voice Gateway Interoperability with Cisco CallManager feature in Cisco IOS Release 12.2(4)T.
This document includes the following sections:
•
Supported Standards, MIBs, and RFCs
•
Monitoring and Maintaining MGCP Support for the Cisco CallManager
Feature Overview
MGCP voice gateway interoperability with Cisco CallManager allows modular access routers to act as redundant failover MGCP gateways. You can enable IP telephony and Cisco CallManager solutions using Cisco 2600 and Cisco 3600 series routers as voice gateways. This allows you to use the Cisco 2600 and 3600 platforms already in your networks as MGCP gateways within an IP telephony architecture.
An MGCP gateway handles the translation between audio signals and the packet network. The gateways interact with a call agent (also called a Media Gateway Controller or MGC) that performs signal and call processing on gateway calls.
In the MGCP configurations that Cisco IOS supports, the gateway can be any of the following:
•
Cisco router
•
Access server
•
Cable modem
The call agent is either of the following:
•
A server from a third-party vendor
•
Cisco CallManager
With MGCP, gateways are defined as secondary devices under control of the call agent. MGCP uses endpoints and connections to construct a call. Endpoints are sources of or destinations for data, and can be physical or logical locations in a device. Connections can be point-to-point or multipoint. The call agent manages connections between endpoints and controls how gateways function. (See Figure 1.)
Figure 1 MGCP
An MGCP gateway derives most of the configuration it requires from the call agent. To configure an MGCP gateway, you simply identify the call agent associated with the gateway and identify the gateway to the call agent.
MGCP optionally supports multiple call agents, which can eliminate a potential single point of failure in the voice network.
The Cisco IOS CLI allows you to set up MGCP on the gateway and to identify the Cisco CallManager. Cisco CallManager assumes control over establishing and tearing down connections between IP endpoints on your network and endpoints connected through the Public Switched Telephone Network (PSTN).
MGCP uses User Datagram Protocol (UDP) for establishing audio connections over IP networks. However, MGCP also uses hairpinning to return a call to the PSTN when the packet network is not available.
Creating a call connection involves a series of signals and events that make up the connection process. The signals might include such indicators as the off-hook status, a ringing signal, or a signal to play an announcement. These events and signals are specific to the type of endpoint involved in the call.
MGCP groups these events and signals into packages. A trunk package, for example, is a group of events and signals relevant to a trunking gateway, and an announcement package is a group of events and signals for an announcement server.
In an MGCP-enabled gateway, the out-of-band dual tone multi-frequency (DTMF) package is loaded upon startup. Once the out-of-band DTMF capabilities are configured in the Cisco CallManager MGCP gateway user interface, the router sends symbols over the UDP control channel to represent any DTMF tones it receives. Cisco CallManager interprets these symbols and passes on the DTMF signals, out of band, to the signaling endpoint.
The Cisco 2600 and 3600 Routers MGCP Voice Gateway Interoperability with Cisco CallManager feature includes the following:
When you are using MGCP with a Cisco 2600 series or 3600 series router, all configuration elements associated with dial-plans are controlled by Cisco CallManager and should not be configured in the Cisco 2600 series or 3600 series gateway for MGCP-managed endpoints.
Supplementary Services
Supplementary services includes call hold, call transfer when the line is busy or there is no answer, call forwarding, and three-party call conferencing to and from the PSTN or a private branch exchange (PBX).
Call hold is a function that places the handset into mute mode. Both the transmitter and receiver function are disengaged for a period of time until the hold button is pressed again to reconnect the parties.
Call transfer is a function that transfers a call to a third party through a pre-programmed button that performs the hookswitch and draw with what is called the recall dial tone. The receiver of the call then dials the third-party number, waits for the line to ring and for the new called party to answer, and then hangs up.
Call forwarding is a function that allows you to forward calls dialed from the original location to a remote location within or across the network.
Three-party call conferencing is similar to the transfer function, but rather than transferring the call to a third party, the third party called is added to the call. The conference feature allows the three parties to converse without worrying about cutting each other off.
Cisco CallManager Redundancy
Enabling MGCP and Cisco CallManager on the gateways provides optional redundancy or failover functionality. If the gateways loses communication with the primary Cisco CallManager due to a failure, services are switched to a backup Cisco CallManager. This capability allows existing connections to be preserved during the switchover.
Redundancy requires that you have two or three Cisco CallManagers available on your network. You identify the primary Cisco CallManager with the mgcp call agent command. Up to two backup Cisco CallManagers are added with the ccm-manager redundant-host command. If you do not configure a backup Cisco CallManager, redundancy is off.
If the Cisco CallManager redundancy feature is configured and the primary Cisco CallManager becomes unavailable, the first backup Cisco CallManager takes control of the devices that were registered with the primary Cisco CallManager. If you specified a second backup Cisco CallManager, it takes control of the devices if both the primary and first backup Cisco CallManagers fail. When the primary Cisco CallManager is brought back to service, control reverts back to that CallManager. This fallback can occur immediately, after a configurable amount of time, or only when all connected sessions have been released.
Cisco CallManager Switchback
Switchback is the way that the gateways reestablish communication with the primary Cisco CallManager when it becomes available again. The switchback mode can be immediately, at a specified time after the last active call ends, or after a specified length of time to ensure greater stability in the voice network. During the switchback, existing connections are not torn down.
Benefits
Supplementary Services
The hold, transfer, forward, and conference supplementary services are software applications. Therefore, you only have to upgrade the software on the server platform rather than upgrade hardware.
Redundancy
Redundancy allows you to designate up to two backup Cisco CallManagers to handle call processing for the disabled primary Cisco CallManager.
Cisco CallManager Switchback
Switchback eliminates a potential single point of failure in the VoIP network. Switchback lets you use redundant Cisco CallManagers so that your MGCP voice gateways can continue to work if the primary Cisco CallManager fails.
Restrictions
Caller ID is supported on Foreign Exchange Station (FXS) interfaces, but not on Foreign Exchange Office (FXO) interfaces in Cisco CallManager MGCP networks.
Related Features and Technologies
•
Cisco CallManager
•
Voice over IP
Related Documents
•
Cisco CallManager Administration Guide, Version 3.0:
http://www.cisco.com/univercd/cc/td/doc/product/voice/c_callmg/3_0/index.htm
•
Cisco IOS Interface Command Reference, Release 12.2:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/finter_r/index.htm
•
Cisco IOS IP Command Reference, Vol. 1 of 3: Addressing and Services, Release 12.2:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipras_r/index.htm
•
Cisco IOS Voice, Video, and Fax Command Reference, Release 12.2:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fvvfax_r/index.htm
•
Cisco IOS Voice, Video, and Fax Configuration Guide, Release 12.2:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fvvfax_c/index.htm
•
MGCP CAS PBX AAL2 and PVC:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t2/ftmgcptk.htm
•
Release Notes for Cisco 2600 Series, IOS Release 12.2 XA:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122relnt/2600/rn2600xa.htm
•
Release Notes for Cisco 3600 Series, IOS Release 12.2 XA:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122relnt/3600/rn3600xa.htm
Supported Platforms
•
Cisco 2600 series multiservice platforms
•
Cisco 3600 series multiservice platforms
Supported Standards, MIBs, and RFCs
Standards
No new or modified standards are supported by this feature.
MIBs
No new or modified MIBs are supported by this feature.
To obtain lists of supported MIBs by platform and Cisco IOS release, and to download MIB modules, go to the Cisco MIB website on Cisco.com at the following URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
RFCs
No new or modified RFCs are supported by this feature.
Prerequisites
•
A Cisco 2600 series or Cisco 3600 series router that is running Cisco IOS software Release 12.2(2)XA or later and that supports MGCP
•
Cisco CallManager, Version 3.0(8)
•
1-port network module—A 2-channel voice network module (Cisco product number NM-1V)
•
2-port network module—A 4-channel voice network module (Cisco product number NM-2V)
•
2-port FXS card—A 2-channel analog FXS voice interface (Cisco product number VIC-2FXS)
•
2-port FXO card—A 2-channel analog FXO voice interface (Cisco product number VIC-2FXO)
Voice network modules convert telephone voice signals into a form that can be transmitted over an IP network. These modules have no connectors.
Voice interface cards (2-port analog FXS and FXO) are installed in the voice network modules to provide the connection to the telephone equipment or network. You can install one voice interface card in a 2-channel voice network module and two voice interface cards in a 4-channel module.
Configuration Tasks
See the following sections for configuration tasks for the Cisco 2600 and 3600 Routers MGCP Voice Gateway Interoperability with Cisco CallManager feature. Each task in the list is identified as either required or optional.
•
Configuring the Router's Ethernet Interface (required)
•
Configuring MGCP Globally (required)
•
Configuring MGCP to Control Cisco CallManager (required)
•
Configuring Dial Peers and Voice Ports for MGCP (required)
Configuring the Router's Ethernet Interface
To configure an IP address on the router's Ethernet interface, use the following commands, beginning in global configuration mode:
To display information about the Ethernet interface, enter the show interfaces ethernet command in EXEC mode. Example 1 illustrates a typical display that appears in response to this command.
Example 1 Output of the show interfaces ethernet Command
Router# show interfaces ethernet 4/2Ethernet4/2 is up, line protocol is upHardware is cxBus Ethernet, address is 0000.0c02.d0ce (bia 0000.0c02.d0ce)Internet address is 131.108.7.1, subnet mask is 255.255.255.0MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/255Encapsulation ARPA, loopback not set, keepalive set (10 sec)ARP type: ARPA, ARP Timeout 4:00:00Last input 0:00:00, output 0:00:09, output hang neverLast clearing of "show interface" counters 0:56:40Output queue 0/40, 0 drops; input queue 0/75, 0 dropsFive minute input rate 3000 bits/sec, 4 packets/secFive minute output rate 0 bits/sec, 0 packets/sec4961 packets input, 715381 bytes, 0 no bufferReceived 2014 broadcasts, 0 runts, 0 giants0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort567 packets output, 224914 bytes, 0 underruns0 output errors, 168 collisions, 0 interface resets, 0 restarts0 babbles, 2 late collision, 7 deferred0 lost carrier, 0 no carrier0 output buffer failures, 0 output buffers swapped outTable 1 describes the significant fields in this example.
Configuring MGCP Globally
To configure MGCP globally, use the following commands in privileged EXEC mode:
To verify the MGCP global configuration, enter the show mgcp command in privileged EXEC mode. Example 2 illustrates a typical display that appears in response to this command.
Example 2 Output of the show mgcp Command
Router# show mgcpGCP Admin State ACTIVE, Oper State ACTIVE - Cause Code NONEMGCP call-agent: 11.0.0.50 2427 Initial protocol service is MGCP, v. 0.1MGCP block-newcalls DISABLEDMGCP send RSIP for SGCP is DISABLEDMGCP quarantine mode discard/stepMGCP quarantine of persistent events is ENABLEDMGCP dtmf-relay voip codec all mode out-of-bandMGCP dtmf-relay for VoAAL2 disabled for all codec typesMGCP voip modem passthrough mode: CISCO, codec: g711ulaw, redundancy: DISABLED,MGCP voaal2 modem passthrough mode: NSE, codec: g711ulawMGCP TSE payload: 0MGCP Network (IP/AAL2) Continuity Test timer: 200MGCP 'RTP stream loss' timer: 5MGCP request timeout 500, MGCP request retries 3MGCP rtp unreachable timeout 1000MGCP gateway port: 2427, MGCP maximum waiting delay 3000MGCP restart delay 0, MGCP vad DISABLEDMGCP simple-sdp DISABLEDMGCP undotted-notation DISABLEDMGCP codec type g711ulaw, MGCP packetization period 20MGCP JB threshold lwm 30, MGCP JB threshold hwm 150MGCP LAT threshold lmw 150, MGCP LAT threshold hwm 300MGCP PL threshold lwm 1000, MGCP PL threshold hwm 10000MGCP CL threshold lwm 1000, MGCP CL threshold hwm 10000MGCP playout mode is adaptive 60, 4, 200 in msecMGCP IP ToS low delay disabled, MGCP IP ToS high throughput disabledMGCP IP ToS high reliability disabled, MGCP IP ToS low cost disabledMGCP IP RTP precedence 5, MGCP signaling precedence: 3MGCP default package: line-packageMGCP supported packages: gm-package dtmf-package trunk-package line-packagehs-package rtp-package ms-package dt-package sst-packagc-packageMGCP VoAAL2 ignore-lco-codec DISABLEDConfiguring MGCP to Control Cisco CallManager
To configure MGCP to control Cisco CallManager, use the following commands in global configuration mode:
To verify the configuration, enter the show ccm-manager command in privileged EXEC mode. Example 3 illustrates a typical display that appears in response to this command.
Example 3 Output of the show ccm-manager Command
Router# show ccm-managerc3660A#show ccm-managerMGCP Domain Name: c3660A.cisco.comTotal number of host: 2Priority Status Host===================================================Primary Registered 10.0.0.201First backup Backup polling 10.0.0.50Second backup UndefinedCurrent active Call Manager: 10.0.0.201Current backup Call Manager: 10.0.0.50Redundant link port: 2428Failover Interval: 30 secondsKeepalive Interval: 15 secondsLast keepalive sent: 00:20:18 (elapsed time: 00:00:06)Last MGCP traffic time: 00:20:18 (elapsed time: 00:00:06)Last switchover time: NoneSwitchback mode: Not selected (Default:Graceful)Example 2 describes the significant fields shown in the display.
Configuring Dial Peers and Voice Ports for MGCP
To configure dial peers and voice ports for MGCP, use the following commands, beginning in global configuration mode:
The router is now ready to communicate with the Cisco CallManager. It periodically sends out messages attempting to establish a connection. When the Cisco CallManager configuration is complete, the connection should automatically establish itself. You should not have to make any further changes on the router.
To display configuration information for dial peers, use the show dial-peer voice command in privileged EXEC mode or the show voice-port command in privileged EXEC mode. The commands are described briefly below.
Example 4 illustrates a typical display that appears in response to the show dial-peer voice command for a VoIP dial peer.
Example 4 Output of the show dial-peer voice Command
Router# show dial-peer voice 1000c3660A#show dial-peer voice 1000VoiceEncapPeer1000information type = voice,description = `',tag = 1000, destination-pattern = `',answer-address = `', preference=0,numbering Type = `unknown'group = 1000, Admin state is up, Operation state is down,incoming called-number = `', connections/maximum = 0/unlimited,DTMF Relay = disabled,huntstop = disabled,in bound application associated: 'mgcpapp'out bound application associated: ''dnis-map =permission :bothincoming COR list:maximum capabilityoutgoing COR list:minimum requirementtype = pots, prefix = `',forward-digits defaultsession-target = `', voice-port = `',direct-inward-dial = disabled,digit_strip = enabled,register E.164 number with GK = TRUEConnect Time = 0, Charged Units = 0,Successful Calls=0, Failed Calls=0, Incomplete Calls=0Accepted Calls = 0, Refused Calls = 0,Last Disconnect Cause is "",Last Disconnect Text is "",Last Setup Time = 0.Table 3 describes the significant fields in this example.
Example 5 illustrates sample output from the show voice-ports command for an FXS analog voice port on a Cisco 3600 router.
Example 5 Output of the show voice ports Command
Router# show voice port 1/0/0c3660A#show voice port 1/0/0Foreign Exchange Office 1/0/0 Slot is 1, Sub-unit is 0, Port is 0Type of VoicePort is FXOOperation State is DORMANTAdministrative State is UPNo Interface Down FailureDescription is not setNoise Regeneration is enabledNon Linear Processing is enabledNon Linear Mute is disabledNon Linear Threshold is -21 dBMusic On Hold Threshold is Set to -38 dBmIn Gain is Set to 0 dBOut Attenuation is Set to 3 dBEcho Cancellation is enabledEcho Cancellation NLP mute is disabledEcho Cancellation NLP threshold is -21 dBEcho Cancel Coverage is set to 8 msPlayout-delay Mode is set to defaultPlayout-delay Nominal is set to 60 msPlayout-delay Maximum is set to 200 msPlayout-delay Minimum mode is set to default, value 40 msPlayout-delay Fax is set to 300 msConnection Mode is normalConnection Number is not setInitial Time Out is set to 10 sInterdigit Time Out is set to 10 sCall Disconnect Time Out is set to 60 sRinging Time Out is set to 180 sWait Release Time Out is set to 30 sCompanding Type is u-lawRegion Tone is set for USAnalog Info Follows:Currently processing noneMaintenance Mode Set to None (not in mtc mode)Number of signaling protocol errors are 0Impedance is set to 600r OhmStation name None, Station number NoneVoice card specific Info Follows:Signal Type is loopStartNumber Of Rings is set to 1Supervisory Disconnect is inactiveAnswer Supervision is inactiveHook Status is On HookRing Detect Status is inactiveRing Ground Status is inactiveTip Ground Status is inactiveDial Type is dtmfDigit Duration Timing is set to 100 msInterDigit Duration Timing is set to 100 msPulse Rate Timing is set to 10 pulses/secondInterDigit Pulse Duration Timing is set to 750 msPercent Break of Pulse is 60 percentGuardOut timer is 2000 msTable 4 describes the significant fields in this example.
Troubleshooting Tips
All dial plan-related configuration elements are controlled by the Cisco CallManager, and should not be configured in the MGCP gateway for MGCP-managed endpoints (any endpoint with an application mgcapp command in its dial-peer statement). You should not use the destination-pattern or session-target dial-peer configuration commands, nor the connection voice-port configuration command.
Monitoring and Maintaining MGCP Support for the Cisco CallManager
Configuration Examples
This section provides the following configuration examples:
•
Router's Ethernet Interface Configuration Example
•
MGCP Global Configuration Example
•
MGCP Control of Cisco CallManager Example
•
Dial Peers and Voice Ports Configuration Example
Following the configuration examples there is a display of a current configuration. Go to Display of Configuration Example.
Router's Ethernet Interface Configuration Example
In the following example, there is a Cisco 3600 series router and one FastEthernet 10/100 port.
router(config)# interface fastethernet 0/0router(config-if)# ip address 10.0.0.200 255.255.255.0router(config-if)# no shutMGCP Global Configuration Example
In the following example, the IP address for the Cisco CallManager is 10.0.0.201, the DTMF relay is enabled, and the router is communicating with a Cisco CallManager.
router(config)# hostname 3660A3660A(config)# mgcp3660A(config)# mgcp call-agent 10.0.0.2013660A(config)# mgcp dtmf-relay voip codec all mode out-of-band3660A(config)# ccm-manager mgcpMGCP Control of Cisco CallManager Example
In the following example, the commands required to configure the gateway and redundancy are shown.
mgcp !Configures router to run MGCPmgcp call-agent 10.0.0.201 service-type mgcp version 0.1 ! Defines Primary CallManagermgcp dtmf-relay voip codec all mode out-of-band !Voice over IP calls, no DTMFTo configure redundancy, enter the following commands:
ccm-manager switchback graceful !After last call ends, use primary Cisco CallManagerccm-manager redundant-host 10.0.0.50 !Defines redundant Cisco CallManager (first backup)ccm-manager mgcp !Enables support for Cisco CallManager within MGCPDial Peers and Voice Ports Configuration Example
In the following example, voice port 0 is configured in voice interface card 1 with MGCP. There are two FXO ports, and two FXS ports. (Voice ports are always installed in slot 1 of the gateway, and slot and port numbering begins at 0.) The MGCP application is applied to a dial peer. The voice-port command specifies that the voice network module will be installed in router slot 1, the location of the VIC is 1, and the voice port is 0.
3660A(config)# dial-peer voice 1 pots3660A(config)# application MGCPAPP3660A(config)# port 1/0/0/* FXO port */3660A(config)# dial-peer voice 2 pots3660A(config)# application MGCPAPP3660A(config)# port 1/0/1/* FXO port */3660A(config)# dial-peer voice 3 pots

