This application exercises the sm_play_vmwi_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 vmwitest with the appropriate options (the program is
gen-LINUX/vmwitest,
gen-SOL_32/vmwitest, or
gen-WINNT/vmwitest
depending on which operating system you are using).
Command line options are:
-a <sastype>
| the number of tone bursts in the SAS sequence |
-h
| use on-hook signalling |
-m <module>
| The Prosody module to use. This is the number of the
module on the card, if a card serial number is specified
with the -x option, or otherwise the module
number in the range 0..
sm_get_modules()
-1.
|
-n
| send an 'indicator on' message rather than 'indicator off' |
-s
| Use SMDF as the message format (rather than MDMF) |
-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 <serialnumber>
| Use a Prosody processor module on this card, specified as described in Test programs: Specifying Prosody Processor modules |
For example,
gen-WINNT/vmwitest -t 48:0
would send a VMWI sequence to timeslot 48:0.
The source code for this program is provided (vmwitest.c).
This is one of the Prosody test programs .