Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
Chapter 10      Call Object
Methods
10-32
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1) 
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 rArgs)
.NET
CilError SetCallData(Arguments args)
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. See 
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