LVCA_SetGotoA/LVCA_SetGotoW

This function changes the immediate direction of the call flow.

LVCA_API BOOL WINAPI LVCA_SetGotoA(HANDLE hCA, LPCSTR Goto) ;

LVCA_API BOOL WINAPI LVCA_SetGotoW(HANDLE hCA, LPCWSTR Goto) ;

Defined as:

LVCA_SetGoto

Return Value:

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

Supported on Events:

CAMSG_ENTERMODULE

 CAMSG_REC_BEFORE_CONFIRM

CAMSG_REC_AFTER_CONFIRM

CAMSG_TIMEOUT

CAMSG_ERROR

Params:

hCA (IN) Call handle passed into function

Goto (IN) A pointer to the string containing the module name the caller will enter next

Notes:

Sets the next Module to interact with the caller.

The Platform Designer does not inhibit the duplication of a Module name.  If there are multiple modules with the same name in the Platform Project, the first one found will be used

CAPI Only mode:  The only Modules in the call flow are "CustomModule" and “Hangup”.  Send the caller to the “Hangup” module to end the call.


Complete Help Topic List | Speech Platform Product Information