The Voice Library asynchronous demo programs (cbansr.c and pansr.c) can be found in the /usr/dialogic/demos/ansr directory included with the voice software for Linux. These asynchronous demo programs work with all Dialogic SCbus-based products (including digital network interface boards). These demos incorporate examples of SCbus time slot routing.
The inbound asynchronous callback answer (cbansr) and inbound asynchronous polled mode answer demo (pansr ) demos simulate an answering machine. They support all voice cards in SCbus and standalone mode, and digital T-1 robbed-bit or E-1.
The following is an example of a hardware setup for use with either asynchronous demo program:
Connect the phone to Line 1A of COS and connect Line 2 of the COS to the desired channel on the back of the board.
All of the command line arguments to this demos can be found by typing:
cbansr -?
or
pansr -?
Here are some switches for use with the cbansr and pansr demos:
-d d4xnum Number of the first D/4x board to use
-t dtinum Number of the first DTI board to use
-n N Number of D/4x channels to use, max: 12
-f frontend Analog, T1 or E1
To run the selected configuration:
./cbansr --d1 --n4 -fAnalog
or
./pansr --d1 --n4 -fAnalog
Click here to contact Dialogic Customer Engineering
Copyright 2001, Dialogic Corporation