debug debug-recording

This command enables debug recording for all trunks.

To collect debug recording packets, use Wireshark open-source packet capturing program. AudioCodes' proprietary plug-in files are required. They can be downloaded from https://www.audiocodes.com/library/firmware. After starting Wireshark, type acdr in the 'Filter' field to view the debug recording messages. Note that the source IP address of the messages is always the device's OAMP IP address.

Syntax

# debug debug-recording <Destination IP Address> {ip-trace|port|pstn-trace|signaling|signaling-media|signaling-media-pcm}
# debug debug-recording status

Command

Description

Destination IP Address

Defines the destination IP address (IPv4) to which to send the debug recording (i.e., debug recording server).

ip-trace

Defines the debug recording filter type. Filters debug recording  for IP network traces, using Wireshark-like expression (e.g., udp && ip.addr==10.8.6.55). IP traces are used to record any IP stream according to destination and/or source IP address, or port and Layer-4 protocol (UDP, TCP or any other IP type as defined by http://www.iana.com). Network traces are typically used to record HTTP.

port

Defines the port of the debug recording server to which to send the debug recording.

pstn-trace

Defines the debug recording capture type as PSTN trace. The debug recording includes ISDN and CAS traces.

signaling

Defines the debug recording capture type as signaling. The debug recording includes signaling information such as SIP signaling messages, Syslog messages, CDRs, and the device's internal processing messages

signaling-media

Defines the debug recording capture type as signaling and media. The debug recording includes signaling, Syslog messages, and media (RTP/RTCP/T.38).

signaling-media-pcm

Defines the debug recording capture type as signaling, media and PCM. The debug recording includes SIP signalling messages, Syslog messages, media, and PCM (voice signals from and to TDM).

status

Displays the debug recording status.

Command Mode

Privileged User

Note

To configure the PSTN trace level per trunk, use the following command: configure voip > interface > trace-level
To send the PSTN trace to a Syslog server (instead of Wireshark), use the following command: configure troubleshoot > pstn-debug
To configure and start a PSTN trace per trunk, use the following command: configure troubleshoot > logging logging-filters

Example

Displaying the debug recording status:

# debug debug-recording status
Debug Recording Configuration:
==============================
Debug Recording Destination IP: 10.33.5.231
Debug Recording Destination Port: 925
Debug Recording Status: Stop
 
Logging Filter Configuration (line 0):
======================================
Filter Type: Any
Value:
Capture Type: Signaling
Log Destination: Syslog Server
Mode: Enable