AltiClient ActiveX Programmer’s Guide 7
VB Syntax
object.GetUserData(SessionID)
Parameters
SessionID - [In]: unique ID for a call
Return Type
String user data for a call; maximum length is 256 bytes.
Remark
SessionID - Session ID received from OnCallNotify event needs to be provided as input to this
function. This Session ID is valid in ring event and connect event. After Disconnect event, it is no
longer valid.
VC++ Example
CString data;
data = m_altictrl.GetUserData (ulSessionID);
VB Example
Dim data As String
Data = AltiCtrl1.GetUserData(ulSessionID)
SetIVRData
Description
Set IVR data for existing call (used only in Web call). IVR data is the format of “name=value” pairs,
which can be used in Web Call and Auto Atendant; for example:
“FirstName=John&LastName=Anny&Password=hello1234” and so on.
Note
SetIVRData is a reserved API.
VC++ Syntax
BOOL SetIVRData(int SessionID, CString string)
VB Syntax
object.SetIVRData(SessionID,string)
Parameters
SessionID [In]: unique ID for a call
String [In]: Set IVR data for a call, maximum length is 256 bytes
Return Type
Bool if successful TRUE; otherwise FALSE.
Remark
SessionID - Session ID received from OnCallNotify event needs to be provided as input to this
function. This Session ID is valid in ring event and connect event. After Disconnect event, it is no
longer valid.
Comentarios a estos manuales