Verifying MGCP
Several appearance and alter commands accommodate abutment for acceptance and troubleshooting
MGCP. You should be accustomed with the advice provided from anniversary command and
how this advice can advice you.
Use the achievement of the appearance mgcp command, an archetype of which is provided in
Example 5-10, to verify the cachet of a router’s MGCP parameters. You should see the IP
address of the UCM server that you use (10.1.1.101, in this example) and the anchorage you are
using to for MGCP. You should additionally see the authoritative and operational states as
ACTIVE. All added ambit are larboard at their absence behavior in this example. Additionally highlighted
in the archetype are the bales accurate by the gateway.
Example 5-10 appearance mgcp Command
290 Authorized Self-Study Guide: Cisco Articulation over IP (CVOICE)
router#show mgcp
MGCP Admin State ACTIVE, Oper State ACTIVE - Cause Code NONE
MGCP call-agent: 10.1.1.101 4000 Initial agreement account is MGCP 0.1
MGCP validate call-agent source-ipaddr DISABLED
MGCP validate area name DISABLED
MGCP block-newcalls DISABLED
MGCP accelerate SGCP RSIP: forced/restart/graceful/disconnected DISABLED
MGCP apprehension approach discard/step
The appearance ccm-manager command verifies the alive and bombastic configured Cisco
CallManager servers. It additionally indicates whether the aperture is currently registered with
Cisco Unified Communications Manager. Archetype 5-11 illustrates sample achievement from
the command.
Chapter 5: Examining VoIP Gateways and Aperture Control Protocols 291
MGCP apprehension of assiduous contest is ENABLED
MGCP dtmf-relay for VoIP is SDP controlled
MGCP dtmf-relay for voAAL2 is SDP controlled
MGCP voip modem passthrough disabled
MGCP voaal2 modem passthrough disabled
MGCP voip tremolo modem relay: Disabled
MGCP T.38 Named Signalling Event (NSE) acknowledgment timer: 200
MGCP Arrangement (IP/AAL2) Continuity Test timer: 200
MGCP ‘RTP beck loss’ timer: 5
MGCP appeal abeyance 500
MGCP best exponential appeal abeyance 4000
MGCP aperture port: 4000, MGCP best cat-and-mouse adjournment 3000
MGCP restart adjournment 0, MGCP vad DISABLED
MGCP rtrcac DISABLED
MGCP arrangement ability analysis DISABLED
MGCP xpc-codec: DISABLED, MGCP assiduous hookflash: DISABLED
MGCP assiduous offhook: ENABLED, MGCP assiduous onhook: DISABLED
MGCP piggyback msg ENABLED, MGCP endpoint account DISABLED
MGCP simple-sdp DISABLED
MGCP undotted-notation DISABLED
MGCP codec blazon g711ulaw, MGCP packetization aeon 20
MGCP JB beginning lwm 30, MGCP JB beginning hwm 150
MGCP LAT beginning lwm 150, MGCP LAT beginning hwm 300
MGCP PL beginning lwm 1000, MGCP PL beginning hwm 10000
MGCP CL beginning lwm 1000, MGCP CL beginning hwm 10000
MGCP playout approach is adaptive 60, 40, 200 in msec
MGCP Fax Playout Buffer is 300 in msec
MGCP media (RTP) dscp: ef, MGCP signaling dscp: af31
MGCP absence package: trunk-package
MGCP accurate packages: gm-package dtmf-package trunk-package line-package
hs-package atm-package ms-package dt-package mo-package
res-package mt-package fxr-package md-package
MGCP Digit Map analogous order: beeline match
SGCP Digit Map analogous order: consistently left-to-right
MGCP VoAAL2 ignore-lco-codec DISABLED
Example 5-11 appearance ccm-manager Command
292 Authorized Self-Study Guide: Cisco Articulation over IP (CVOICE)
router#show ccm-manager
MGCP Area Name: cisco-voice-01
Priority Cachet Host
============================================================
Primary Registered 10.89.129.211
First Backup None
Second Backup None
Current alive Alarm Manager: 10.89.129.211
Backhaul/Redundant articulation port: 2428
Failover Interval: 30 seconds
Keepalive Interval: 15 seconds
Last keepalive sent: 5w1d (elapsed time: 00:00:04)
Last MGCP cartage time: 5w1d (elapsed time: 00:00:04)
Last failover time: None
Switchback mode: Graceful
MGCP Fallback mode: Not Selected
Last MGCP Fallback alpha time: 00:00:00
Last MGCP Fallback end time: 00:00:00
Configuration Error History:
The appearance mgcp endpoint command displays a account of the articulation ports that are configured
for MGCP. Archetype 5-12 illustrates sample achievement from the command.
Example 5-12 appearance mgcp endpoint Command
router#show mgcp endpoint
Interface T1 0/1/0
ENDPOINT-NAME V-PORT SIG-TYPE ADMIN
S0/SU1/ds1-0/1@HQ-1 0/1/0:1 none up
S0/SU1/ds1-0/2@HQ-1 0/1/0:1 none up
S0/SU1/ds1-0/3@HQ-1 0/1/0:1 none up
S0/SU1/ds1-0/4@HQ-1 0/1/0:1 none up
S0/SU1/ds1-0/5@HQ-1 0/1/0:1 none up
S0/SU1/ds1-0/6@HQ-1 0/1/0:1 none up
S0/SU1/ds1-0/7@HQ-1 0/1/0:1 none up
S0/SU1/ds1-0/8@HQ-1 0/1/0:1 none up
S0/SU1/ds1-0/9@HQ-1 0/1/0:1 none up
S0/SU1/ds1-0/10@HQ-1 0/1/0:1 none up
The appearance mgcp statistics command displays a calculation of the acknowledged and unsuccessful
control commands, as apparent in Archetype 5-13. You should investigate a aerial unsuccessful
count.
Example 5-13 appearance mgcp endpoint Command
Chapter 5: Examining VoIP Gateways and Aperture Control Protocols 293
router#show mgcp statistics
UDP pkts rx 8, tx 9
Unrecognized rx pkts 0, MGCP bulletin parsing errors 0
Duplicate MGCP ack tx 0, Invalid versions calculation 0
CreateConn rx 4, acknowledged 0, bootless 0
DeleteConn rx 2, acknowledged 2, bootless 0
ModifyConn rx 4, acknowledged 4, bootless 0
DeleteConn tx 0, acknowledged 0, bootless 0
NotifyRequest rx 0, acknowledged 4, bootless 0
AuditConnection rx 0, acknowledged 0, bootless 0
AuditEndpoint rx 0, acknowledged 0, bootless 0
RestartInProgress tx 1, acknowledged 1, bootless 0
Notify tx 0, acknowledged 0, bootless 0
ACK tx 8, NACK tx 0
ACK rx 0, NACK rx 0
IP abode based Alarm Agents statistics:
IP abode 10.24.167.3, Total msg rx 8, acknowledged 8, bootless 0
Debug Commands
The afterward alter commands are advantageous for ecology and troubleshooting MGCP:
■ alter voip ccapi inout: This command shows every alternation with the alarm control
application programming interface (API) on the blast interface and the VoIP
side. Watching the achievement allows users to chase the advance of a alarm from the
inbound interface or VoIP associate to the outbound ancillary of the call. This alter command
is actual active. Therefore, you should use it sparingly in a alive network.
■ alter mgcp [ all | errors | contest | packets | parser ]: This command letters all mgcp
command activity. You should use this alter command to trace the MGCP request
and responses.