Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 546
 
10-35
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 10      Call Object
Methods
SetCallData
The SetCallData method enables any or all of a call’s CallVariables (1 through 
10) and ECC data to be set at one time.
Syntax
C++:
int SetCallData(Arguments& args)
COM:
HRESULT SetCallData (/*[in]*/ args *arguments, /*[out]*/ int * 
errorcode)
VB:
SetCallData (args As CTIOSCLIENTLib.IArguments, errorcode As Long)
Java:
int SetCallData(Arguments args)
Input Parameters
args
An input parameter of either a reference or a pointer to an Arguments array 
containing parameters described under Remarks for GetCallData.
errorcode
An output parameter (return parameter in VB) that contains an error code 
from 
 in 
Return Values
Default CTI OS return values. Se
Remarks
You must specify the data for all elements in the Arguments array, not just those 
elements that you want to change. Failure to do so will cause the unchanged 
elements to disappear.
The following events will be sent if this request succeeds: 
OnSetCallDataConf 
OnCallDataUpdate