LVCA_SetAfterSpeechDelay

The Platform Call Engine will wait until the caller stops talking before continuing in the call flow.  If the Call Engine cuts the caller off before he is done or waits too long before deciding that he is done, this function will allow you to fine tune that delay.   

LVCA_API BOOL WINAPI LVCA_PlayAudioUninterrupted(HANDLE hCA, LONG EndofSpeechDetection);

Return Value:

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

Supported on Events:

CAMSG_ENTERMODULE

CAMSG_TIMEOUT

CAMSG_ERROR

Params:

hCA (IN) Call handle passed into function

EndofSpeechDetection (IN) set to one of the following values for the following situations:

STREAM_END_OF_SPEECH_DETECTION_NORMAL(default) – use when the speech may be short or long utterances.

STREAM_END_OF_SPEECH_DETECTION_SINGLE_WORDS – When the caller will only be uttering a single word.

STREAM_END_OF_SPEECH_DETECTION_PHRASES_WITH_PAUSES – The utterance will be long with potential pauses by the caller.

STREAM__END_OF_SPEECH_DETECTION_PHRASES_NO_PAUSES – The utterance will be long but without a pause.

Notes:

This setting is persistent for a single telephone call.


Complete Help Topic List | Speech Platform Product Information