One of the first steps in troubleshooting an MGCP configuration is to verify that the gateway is registered with the correct CallManager with the command show ccm-manager. The result, as shown in Example 2-1, lists primary and backup CallManagers, in addition to statistics about the connection. Check that the CallManager IP addresses are configured correctly.
[View full width] VGateway#show ccm-manager MGCP Domain Name: VGateway Priority Status Host ============================================================ Primary Registered 10.6.2.10![]() ![]() ![]() ![]() |
The show mgcp command gives a long, detailed breakdown of your MGCP configuration. The lines to check in here depend on the type of problem you are having. Some common lines to examine are highlighted in the output of Example 2-2.
[View full width] VGateway#show mgcp MGCP Admin State ACTIVE, Oper State ACTIVE - Cause Code NONE![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
If you have made recent changes to the MGCP configuration or its endpoints, stop and start the MGCP process (no mgcp and then mgcp), and then give the show commands again.
The show mgcp endpoint command lists the active endpoints on the gateway. You can also look in CallManager under Device > Gateways > Find and List Gateways to see which endpoints have registered with CallManager. If a voice port is not registered, make sure you have the application mgcpapp command under its dial peer, and that it is configured in CallManager.
Related to this, show voice port gives the status of each port to verify that it is up. If a port is down and the physical connection is good, try shutting and not shutting it, especially with FXS and FXO ports.
You can monitor active calls with the show mgcp connection command. Look for the M (for Mode) field. You should see M=3 if the connection is able to both send and receive traffic.
In addition, you can use the CallManager Performance Monitor and the Cisco Real Time Monitoring Tool (RTMT) to troubleshoot problems with MGCP gateways and endpoints.
Part I: Voice Gateways and Gatekeepers
Gateways and Gatekeepers
Part II: Gateways
Media Gateway Control Protocol
H.323
Session Initiation Protocol
Circuit Options
Connecting to the PSTN
Connecting to PBXs
Connecting to an IP WAN
Dial Plans
Digit Manipulation
Influencing Path Selection
Configuring Class of Restrictions
SRST and MGCP Gateway Fallback
DSP Resources
Using Tcl Scripts and VoiceXML
Part III: Gatekeepers
Deploying Gatekeepers
Gatekeeper Configuration
Part IV: IP-to-IP Gateways
Cisco Multiservice IP-to-IP Gateway
Appendix A. Answers to Chapter-Ending Review Questions
Index