Cisco Cisco Computer Telephony Integration Option 9.0 開発者ガイド

ページ / 490
   
10-4
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 10      Call Object
Properties
The same thing in VB is 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 is 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.
Table 10-1
Call Object Properties
Keyword
Type
Description
ANI
STRING
The calling line ID of the caller. 
CallerEnteredDigits
STRING
The digits entered by the caller in response to 
IVR prompting.
CallStatus
SHORT
The current status of the call.