LVCA_GetCallerIDA/LVCA_GetCallerIDW

LVCA_API BOOL WINAPI LVCA_GetCallerIDA(HANDLE hCA, LPSTR CallerID, LONG* Size);

LVCA_API BOOL WINAPI LVCA_GetCallerIDW(HANDLE hCA, LPWSTR CallerID, LONG* Size);

Defined as:

LVCA_GetCallerID

Return Value:

If successful,LVCA_GetCallerIDA/LVCA_GetCallerIDW 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

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

Size (IN) (OUT) The size of the DNIS 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