# Setting up linemon

To set up linemon, follow these steps:

Step | Action
1 | Use the dbg_nl_passthru_rec function to configure the CG board with a DSP pool of resources loaded with rvoice DPF. Reserve two timeslots in this pool, as shown in the following example: Resource[1].Name = RSC1 Resource[1].Size = 2 Resource[1].TCPs = nocc Resource[1].DSPs = 31 Resource[1].StartTimeSlot = 144 Resource[1].Definitions = (rvoice.dbg_nl_passthru_rec & dtmf.det_all) Note: DSP timeslot 144 is the default timeslot used by linemon. You can change this timeslot in the linemon command line.
2 | Set up the Debug Rvoice DSP in NO_LAW so the DSP will not compand: DSP.C5x[31].XLaw = NO_LAW

For information about configuring the board, see the installation and developer's manual for the board.