Technical data
107
D-channel trace mode
To start the D-channel monitoring tool in trace mode, execute: divactrl dchannel -c <x> [<parameters>],
where: <x> is the logical Dialogic
®
Diva
®
Media Board number to be traced.
Started without optional parameters, the D-channel monitoring tool captures the messages received or sent over
the D-channel (including the layer 2 header) and writes a hex dump of these messages as ASCII characters to
the standard output.
DTRC: 02 01 01 01 DTRC: 00 01 00 02 08 01 82 0D 18 01 89
The following optional parameters can be used to change the destination type of the output:
Paramete
r
Description
-xlog Use the Dialogic "xlog" format to output D-channel messages. This format uses the header D-
[R,X](<Y>), where "R" is used for received messages, "X" is used for sent messages and "Y" is the
message length including the layer 2 header. (Example: D-R(004) 02 01 01 01).
-syslog Redirect the output to the system log file. Every record in the system log receives a header that
contains the logical Dialogic
®
Diva
®
Media Board number, the Diva Media Board name, and the Diva
Media Board's serial number.
-dmonitor This option allows you to output additional trace information containing layer 3 messages as seen
by the internal state machine (as hex dump, without layer 2 header) and layer 3, layer 2, and
layer 1 state events in decoded plain text. See the example for a D-channel trace output for
details.
-Silent Do not print messages to standard output or standard error log. Exit silently in case of an error and
report the error by return code only.
Example for a D-channel trace output
SIG-X(004) 08 01 82 01
Q.931 CR82 ALERT
SIG-X(007) 08 01 82 0D 18 01 89
Q.931 CR82 SETUP_ACK
Channel Id 89
SIG-R(004) 08 01 02 0F
Q.931 CR02 CONN_ACK
SIG-R(008) 08 01 81 5A 08 02 80 D8