23/07/2019 SIP debugging commands overview - Cisco Community
FIND A COMMUNITY
Cisco
Community
English Register Login
Speak French? Now you can ask your questions in the new French Community! CLICK HERE
This board
Options
Search Collaboration, Voice and Video Documents
Cisco / Technology and / Collaboration, Voice and / Collaboration, Voice and Video
Community Support Video Documents
/ SIP debugging commands overview
SIP debugging commands overview
Other IP Telephony
49627 15 0
VIEWS HELPFUL COMMENTS
Muthurani Lavanya Paneerselvam
07-29-2015 11:47 PM
Edited On: 03-12-2019 10:18 AM
Introduction
This document covers the overview of SIP debugging commands which are helpful while examining the status of SIP
components and troubleshooting.
SIP debugging overview
debug ccsip: This has various options,
debug ccsip all: This command enables all ccsip type debugging. This debug command is very active, you should use
it sparingly in a live network
debug ccsip calls: This command displays all SIP call details as they are updated in the SIP call control block. You can
use this debug command to monitor call records for suspicious clearing causes.
debug ccsip errors: This command traces all errors that are encountered by the SIP subsystem.
debug ccsip events: this command traces event, such as call setups, connections and disconnections. An events
version of a debug command is often the best place to start because detailed debugs provide much useful
information.
debug ccsip info: This command enables tracing of general SIP security parameter index (SPI) information, including
verication that call redirection is disabled.
debug ccsip media: This command enables tracing of SIP media streams
https://community.cisco.com/t5/collaboration-voice-and-video/sip-debugging-commands-overview/ta-p/3155271 1/5
23/07/2019 SIP debugging commands overview - Cisco Community
debug ccsip messages: This command shows the headers of SIP messages that are exchanged between a client and
a server.
debug ccsip preauth: This command enables diagnostic reporting of authentication, authorization, accounting (AAA)
for SIP calls.
debug ccsip states: This command displays the SIP states and state changes for sessions within the SIP subsytem.
debug ccsip transport: This command enables tracing the SIP transport handler and the TCP or UDP process
debug voip ccapi inout: This command shows every interaction with the call control application programming interface
(API) on both the telephone interface and on the VOIP side. By monitoring the output, you can follow the progress of a
call from the inbound interface or VOIP peer to the outbound side of the call. This debug command is very active. you
should use it sparingly in a live network.
debug voip ccpai protoheaders: This command displays messages that are sent between the originating and
terminating gateways. If no headers are being received by the terminating gateway, verify that the header-passing
command is enabled on the originating gateway.
Feature Design of SIP Debug Output Filtering Support
Prior to the SIP Debug Output Filtering Support feature, debugging and troubleshooting on the VoIP gateway was made
more challenging by the extensive amounts of raw data generated by debug output.
This feature allows the debug output for a SIP call to be ltered according to a variety of criteria. The SIP Debug Output
Filtering Support feature provides a generic call ltering mechanism that does the following:
•Allows you to dene a set of matching conditions for ltering calls.
•Identies the desired calls based on the congured matching conditions inside VoIP gateways.
•Coordinates the ltering eort on traced calls between multiple modules inside VoIP gateways.
•Displays the debugging trace for calls that match the specied conditions.
SIP Debug Commands that Support Output Filtering
•debug ccsip all
•debug ccsip calls
•debug ccsip events
•debug ccsip messages
•debug ccsip preauth
•debug ccsip states
Conguring Call Filters
This task congures the conditions for ltering SIP calls.
SUMMARY STEPS
1. enable
2. congure terminal
3. call lter match-list number voice
4. incoming calling-number string
https://community.cisco.com/t5/collaboration-voice-and-video/sip-debugging-commands-overview/ta-p/3155271 2/5
23/07/2019 SIP debugging commands overview - Cisco Community
5. incoming called-number string
6. incoming signaling {local | remote} ipv4 ip-address
7. incoming media {local | remote} ipv4 ip-address
8. incoming dialpeer tag
9. outgoing calling-number string
10. outgoing called-number string
11. outgoing signaling {local | remote} ipv4 ip-address
12. outgoing media {local | remote} ipv4 ip-address
13. outgoing dialpeer tag
14. end
Example:
call lter match-list 1 voice
incoming called-number 4085559876
!
voice-port 0:D
!
voice-port 1:D
!
voice-port 2:D
!
voice-port 3:D
Enabling SIP Debug Output Filtering: Example
Router# debug condition match-list 1 exact-match
Router# debug ccsip all
Router# show debug
CCSIP SPI:SIP Call Statistics tracing is enabled (lter is ON)
CCSIP SPI:SIP Call Message tracing is enabled (lter is ON)
CCSIP SPI:SIP Call State Machine tracing is enabled (lter is ON)
CCSIP SPI:SIP Call Events tracing is enabled (lter is ON)
CCSIP SPI:SIP error debug tracing is enabled (lter is ON)
CCSIP SPI:SIP info debug tracing is enabled (lter is ON)
CCSIP SPI:SIP media debug tracing is enabled (lter is ON)
CCSIP SPI:SIP Call preauth tracing is enabled (lter is ON)
Router# Debug ltering is now on
Building conguration...
!
!
!
call lter match-list 1 voice
incoming called-number 4085551221
!
end
https://community.cisco.com/t5/collaboration-voice-and-video/sip-debugging-commands-overview/ta-p/3155271 3/5
23/07/2019 SIP debugging commands overview - Cisco Community
Related Information
Cisco IOS voice Troubleshooting and Monitoring guide
Tags: SIP debugging commands overview
15 Helpful
Share
Latest Contents
Multiple user access to Cisco Unity voicemail
Created by Ross Dovey on 07-23-2019 06:08 AM
0 0
Hi, Wondering if anyone can help, can someone please conrm whether the Alternate Extensions list is the only way of giving multip
le users access to a shared voicemail? This appears to be limited to 10 users if I'm understanding correctly, we a... view more
How do I completely disable ADB on an DX80 without Cisco UCM...
Created by philekiert on 07-23-2019 05:14 AM
0 0
Question's pretty much in the title, I can't seem to nd any way to do this through the API or the web interface. Hopefully I'm just be
ing blind. We could just put an anti tamper label over USB ports, but it'd be nice to completely disable it for ad... view more
SIP inbound
Created by pcromwell on 07-23-2019 02:47 AM
0 0
We have a just migrated to a sip provider from ISDN. the SIP calls terminate on a cube. this is routed to CUCM via Sip trunk.The mai
n number is congured as a CTI port and this is forwarded to unity call handler to play a message and then ivr options.&nb... view
more
incoming call appearing twice number in cisco 7811
Created by immu_91700 on 07-23-2019 02:33 AM
3 0
this is hotel side each room we have two two phones but when we call from one room to another room in display we are receiving
number and name twice kindly need your support to x this issue. rare receiving name twice Kindly ... view more
Cisco Unity Connection disk capacity
Created by Gilles Dellaccio on 07-22-2019 11:59 PM
0 0
Hi, i have this issue with a CUC v9. But the users have already delete his message.Somebody have a idea for me? magic CLI? Cisc
o Unity Connection cannot accept new messages, and you may not be able to upgrade Connection. The location where messa... vi
ew more
Create Please login to create content
Discussion Video
Blog
Document
Related Content
Discussions
https://community.cisco.com/t5/collaboration-voice-and-video/sip-debugging-commands-overview/ta-p/3155271 4/5
23/07/2019 SIP debugging commands overview - Cisco Community
Blogs
Events
Videos
Recommended
11-18-2012
Cisco EEM Basic Overview and Sample Con... ashirkar
07:38 AM
01-17-2019
SIP Debugging cmparish5
11:13 AM
07-01-2018
Cisco Webex Training - Overview azoupas
10:15 AM
06-30-2013
"BGP Neighbor fall-over” Command Overvi... ashirkar
03:20 AM
08-29-2011
Basic SIP Call Flows & Troubleshooting ... Muthurani Lavanya Paneerselvam
12:41 AM
Top
Follow our Social Media Channels
Contacts Privacy Statement
Community Feedback Cookie Policy
Site Map Trademarks
Terms & Conditions Help
https://community.cisco.com/t5/collaboration-voice-and-video/sip-debugging-commands-overview/ta-p/3155271 5/5