linemon examples

The following examples show how to use linemon to record and display specific trunk timeslots:

For all linemon commands, the -n option can be ignored when both of the following are true:

Recording and displaying trunk timeslot 0 in T1 mode

The following example records and displays trunk timeslot 0 using T1 mode (the default mode). The command shown here also works for an E1 trunk, if the monitored timeslot is less than 24.

Command

linemon –d 

Received data

Display Output
Monitoring timeslot 0 using DSP timeslots 144 (line.out) and 145 (line.in)
Making switch connections 16:0->17:144 (line.out) and 0:0->17:145 (line.in).
Recording of Line Out and Line In Started.
       0    0000 0000 0000 0000 0000     2a2a 2a2a 2a2a 2a2a 2a2a
           Repeat ...
  254950    0000 e14d 0000 00e1 4d00     ffff e14d 0000 00e1 4d00
  254960    0000 e14d 0000 00e1 4d00     0000 e14d 0000 00e1 4d00
           Repeat ...
  255530    0000 e14d c010  f2f9  00ff     0000 e14d 0000 00e1 4d00
  255540    0100 c980 2cae 59ae ad1e     0000 e14d 0000 00e1 4d00
  
255550    b200 0000 e14d 0000 00e1     0000 e14d 0000 00e1 4d00
  255560    4d00 0000 e14d 0000 00e1     0000 e14d 0000 00e1 4d00
           
Repeat ...
  262150    4d00 0000 e14d 0000 00e1     0000 e14d 40c0 ecf7 0047
  
262160    4d00 0000 e14d 0000 00e1     3e1e b200 0000 e14d 0000
  262170    4d00 0000 e14d 0000 00e1     00e1 4d00 0000 e14d 0000
           
Repeat ...

Note: To ensure that linemon is recording an H.223 level 2 3G-324M call, verify that the received data contains E1 4D 00 00 00.

Recording trunk timeslot 40 in E1 mode

The following example records trunk timeslot 40 using E1 mode.

Command

linemon -l 40 -e

Received data

E1 CAS or PRI mode set (30 timeslots per trunk)
Monitoring timeslot 40 using DSP timeslots 144 (line.out) and 145 (line.in)
Making switch connections 16:40->17:144 (line.out) and 4:10->17:145 (line.in).
Recording of Line Out and Line In Started.

Recording timeslot 0 in T1 mode using a specific board and specific monitors

The following example records timeslot 0 on board 1 into monitor_ts0.out and monitor_ts0.in. It uses T1 mode (the default mode).

Command

linemon -b 1 -f monitor_ts0

Returned data

Monitoring timeslot 0 using DSP timeslots 144 (monitor_ts0.out) and 145 (monitor_ts0.in)
Making switch connections 16:0->17:144 (monitor_ts0.out) and 0:0->17:145 (monitor_ts0.in).
Recording of Line Out and Line In Started.