LVCA_GetANI_DNISA/LVCA_GetANI_DNISW

LVCA_API BOOL WINAPI LVCA_GetANI_DNISA(HANDLE hCA, LPSTR DNIS, LONG* DNISSize, LPSTR ANI, LONG* ANISize);

LVCA_API BOOL WINAPI LVCA_GetANI_DNISW(HANDLE hCA, LPWSTR DNIS, LONG* DNISSize, LPWSTR ANI, LONG* ANISize);

Defined as:

LVCA_GetANI_DNIS

Return Value:

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

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

DNIS (OUT) The buffer which will receive the DNIS information .

DNISSize (IN) (OUT) The size of the DNIS buffer.

ANI (OUT) The buffer which will receive the ani information .

ANISize (IN) (OUT) The size of the ANI buffer.

Notes:

Warning: The Size parameter will be set to the size of the string returned.  Set this value before each call if it is used in multiple calls.


Complete Help Topic List | Speech Platform Product Information