eccllvoice

eccllvoice

The eccllvoice program is used to record and play speech for ISDN calls. It uses the speech-infopkt-file recording and playing routines to record and play speech. Recording continues for a maximum of ten seconds or the time specified in the -noption.

eccllvoice uses low-level call control function calls as shown in the following table.

In Place Of:

Functions Used:

 

 

BfvCallReject

BfvCallDisconnect

 

BfvCallWaitForRelease

 

 

BfvLineOriginateCall

BfvCallSetup

 

BfvCallWaitForComplete

 

 

BfvLineWaitForCall

BfvCallRingDetect

 

BfvCallWaitForSetup

 

 

BfvLineAnswer

BfvCallAccept

 

BfvCallWaitForAccept

 

 

BfvLineTerminateCall

BfvCallDisconnect

 

BfvCallWaitForRelease

 

 

ISDN mode is established by calling BfvLineReset and including a call control configuration file. The name of the call control configuration file (default callctrl.cfg) must be included in the user-defined configuration file (default btcall.cfg). See Volume 6 of the Bfv API Reference Manual for information about setting up a call control configuration file.

Pressing # on the telephone keypad immediately terminates playback or recording.

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

Turn on the Bfv API debug program from the command line. The btcall.cfg file is the user configuration file. The eccllvoice program is found in the app.src directory.

November 2009

139

Page 139
Image 139
Dialogic 6.2 manual Eccllvoice, November 139