Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
10-23
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 10      Call Object
Methods
errorcode
An output parameter (return parameter in VB) that contains an error code from 
 in 
Return Values
Default CTI OS return values. See 
Remarks
The following event will be received if this request succeeds: 
OnSendDTMFSignalConf 
The following event will be received if this request fails: 
OnControlFailureConf 
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.
Note
When writing a custom application, in any language, call variables are not blanked out if it they are set 
to a NULL value. While the application attempts to clear any call variable using a NULL value, the CTI 
OS server application ignores the NULL value call variables and does not pass them to the CTI Server 
application. As a result, the call variables set to NULL are not reset.
To clear the value of a call variable, set its value to a blank character. Setting the call variable to a single 
space character places a space in the call variable’s values for the duration of the call. This space is 
considered a NULL value by the application.
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