Cisco Cisco Computer Telephony Integration OS 8.5 Guida Dello Sviluppatore
10-4
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 10 Call Object
Properties
RequestArgs.AddItem(CTIOS_ECC, *pECCData);
pCall->SetCallData(RequestArgs);
RequestArgs.Release();
pECCData->Release();
The same thing in VB would be as follows:
Dim MyRequestArgs As New CTIOSARGUMENTSLib.Arguments
Dim MyECCData As CTIOSARGUMENTSLib.Arguments
If MyCall.IsValid(CTIOS_ECC) Then
Set MyECCData = MyCall.GetValueArray(CTIOS_ECC)
Else
Set MyECCData = New CTIOSARGUMENTSLib.Arguments
End If
MyECCData.AddItem("user.MyECC", "FirstECCVariable")
MyECCData.AddItem("user.MyArray[2]", 2222)
MyRequestArgs.AddItem("ECC", MyECCData)
MyCall.SetCallData(MyRequestArgs)
The same thing in Java would be as follows:
Arguments rRequestArgs = new Arguments();
if(Call != null)
{
Arguments rArgEcc = Call.GetValueArray(CTIOS_ECC);
if(null == rArgEcc)
{
rArgEcc = new Arguments();
}
rArgEcc.SetValue("user.MyEcc", 22222);
rArgEcc.SetValue("user.MyArray[3]", "new data");
rRequestArgs.SetValue(CTIOS_ECC, rArgEcc);
Call.SetCallData(rRequestArgs);
}
Properties
lists the available call object properties.
Note
The data type listed for each keyword is the standardized data type discussed in the section
See
for the appropriate language
specific types for these keywords.