User guide
August 2001 129
Testing the E1 Setup
Testing the E1 Setup
Testing the Installation
Use the samples that came with your software to test your
boards, devices, and installation before you write your
application. You can use the provided source code to help
develop your application. The samples are located in
subdirectory \RHT\SAMP\E1.
The most useful samples are:
E1INIT Sets the clock, initializes carrier parameters, and checks carrier
status.
Older samples set the clock reference as being Trunk A and
configured the carrier to disable HDB3 and CRC. If your
installation requires different values, make sure to alter the
samples accordingly. Newer samples configure most of the
parameters using the command line. The defaults are the same
as those in the older samples.
WAITRING [line] Waits for a call on the specified line (0 by default).
OFFHOOK [line] Answers an inbound call or initiates an outbound call.
ONHOOK [line] Disconnects a call on the specified line (0 by default).
DISLN [line] Disconnects a call on the specified line (0 by default).
WAITANS [line] Waits for the remote end to answer on the specified line (0 by
default).
BLKLN [line] Blocks the line.
FRLN [line] Sends a Forced Release signal to terminate the call.
WAITOFF [line] Monitors for a disconnect on the specified line (0 by default).
WAITIDLE [line] Waits for an idle pattern on the line (0 by default).
LSB [line] Displays all relevant information about a line (structure
RTNI_lineStatus_s).
PLAYE [line] [file] Plays a file while monitoring for a disconnect on the line
(default: line 0, file test.vox).