LVCA_GetLastCallErrorA/LVCA_GetLastCallErrorW

This function retrieves the last error An Error is anything within the system itself that creates a glitch in the Speech Driven Information System An Information System is a general term used to describe the product you are designing with this software. This could be any type of system in which you can give information to your callers, such as a Virtual Customer Service Center, a Virtual Technical Support Center, or a Virtual Help Desk., such as a missing Vox A Vox is an Action that plays a sound file. You can record a Vox in your own voice directly from the Speech Driven Information System. You can also use the Audio Manager to import recordings or sound effects that you have obtained from other sources. or a Goto A Goto is an Action that sends callers to another Module. A Goto is a Terminal Action. This means it will be the last Action in an Actions List. that doesn't go anywhere. that occurred.

LVCA_API LONG WINAPI LVCA_GetLastCallErrorA(HANDLE hCA, LPSTR Message, LONG * Size);

LVCA_API LONG WINAPI LVCA_GetLastCallErrorW(HANDLE hCA, LPWSTR Message, LONG * Size);

Defined as:

 LVCA_GetLastCallError

Return Value:

This function return true if successful, otherwise false will be returned.  Call LVCA_GetLastCallError to retrieve the error code and message.

Errors Codes

CAMERR_INVALID_CALL_HANDLE
The call handle passed to LVCA was invalid.

CAMERR_BUFFER_SIZE_TOO_SMALL
Returned if the supplied buffer was too small to contain the requested data.

CAMERR_UNSUPPORTED_BY_EVENT
The LVCA function is not supported by the current event.

CAMERR_INDEX_OUT_OF_RANGE
The index supplied was out of the valid range.

CAMERR_MODULE_NOT_FOUND
The supplied module Modules are the individual elements you use to create your Information System. When you create an Information System, you are crafting a conversation between a computer and a live person. Each Module represents a single, distinct portion of that conversation. The different types of Modules are: Start, List, Multilevel, Overview, Yes/No, Goto, Hangup A Hangup is an Action that will hang up on callers. A Hangup is a Terminal Action. This means it will be the last Action in an Actions List., Transfer A Transfer is an Action that will hang up on callers. A Transfer is a Terminal Action. This means it will be the last Action in an Actions List., Global, Global Yes/No and Goto Project. Each Module has its own unique function and symbol. was not found in the Platform Project Each Project you create represents a single Speech Driven Information System. So, if you want to create three separate Information Systems, you will need to create three different Projects..

CAMERR_LIBRARY_AUDIO_NOT_FOUND
The supplied audio description You can fill out the Description field when recording a Quick Vox or Library Vox. Filling out the Description is optional, but it allows you to keep track of your Voxes more easily. was not found in the Platform Project.

CAMERR_MODULE_TYPE_NO_CONCEPT_SUPPORT
The current module does not support recognitions.

CAMERR_INVALID_GRAMMAR_SPECIFIED
The standard grammar The Grammar contains the words and phrases Phrases are all the individual ways that a Concept could be described and are the words and phrases for which the program will listen. Phrases are marked with a double quote. Each individual Phrase that makes up the Phrases is marked by a single quote. for which the program will listen A Listen tells the program to listen to the caller. It will then try to match what they say to the information you enter in the Grammar. A Listen is a Terminal Action. This means it will be the last Action in an Actions List. in a given Module. Concepts, Phrases, Confirmations, Responses, and the Phrase Library are all part of the Grammar List. specified was invalid.

Supported on Events:

CAMSG_CALLSTART

CAMSG_CALLSTOP

CAMSG_ENTERMODULE

CAMSG_REC_BEFORE_CONFIRM

CAMSG_REC_AFTER_CONFIRM

CAMSG_TIMEOUT

CAMSG_ERROR

Params:

hCA (IN) Call handle passed into function

Message (IN) A pointer to the string that will receive a plain english description of last error.

Size (IN) A pointer to a LONG containing the size of the Message buffer

Notes:


Complete Help Topic List | Speech Platform Product Information