Verifying and Troubleshooting SIP Features
Verifying and Troubleshooting SIP Features
Verifying and Troubleshooting SIP Features
Note Under moderate traffic loads, debug commands produce a high volume of output. We therefore recommend
that, as a general rule, you use show commands first and use debug commands with caution.
Note General troubleshooting of problems affecting basic functionality such as dial peers, digit translation, and IP
connectivity is beyond the scope of this chapter. For links to additional troubleshooting help, see "Additional
References".
SUMMARY STEPS
1. show sip service
2. show sip-ua register status
3. show sip-ua statistics
4. show sip-ua status
5. show sip-ua timers
DETAILED STEPS
The following sample output shows that SIP call service was shut down with the shutdown command:
Example:
The following sample output shows that SIP call service was shut down with the call service stop command:
Example:
The following sample output shows that SIP call service was shut down with the shutdown forced command:
Example:
The following sample output shows that SIP call service was shut down with the call service stop forced command:
Example:
The following sample output shows the RedirectResponseMappedToClientError status message. An incremented number
indicates that 3xx responses are to be treated as 4xx responses. When call redirection is enabled (default), the
RedirectResponseMappedToClientError status message is not incremented.
Example:
• Use the debug aaa authentication command to display high-level diagnostics related to AAA logins.
• Use the debug asnl eventscommand to verify that the SIP subscription server is up. The output displays
a pending message if, for example, the client is unsuccessful in communicating with the server.
• Use the debug call fallback family of commands to display details of VoIP call fallback.
• Use the debug cch323family of commands to provide debugging output for various components within
an H.323 subsystem.
• Use the debug ccsipfamily of commands for general SIP debugging, including viewing direction-attribute
settings and port and network address-translation traces. Use any of the following related commands:
• debug ccsip all--Enables all SIP-related debugging
• debug ccsip calls--Enables tracing of all SIP service-provider interface (SPI) calls
• debug ccsip error--Enables tracing of SIP SPI errors
• debug ccsip events--Enables tracing of all SIP SPI events
• debug ccsip info--Enables tracing of general SIP SPI information, including verification that call
redirection is disabled
• debug ccsip media--Enables tracing of SIP media streams
• debug ccsip messages--Enables all SIP SPI message tracing, such as those that are exchanged
between the SIP user-agent client (UAC) and the access server
• debug ccsip preauth--Enables diagnostic reporting of authentication, authorization, and accounting
(AAA) preauthentication for SIP calls
• debug ccsip states--Enables tracing of all SIP SPI state tracing
• debug ccsip transport--Enables tracing of the SIP transport handler and the TCP or User Datagram
Protocol (UDP) process
• Use the debug isdn q931command to display information about call setup and teardown of ISDN network
connections (layer 3) between the local router (user side) and the network.
• Use the debug kpml command to enable debug tracing of KPML parser and builder errors.
• Use the debug radius command to enable debug tracing of RADIUS attributes.
• Use the debug rpms-proc preauth command to enable debug tracing on the RPMS process for H.323
calls, SIP calls, or both H.323 and SIP calls.
• Use the debug rtr trace command to trace the execution of an SAA operation.
• Use the debug voip family of commands, including the following:
• debug voip ccapi protoheaders --Displays messages 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.
• debug voip ivr script--Displays any errors that might occur when the Tcl script is run
• debug voip rtp session named-event 101 --Displays information important to DTMF-relay
debugging, if you are using codec types g726r16 or g726r24. Be sure to append the argument 101
to thecommand to prevent the console screen from flooding with messages and all calls from failing.
Additional References
• Cisco IOS Debug Command Reference, Release 12.3T
• Cisco IOS Voice Troubleshooting and Monitoring Guide at
http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/vvfax_c/voipt_c/
• Cisco IOS Voice, Video, and Fax Configuration Guide , Release 12.2 at
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fvvfax_c/index.htm
• Cisco Technical Support at http://www.cisco.com/en/US/support/index.html
• Troubleshooting and Debugging VoIP Call Basics at
http://www.cisco.com/warp/public/788/voip/voip_debugcalls.html
• VoIP Debug Commands at
http://www.cisco.com/univercd/cc/td/doc/product/access/acs_mod/1700/1750/1750voip/debug.htm