Mike's PBX Cookbook

Call Trace

Using LD 80, two types of call trace are available: Snapshot (TRAC), and Enhanced (ENTC).

The trace commands operate only when the Overlay is active. If LD 80 is aborted (****), the trace functions stop. Note that when using the enhanced trace commands, the Overlay will not automatically abort (according to the defined time-out period) if calls are being traced. When a system initialization (INI) occurs, all trace commands are removed, and the trace operation is stopped.

Snapshot:

The following commands can be used to monitor and trace calls:

Enhanced:

The enhanced trace is in real time. It requires Multi-User Login functionality (package 242) to be enabled in LD 17. The enhanced commands are: DALL, DIST, ENTC, ENTD, GOTR, FITR, and STPT. These commands interact with each other only.

The format for the trace command duration (t) is HHMM, where HH = hours (0-23) and MM = minutes (0-59). For example, for a duration of 5 minutes, t = 0005; for 1 hour, t = 0100. The time duration must be at least 1 minute, and no more than 23 hours.

Malicious call trace:

To invoke a call trace directly from a set, add a TRC Key, and CLS MCTA on the set. When a call is presented, the user can press the TRC key, and the call trace data will be output on the Maintenance terminal. For this to work, check that Malicious Call DN/CLID printing is allowed: MCDC = YES, LD 15, FTR_DATA.

Example:

ld 80
.entc 64 0 14 14 0100
.gotr

... will continue to trace the specified TN for 1 hr, or until stpt is entered, or until you exit the overlay.

>ld 80

TRA000
.entc 64 0 14 14 0100

.gotr

.14:42:02     08/06/2011
 TN 064 0 14 14
KEY 0  SCR      ACTIVE  TN 004 0 12 00

ORIG   TN 064 0 14 14  KEY 0  SCR       CUST 0  DN 3891  TYPE 2616
TERM  NONE
TDTN    0     SLOT    16   PTY SLOT  16
DIAL DN NONE
MAIN_PM  READY
TALKSLOT  NONE
EES_DATA:
NONE
QUEU  DIAL
CALL ID 0 239


KEY 1  SCR       IDLE
KEY 2  SCR       IDLE
KEY 3  SCR       IDLE
KEY 4  TRN  IDLE
KEY 5  CFW  IDLE
KEY 6  MWK  IDLE
KEY 7  NUL  IDLE
KEY 8  NUL  IDLE
KEY 9  NUL  IDLE
KEY 10 NUL  IDLE
KEY 11 NUL  IDLE
KEY 12 NUL  IDLE
KEY 13 NUL  IDLE
KEY 14 AO6  IDLE
KEY 15 NUL  IDLE