Cisco VoIP Troubleshooting

Thanks to https://drvoip.com/support/knowledgebase.php?article=77

These are commands listed here for my own reference so I can find it easily. Bolded are the ones I used and found useful.

SIP
debug ccsip calls
debug ccsip all
debug voice ccapi inout
debug voip ccapi inout – (great for dialpeer selection, ani, dest #, dest pattern)
debug voice dialpeer – (matching process, not good for seeing final selection)
debug ccsip messages
show voice call summ
sh call active voice – Call quality
sh call active voice stats – Call quality detailed output detail explaination
show call active voice compact
show call active voice brief – (great for dialpeer selection, codec, IP, port, ani, dest #)
sh voip rtp connections
show rtpspi statistics – Jitter and latency
show dial-peer voice summary – (dest. pattern and target server)
sh dialplan number <number> – (great for checking dialpeer functionality)
show dial-peer voice busy-trigger-counter – (shows dial-peer current usage)
sh sip calls called-number 15556661234
sh sip calls calling-number 5556661234
show sip-ua calls – Same as sh sip calls, but, comprehensive
show call history voice compact
sh sccp connections (summary) – (sessions of conf, transcoding, endpoints etc.)
show voip rtp connections – (IP addresses of both legs of RTP stream)
show udp | i <phone IP> – (IP and ports of CUBE–phone rtp stream)
sh call threshold (stats | config) – Show incoming call threshold and num. of current calls

SIP-UA
show sip-ua calls br (Vz IP address and number of calls)
show sip-ua calls summary (number of calls)
show sip-ua connections udp detail (SIP agent connections and ports)

H323
debug voice ccapi inout
debug voice dialpeer
debug isdn q931
debug voip ccapi inout
debug h245 asn1 (dtmf)
debug voip rtp session named-event (dtmf)
debug voice rtp session named-event (dtmf)
debug voip vtsp session – (show mid-call dtmf being pressed)
show voice call summ
sh voice call status
show call active voice compact
sh dialplan number 5556661234 – (dial-peer, media info, other juicy stuff)
sh sccp connections (summary) – (sessions of conf, transcoding, etc.)
sh voice port 0/0/0:23 – (gain settings, echo settings, etc.)
sh voice port summary – shows all isdn and fxo ports and status

DSP Resources
show dspf dsp all
show dspf dsp active
sh sccp connections – Shows resources used (mtp, xcode)
show dspfarm profile
sh dspfarm all – shows dsp resources configured
sh voice dsp
show platform led – (look for PVDM led color)
sh voice dsp capabilities slot 0 – CUBE – hardware capabilites

Tips for Me on Cisco Voice IOS

Hi,

I wrote this basically for my own remembering:

1. show call leg active / sh call leg act sum

Helps find active calls running on the voice gateway live.

2. sh call leg act | in Port

Helps filter which ports are being used in case I need to follow it with “shut/no shut” to reset hang ports.

3. csim start <number_to_dial>

Initiate a call from the voice gateway to the number.
Very helpful in troubleshooting voice routes.

4. debug voice ccapi inout / debug cch323 all / debug ip tcp transaction

Along with “csim” and “terminal monitor” it can provide great tool.

5. Check TCP ports on CUCM

As simple as “telnet <ip_address> 1720 / 1719 / 2000 / 2001” can help pointing a communications issue.

HTH,