beautypg.com

Command syntax – Dialogic 6.2 User Manual

Page 168

background image

voice

November 2009

168

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]

Not all coding formats and rate combinations are available on all

products.

Requires one -p or -r argument.

Arguments

-c

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

adpcm32

adpcm24

pcm_ulaw

pcm_ulaw64

pcm_ulaw48

pcm_ulaw88

pcm_alaw

pcm_alaw64

pcm_alaw48

pcm_alaw88

1


2


3

Name of the file to play or record.

-l

Loop forever, sending or receiving.

-n

Specify recording time in seconds.

-p

Play.

-r

Record (default 10 seconds).

-u

Use specified channel.