Feedback
|
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 pots3660A(config)# application MGCPAPP3660A(config)# port 1/1/0/* FXS port */3660A(config)# dial-peer voice 4 pots3660A(config)# application MGCPAPP3660A(config)# port 1/1/1/* FXS port */3660A(config)# voice-port 1/0/03660A(config-voiceport)# no shutBoth ports are in service/* FXO port */3660A(config)# voice-port 1/1/03660A(config-voiceport)# no shutBoth ports are in service/* FXS port */Display of Configuration Example
To see the current operating configuration, including changes you just made, enter the show running-configuration command, as follows.
Router# show running-configurationThe following command output displays the complete configuration:
Building configuration...Current configuration : 1244 bytes!version 12.1no service padservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname 3660A!boot system flashboot system romboot system tftp 3660A 10.0.0.201no logging bufferedlogging rate-limit console 10 except errorsno logging consoleenable secret #####enable password #####!ip subnet-zerono ip fingerno ip domain-lookup!mgcpmgcp call-agent 10.0.0.201mgcp dtmf-relay codec all mode out-of-bandmgcp sdp simplecall rsvp-sync!ccm-manager switchback gracefulccm-manager redundant-host 10.0.0.50ccm-manager mgcp!!interface FastEthernet0/0ip address 10.0.0.200 255.255.255.0no ip mroute-cachespeed autofull-duplex!ip default-gateway 10.0.0.1ip classlessno ip http server!snmp-server engineID local 000000090200000196983000snmp-server community public RO!voice-port 1/0/0!voice-port 1/0/1!voice-port 1/1/0!voice-port 1/1/1!!dial-peer voice 1 potsapplication mgcpappport 1/0/0!dial-peer voice 2 potsapplication mgcpappport 1/0/1!dial-peer voice 3 potsapplication mgcpappport 1/1/0!dial-peer voice 4 potsapplication mgcpappport 1/1/1!!line con 0transport input noneline aux 0line vty 0 4password wwlogin!endCommand Reference
This section documents the following modified commands:
All other commands used with this feature are documented in the Cisco IOS Release 12.2 command reference publications.
Note
The commands, keywords, and arguments that you can use may differ slightly from those presented here, because they vary with the platform, Cisco IOS release, and configuration you are using. When in doubt, use Cisco IOS command help (command ?) to determine the syntax choices that are available.
ccm-manager application
To configure the port number for the redundant link application, use the ccm-manager application command in global configuration mode. To disable the configuration, use the no form of this command.
ccm-manager application redundant-link port number
no ccm-manager application
Syntax Description
Defaults
Port 2428
Command Modes
Global configuration
Command History
Usage Guidelines
This command is optional. Use this command only when defining an application-specific port other than the default.
Examples
In the following example, the port number of the redundant link application is 2429:
Router(config)# ccm-manager application redundant-link port 2429Related Commands
ccm-manager mgcp
To allow the gateway to communicate with the Cisco CallManager by means of Media Gateway Control Protocol (MGCP) and supply redundant services, use the ccc-manager mgcp command in global configuration mode. To disable this command, use the no form of this command.
ccm-manager mgcp
no ccm-manager mgcp
Syntax Description
This command has no arguments or keywords.
Defaults
Cisco CallManager does not communicate with the gateway through MGCP.
Command Modes
Global configuration
Command History
Usage Guidelines
This command sets the gateway to MGCP mode. In MGCP mode, the gateway can communicate with the Cisco CallManager through MGCP, and it can enable redundancy when a backup Cisco CallManager is available.
Examples
In the following example, support for Cisco CallManager and redundancy is enabled within MGCP:
Router(config)# ccm-manager mgcpRelated Commands
ccm-manager redundant-host
To configure the IP address or the DNS name of up to two backup Cisco CallManagers, use the ccm-manager redundant-host command in global configuration mode. To disable the configuration of a backup Cisco CallManager, use the no form of this command.
ccm-manager redundant-host {ip-address | DNS-name} [ip-address | DNS-name]
no ccm-manager redundant-host {ip-address | DNS-name} [ip-address | DNS-name]
Syntax Description
ip-address
Internet protocol address of the backup Cisco CallManager.
DNS-name
Domain name system of the backup Cisco CallManager.
Defaults
If you do not configure a backup Cisco CallManager, the redundancy feature is considered off.
Command Modes
Global configuration
Command History
Usage Guidelines
You must configure one backup Cisco CallManager, and you can configure a maximum of two backup Cisco CallManagers. The list of IP addresses or DNS names is an ordered list. The Cisco CallManager defined in the mgcp call-agent command has the highest priority (that is, it is the primary Cisco CallManager). The gateway selects a Cisco CallManager based on the order in which it appears in this list.
Examples
In the following example, the IP address of the backup Cisco CallManager is 10.0.0.50:
Router(config)# ccm-manager redundant-host 10.0.0.50Related Commands
ccm-manager switchback
When a backup Cisco CallManager is used because the primary Cisco CallManager is unavailable, use the ccm-manager switchback command in global configuration mode to specify when to use the primary Cisco CallManager once it becomes available again. To disable this command, use the no form of this command.
ccm-manager switchback {graceful | immediate | schedule-time hh:mmm | uptime-delay minutes}
no ccm-manager switchback
Syntax Description
Defaults
Graceful
Command Modes
Global configuration
Command History
Usage Guidelines
This command allows you to configure switchback to the higher priority Cisco CallManager when it becomes available. Switchback allows call control to revert back to the original (primary) Cisco CallManager once service has been restored.
Examples
In the following example, the primary Cisco CallManager will be used as soon as it becomes available:
Router(config)# ccm-manager switchback immediateRelated Commands
debug ccm-manager
To display Cisco CallManager debug messages, use the debug ccm-manager command in privileged EXEC mode. To disable this command, use the no form of this command.
debug ccm-manager [errors | packets | events]
no debug ccm-manager
Syntax Description
Defaults
No default behavior or values.
Command Modes
Privileged EXEC
Command History
Examples
The following is sample output from the debug ccm-manager events command.
Router# debug ccm-manager eventsc3660A#00:22:31: CMAPP: Proc Keepalive - remain_wait:2000 ipaddr:10.0.0.5000:22:33: CMAPP: Proc Keepalive - remain_wait:13000 ipaddr:10.0.0.5000:22:33: CMAPP: Send Keepalive - last_traffic_time:15000 ipaddr:10.0.0.5000:22:34: CMAPP: TCP open failed for 10.0.0.201, calling callback.00:22:34: CMAPP-redunlink: cmapp_redun_link_callback(signal=3,sessionID=-2107756412)00:22:34: CMAPP-redunlink: cmapp_conn_refused(sessionID=-2107756412)00:22:34: CMAPP-redunlink: conn_refused for [1]:10.0.0.20100:22:34: CMAPP-conn_refused: cmapp_host_table[0].link_state=300:22:34: CMAPP-conn_refused: cmapp_host_table[1].link_state=100:22:34: CMAPP: Freeing link record with address 825E3084 for 10.0.0.201. c3660A#0:22:44: CMAPP-redunlink: cmapp_mgr_exec_redun_link_state.active_cm_idx=0, backup_cm_idx=-1, ping_cm_idx=-100:22:44: CMAPP-redunlink: xgcp_oper_state=2,0=MGCP_STATE_DOWN,1=MGCP_STATE_BLOCK_NEW_CALL,2=MGCP_STATE_ACTIVE00:22:44: CMAPP-redunlink: cmapp_open_new_redun_link (for_active_cm=0,idx=-1)00:22:44: CMAPP-redunlink: [0]:ipaddr=10.0.0.50,session=-2107758936,link=3,host=500:22:44: CMAPP-redunlink: [1]:ipaddr=10.0.0.201,session=0,link=1,host=200:22:44: CMAPP: PROCESSED REDUNLINK TIMERTable 6 describes the significant fields shown in the sample output from the debug ccm-manager events command.
Table 5 debug ccm-manager Field Descriptions
Field Descriptionnn:nn:nn:
Timestamp indicating when the event occurred.
CMAPP: error message
Cisco CallManager routine in which the error occurred.
Related Commands
Command DescriptionDisplays a list of Cisco CallManagers, as well as their status and availability.
mgcp call-agent
To configure the primary or default Cisco CallManager and to designate the optional destination UDP port number specifications to the specified Cisco CallManager, use the mgcp call-agent command in global configuration mode. To unconfigure the Cisco CallManager address, use the no form of this command.
mgcp call-agent ip-address [port] [service-type {sgcp | mgcp}]
no mgcp call-agent
Syntax Description
Defaults
If the destination UDP port is not configured, port number 2427 is used. The default service type is mgcp, Version 0.1.
Command Modes
Global configuration
Command History
Usage Guidelines
This is a required command that enables the functionality of MGCP and Cisco CallManager features. Use this command on any platform and media gateway.
When service-type is sent to mgcp, the call agent processes the Restart In Progress (RSIP) error messages sent by the gateway. When service-type is sent to sgcp, the call agent ignores the RSIP messages.
If you do not enter the mgcp call-agent command, no part of the system is controlled by any Cisco CallManager.
Examples
The following examples illustrate two formats for specifying the call agent (use either of the formats):
Router(config)# mgcp call-agent 209.165.200.225 5530 service-type mgcpRouter(config)# mgcp call-agent igloo 2009 service-type mgcpRelated Commands
Command Descriptiondebug mgcp events
Displays debug messages for MGCP events.
mgcp
Enables Media Gateway Control Protocol mode.
show ccm-manager
To display a list of Cisco CallManagers, as well as their status and availability, use the show ccm-manager command in privileged EXEC mode.
show ccm-manager [hosts | redundancy]
Syntax Description
Defaults
If you omit both keywords, hosts and redundancy information is displayed.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Use this command to determine whether your primary or backup Cisco CallManager is down, idle, or backup polling.
Examples
The following is sample output from the show ccm-manager command for displaying the status and availability of the primary and backup Cisco CallManagers.
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)Table 6 describes the significant fields shown in the display.
Related Commands
Glossary
call leg—A discrete segment of a call connection that lies between two points in the connection. An end-to-end call consists of four call legs, two from the perspective of the source access server, and two from the perspective of the destination access server.
Cisco CallManager—The Cisco CallManager serves as the software-based call-processing component of the Cisco IP telephony solution. The Cisco CallManager system extends enterprise telephony features and functions to packet telephony network devices such as IP phones, media processing devices, Voice-over-IP (VoIP) gateways, and multimedia applications. The Cisco CallManager system includes a suite of integrated voice applications that perform voice conferencing and manual attendant console functions.
Cisco CallManager server—Cisco's high-availability server platform on which Cisco CallManager software comes preinstalled.
cluster—Set of Cisco CallManagers that share the same database.
codec—A DSP software algorithm that compresses/decompresses speech or audio signals.
dial peer—Defines the characteristics associated with a call leg. Dial peers are used to apply attributes to call legs and to identify the call origin and destination. In Voice over IP, there are two types of dial peers: POTS and VoIP. Use the dial-peer voice command to define dial peers and to switch to dial-peer configuration mode.
digital signal processor—See DSP.
DNS—Domain Name System. A system used in the Internet for translating names of network nodes into IP addresses.
domain name system—See DNS.
DSP—Digital signal processor. A specialized computer chip designed to perform speedy and complex operations on digitized waveforms. It is useful in processing sound, such as voice phone calls, and video. A DSP segments the voice signal into frames and stores them in voice packets.
DTMF— Dual tone multifrequency. A system used by touch tone telephones where one high and one low frequency, or tone, is assigned to each touch tone button on a phone. DTMF digits can be detected by the voice ports after the call setup is complete and are also trapped by the session application at either end of the connection and carried over the IP network encapsulated in Real Time Conferencing Protocol (RTCP) by using the RTCP APP extension mechanism.
dual tone multi-frequency—See DTMF.
E&M—The "ear and mouth" interface (also called the "earth and magnet" interface, or the "recEive and transMit" interface). Trunk circuits connect telephone switches to one another; they do not connect end-user equipment to the network. The most common form of analog trunk circuit is the E&M interface, which uses special signaling paths that are separate from the trunk's audio path to convey information about calls. The signalling paths are known as the E-lead and the M-lead. E&M connections from routers to telephone switches or to PBXs are preferable to FXS/FXO connections, because E&M provides better answer and disconnect supervision.
FXO—Foreign Exchange Office interface. A connection between a POTS telephone and a digital telephony switching system.
FXS—Foreign Exchange Station interface. A connection between a digital telephony switching system and a POTS telephone.
gateway—A special purpose device that performs an application-layer conversion of information from one protocol stack to another. To connect an IP telephony device to the Public Switched Telephone Network (PSTN), you must use an intermediary device, called a gateway. A VoIP gateway allows users of IP phones and PC-based soft phones to exchange calls with users of plain old telephone service (POTS) phones on the PSTN. The gateway translates between the signals used on the PSTN and the IP packets used to transmit data on a TCP/IP network.
H.323—A collection of protocols that define standard methods for interconnecting H.323 endpoints and POTS devices. It is a method for converting between voice and data transmission formats and for managing connections between telephony endpoints.
IP address—Internet protocol address. A 32-bit address assigned to hosts using TCP/IP. An IP address belongs to one of five classes (A, B, C, D, or E) and is written as 4 octets separated by periods (dotted decimal format). Each address consists of a network number, an optional subnetwork number, and a host number. The network and subnetwork numbers together are used for routing, and the host number is used to address an individual host within the network or subnetwork. A subnet mask is used to extract network and subnetwork information from the IP address. Also known as an Internet address. See also subnet mask.
MGCP—Media Gateway Control Protocol. MGCP makes possible external control and management of data communications equipment operating at the edge of multi-service packet networks (known as media gateways) by software programs. The software programs are known as "call agents" or "media gateway controllers."
Media Gateway Control Protocol—See MGCP.
PBX—private branch exchange. Digital or analog telephone switchboard located on the subscriber premises, typically with an attendant console, and used to connect private and public telephone networks. A PBX is a small, privately owned version of the phone company's larger central switching office. It is connected to one or more central offices by trunks, and provides service to a number of individual phones. It can be used, for example, in a hotel, business, or government office. On a PBX, an outside line is normally accessed by the dialing of an access digit, such as 9.
POTS—Plain old telephone service. Dial peer describing the characteristics of a traditional telephony network connection. POTS dial peers point to a particular voice port on a voice network device. To configure a POTS dial peer, you must configure the associated telephone number and the logical interface.
private branch exchange—See PBX.
protocol—A set of rules or conventions that govern the format and relative timing of data movement in a communications network. There are three basic types of protocols: character-oriented, byte-oriented, and bit-oriented. The protocols for data communications cover such things as framing, error handling, transparency, and line control. Ethernet is an example of a LAN protocol.
PSTN—Public Switched Telephone Network. General term referring to the variety of telephone networks and services in place worldwide.
public switched telephone network—See PSTN.
SGCP—Simple Gateway Control Protocol. A protocol that controls Voice over IP gateways by an external element (called a call-agent).
simple gateway control protocol—See SGCP.
subnet mask—A 32-bit address mask used in IP to indicate the bits of an IP address that are being used for the subnet address. A subnet mask is used to extract network and subnetwork information from the IP address.
T1—Trunk Level 1. A digital transmission link that has a total signaling speed of 1.544 Mbps. Uses time-division multiplexing (TDM) to divide the available bandwidth into 24 64-kbps timeslots. T1 transmits through the telephone-switching network using AMI or B8ZS coding. T1 is a standard for digital transmission in North America. A T1 device combines the output of up to 24 regular telephone lines for transmission over a digital network. Also known as T-1.
TCP—Transmission Control Protocol. A connection-oriented transport layer protocol that provides reliable full-duplex data transmission. TCP is a part of the TCP/IP protocol stack.
telephony—Telephony is the science of converting sound to electrical signals and transmitting it between widely removed points.
transmission control protocol—See TCP.
UDP—User Datagram Protocol. A connectionless messaging protocol for delivery of data packets. A simple protocol that exchanges datagrams without acknowledgments or guaranteed delivery, requiring that error processing and retransmission be handled by other protocols.
User Datagram Protocol—See UDP.
Voice over IP—See VoIP.
VoIP—Voice over IP. Enables users to have voice communications over a data network using the Internet Protocol (IP). VoIP can consolidate voice and data traffic for more efficient use of bandwidth, reduce toll charges, and make possible alternatives to expensive and proprietary PBX systems. VoIP dial peers point to specific VoIP devices. To configure a VoIP dial peer, you must configure the associated destination telephone number and a destination IP address. Use the destination-pattern command to define the destination telephone number associated with a VoIP peer. Use the session target command to specify a destination IP address for a VoIP peer.
Feedback
