LVCA_SetCallPropertyA/LVCA_SetCallPropertyW

Use this function to set various call settings.  These settings affect the current line.

LVCA_API BOOL WINAPI LVCA_SetCallPropertyA(HANDLE hCA, LPCSTR Property, LPCSTR Value);

LVCA_API BOOL WINAPI LVCA_SetCallPropertyW(HANDLE hCA, LPCSTR Property, LPCSTR Value);

Return Value:

If successful, LVCA_SetCallProperty returns true.  If false is returned, call LVCA_GetLastCallError to retrieve the error code and message.

Supported on Events:

CAMSG_CALLSTART

CAMSG_ENTERMODULE

CAMSG_REC_BEFORE_CONFIRM

CAMSG_REC_AFTER_CONFIRM

Params:

Property (IN): The name of the property to be set.

Value (IN): The value to set for the property.

Supported Settings:

By using LVCASetCallProperty you can affect the following parameters :

LOGGING

Event: CAMSG_ENTERMODULE

Possible values: "TRUE" or "FALSE".  This will turn logging on and off for the length of the call.

DTMF_Enter_Key

Possible values: "#", "*" or "NONE". The enter key is used to signal to the system that DTMF input is finished. For instance, if the key is set to #, the user could press # after entering an account number to immediately cause the system to return.

DTMF_Time_Out

Possible values: string containing the inter-digit time out in tenths of a second. "30" = three seconds. This is the length

VAD_END_OF_SPEECH_DELAY

Possible values:  Milliseconds of silence required to trigger end of speech event

VAD_BARGE_IN_LEVEL

Possible values: 20 - 50. This value represents the level of noise required to trigger barge-in. Twenty would be a quiet environment with a soft voice. Fifty would be a very noisy environment and require a loud voice.

VAD_NOISE_FLOOR

Possible values: 100 - 5000. This value represents the level of background noise that will be ignored by the Speech Engine, i.e. speech will have to be louder than this level to be recognized. 100 would be an environment where no other voices are in the background 500 is average; extremely noisy environments may require this value set in the thousands.

Example:

LVCA_SetCallPropertyA(hCA, "#", "DTMF_Enter_Key");


Complete Help Topic List | Speech Platform Product Information