Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 546
 
10-19
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 10      Call Object
Methods
Syntax
C++:
int GetCallData(Arguments& args)
COM:
HRESULT GetCallData (/*[out,retval]*/ IArguments ** args)
VB:
GetCallData (CTIOSCLIENTLib.IArguments args)
Java:
int GetCallData()
Parameters
args
An output parameter containing a reference or a pointer to an Arguments 
array containing the call data, as described under Remarks.
Return Value
COM: Default HRESULT return values. Se
All Others: A pointer to an Arguments array that, on return, holds parameters 
described under Remarks.
Remarks
This is simply a convenience method to be called to get all of a call’s 
CallVariables (1 through 10) and ECC Call Variables at one time. If only certain 
call variables are desired, call the appropriate GetValue method for each instead.
Access the data in the following way:
To access the values for individual CallVariables from the arguments 
parameter, use GetValueString with either the keywords of “CallVariable1” 
through ”CallVariable10”. 
To access ECC call data, use the following procedure:
First, get the ECC variables as a whole from the arguments parameter, using 
GetValueArray with the keyword “ECC’. This will return another Arguments 
array that is nested in the Arguments array returned from GetCallData.
To access an individual ECC scalar variable from this Arguments array, use 
the appropriate GetValueString, GetValueInt, etc. depending on the variable’s 
type, using the string keyword “user.VariableName”.