AltiClient ActiveX Programmer’s Guide 10
VB Syntax
object.GetURLData(SessionID)
Parameters
SessionID [In]: unique ID for a call
Return Type
String URL 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.GetURLData (ulSessionID);
VB Example
Dim data As String
Data = AltiCtrl1.GetURLData(ulSessionID)
SetCallerName
Description
Set Caller Name for existing call
VC++ Syntax
BOOL SetCallerName(int SessionID ,CString string)
VB Syntax
object.SetCallerNameData(SessionID,string)
Parameters
SessionID [In]: unique ID for a call
String [In] Set URL data for a call, max-length is 256 bytes
Return type
Bool The value is TRUE if successful; 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. While after Disconnect event , it
is no longer valid.
VC++ Example
CString name = _T("Tom");
m_altictrl.SetCallerName(ulSessionID,name);
Comentarios a estos manuales