VoIP Trace for CUBE
The VoIP Trace feature is enabled by default and can 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 calls. Using the VoIP Trace framework, the following information is recorded:
-
SIP messages for SIP trunk to SIP trunk calls
-
Events and API calls from the SIP layer to other layers in 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 configurable maximum memory limit is either available platform memory or 1000 MB, whichever is lower. By default, VoIP Trace will use up to 10% of the total memory available to the IOS processor at the time of configuring the command. For example, if CUBE is used on a platform with 8GB of memory, 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 [deatil]}