Overview
VoIP Trace is a Cisco Unified Border Element (CUBE) serviceability framework, which provides a binary trace facility for troubleshooting SIP call issues. The VoIP Trace framework records both successful and failed calls. All call trace data is stored in system memory. In addition to being stored in the system memory, data for calls with IEC errors is also written to the logging buffer.
The VoIP Trace feature is enabled by default and may be used to help troubleshoot issues, even in deployments with high call volumes.
router (config)#voice service voip
router(conf-voi-serv)#trace
router(conf-serv-trace)#?
Voip Trace submode commands:
default Set a command to its defaults
exit Exit from voice service voip trace mode
no Negate a command or set its defaults
shutdown Shut Voip Trace debugging
memory-limit Set limit based on memory used
Within the VoIP Trace sub-mode (conf-serv-trace), you can configure the following CLI commands:
-
memory-limit [platform | memory]
-
no [shutdown]
VoIP Trace is used for event logging and debugging of VoIP parameters. Using the VoIP Trace framework, the following information is recorded:
-
SIP messages for SIP trunk to SIP trunk calls
-
CCSIP messages, Events, and APIs for CUBE
-
SIP Errors
-
Call Control (Unified Communication flows processed by CUBE)
-
FSM (Finite State Machine) states and events
VoIP Trace monitors and logs SIP signalling and call events in memory as they occur. In the event that a call error is detected, or calls fail with 3xx, 4xx or 5xx cause codes, these event details are written to the logging buffer after the call clears.
Note |
Traces for error calls are logged at the rate of up to five traces per second. |
There’s a configurable memory limit allocated for storage of traces in a VoIP Trace framework for CUBE. The maximum memory limit that you can configure for VoIP Trace is 1000 MB. By default, VoIP Trace will use up to 10% of the available platform memory. For example, if CUBE is used on a platform with 8GB of RAM, VoIP Trace will use up to 800MB for trace data. Once the trace memory limit is reached, older traces are overwritten and will no longer be available.
Router(conf-serv-trace)#memory-limit ?
<10-1000> Specify maximum memory limit in MB
platform Use 10 percent of available memory
To display the traces for a call, use the following show command:
-
show voip trace {call-id identifier | session-id identifier | sip-call-id identifier | correlator identifier | all | cover-buffers | statistics | detail }
Feature Information
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.Feature Name |
Releases |
Feature Information |
---|---|---|
Tenant based Filtering for VoIP Trace |
Cisco IOS XE Cupertino 17.8.1a |
The show voip trace supports tenant based filtering for VoIP Trace. |
VoIP Trace |
Cisco IOS XE Amsterdam 17.3.2 |
VoIP Trace is a CUBE Serviceability framework for Event Logging and Debug Classification. The following commands are introduced:
|
Cover Buffer Enhancements for VoIP Trace |
Cisco IOS XE Dublin 17.12.1a |
VoIP trace for SIP messages is enhanced to display cause code in the cover buffer. |