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.
The following commands can be used to monitor and trace calls:
- TRAC cust dn - show trace on any call present on the DN or indicate idle. Enter the ACOD of a route as a DN to show the condition, either idle or busy, of every trunk member of the route.
- TRAD l ch (loop and digital trunk channel) - useful when after tracing an ACOD of a digital route, ISDN, DPNSS or similar, you may then trace any of the channels marked busy to check their call status.
- TRAC l s c u - show trace of any calls on the TN and if it is a digital set, the status of every key. Append DEV for additional NARS/BARS/CDP data. Example: TRAC l s c u DEV
- TRAK c u - as TRAC, but for small systems (CS 1000S, MG 1000B, MG 1000T).
- TRAT cust a - show the status of all loops an attendant console, and details of any calls present on them.
- TRIP <ip-address> - this will trace the IP address
Where: l=loop, s=shelf, c=card, u=unit, cust=customer and a=attendant number.
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.
- ENTC l s c u t - enable the enhanced trace for a TN, t=duration. Append DEV for additional NARS/BARS/CDP data.
- ENTD l ch t - enable the enhanced trace for a digital trunk, t=duration.
- GOTR - begin enhanced trace. This command starts the trace operation specified with the ENTC and ENTD commands.
- STPT - stops the enhanced trace operation specified with the ENTC and ENTD commands. This can be used at any time during the trace operation. This does not disable the commands; they can be restarted with the GOTR command. When they are restarted, the duration timer is reset.
- FITR - get information about the enhanced trace operation(s) currently running: queries the traces with the ENTC and ENTD commands. You can store and run 3 traces at once.
- DIST n - disable the enhanced trace operation, where: n = the entry number (as seen with the FITR command).
- DALL - disable all enhanced trace commands.
Where: l=loop, s=shelf, c=card, u=unit and t=duration, the length of time the trace runs.
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.
.entc 64 0 14 14 0100
... will continue to trace the tn for 1 hr, 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