Prosody installation guide: test programs: cndtest

This application exercises the sm_play_cnd_fsk() function from the ADSI library. See its documentation for further details of the meaning of the parameters.

Go to directory $(TiNG)/test.

You must have downloaded these firmware modules:

Run cndtest with the appropriate options (the program is gen-LINUX_V6/cndtest or gen-WINNT_V6/cndtest depending on which operating system you are using).

Command line options are:

-A Omit calling number from message, replacing it with indication that call is anonymous
-a <sastype> the number of tone bursts in the SAS sequence
-D <digits> the digits to send as the calling number
-h use on-hook signalling
-m <module> The Prosody module to use. This is the number of the module on the card.
-N <name> the name to send with the calling number
-O Omit calling number from message, replacing it with indication that call is out-of-area
-s Use SMDF as the message format (rather than MDMF)
-T <MM-DD-hh:mm> The date and time to include in the message
-t <timeslot> timeslot to use (see Test program timeslots). If you specify more than one channel, they use consecutive timeslots starting at this one. For example, the options "-n 3 -t48:20" play to timeslots 48:20, 48:21, and 48:22.
-x <cardspec> The address and key of the Prosody card to use.

For example,

	gen-WINNT_V6/cndtest -x x:1.2.3.4/mykey -t 64:0 -D 0123456789 -T 03-04-10:59

would send a CND sequence specifying a calling number of '0123456789' and a time of March 4th, 10:59am. to timeslot 48:0.

The source code for this program is provided (cndtest.c).


This is one of the Prosody test programs .