voice

Pressing the following keys on the telephone keypad affect the speed and volume at which the application plays back speech:

1 = increases the gain

2 = decreases the gain

3 = increases the speed

4 = decreases the speed

Bfv API debug mode is turned on.

The btcall.cfg file is the user configuration file. The voice program is found in the app.src directory.

Command Syntax

voice [options] <infopktfile>

Arguments

 

 

-c <num>

Call given number, else wait for ring.

-f

Specify record coding format; use the number of

 

the format or one of the following names. If there

 

is no number specified, you must use the name.

 

adpcm

1

 

adpcm32

 

 

adpcm24

2

 

pcm_ulaw

 

pcm_ulaw64

 

 

pcm_ulaw48

 

 

pcm_ulaw88

3

 

pcm_alaw

 

pcm_alaw64

 

 

pcm_alaw48

 

<infopkt_file>

pcm_alaw88

 

Name of the file to play or record.

-l

Loop forever, sending or receiving.

-n <secs>

Specify recording time in seconds.

-p

Play.

 

-r

Record (default 10 seconds).

-u <unitnum>

Use specified channel.

Not all coding formats and rate combinations are available on all products.

Requires one -por -rargument.

November 2009

168

Page 168
Image 168
Dialogic 6.2 manual Voice options infopktfile, November 168