Verifying the board's operation

Once you have verified that the board is properly installed (as described in Verifying the board installation), use the cditest utility to check that the board is operating correctly. Using cditest and a telephone, you can see off-hook/on-hook events, play dial tone, see DTMF events, ring the telephone and more.

Refer to the Interactive test program: cditest for more information.

Follow this procedure to perform a simple board operation test:

  1. Set up the board, and verify that it is working correctly in standalone mode as described in Verifying the board installation.

  2. Run the cditest utility. cditest is found in one of these directories:

    Operating system

    Path

    Windows

    \ nms\ctaccess\demos\cditest

    UNIX

    /opt/nms/ctaccess/demos/cditest

    On the cditest command line, specify the address of the DSP port corresponding to the attached telephone's line interface port. For example, if the telephone is attached to port 1 (timeslot 0) on board 0, and the DSP is attached to stream 4, run cditest by entering:

cditest -b 0 -s 4:0

  1. Type the following commands at the prompt:

    1. Type op to open the port.

    2. Type et to enable talk battery power.

    3. Type eb to start the signaling detector.

    4. Take the phone off-hook. The event CDIEVN_OFF_HOOK is displayed.

    5. Type ed to start the DTMF detector.

    6. Type gn, and press the Return key to generate a dial tone.

  2. Dial digits on the telephone. As you do so, digit events are displayed as follows:

Event: CDIEVN_DTMF_STARTED, digit 1
Event: CDIEVN_DTMF_ENDED
Event: CDIEVN_DTMF_STARTED, digit 2
Event: CDIEVN_DTMF_ENDED
Event: CDIEVN_DTMF_STARTED, digit 3
Event: CDIEVN_DTMF_ENDED

  1. Place the phone on-hook. The event CDIEVN_ON_HOOK is displayed.

  2. Type sr to start ringing the phone. The phone rings.

  3. Type ar to stop ringing the phone.

  4. Type cp to close the port.

  5. Type q to quit cditest.