Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 508
   
9-23
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 8.0(1)
Chapter 9      Agent Object
Methods
*The CTI OS server imposes no restriction on the maximum length of this string. 
However, such 
restrictions are generally imposed by your switch/ACD and Cisco CTI Server. 
Consult the 
documentation for the switch/ACD or CTI Server for information on length restrictions for this string.
errorcode
An output parameter (return parameter in VB) that contains an error code from 
 in 
Return Values
Default CTI OS return values. See 
Remarks
If the request is successful, the client should receive an OnAgentStateChange event with an Arguments 
member with keyword “AgentState” and value eLogout. If it is unsuccessful, the client should receive 
an OnControlFailureConf event. The client should also receive an OnPreLogout event before the 
OnAgentStateChange event, and an OnPostLogout event afterwards.
MakeCall
The MakeCall method initiates a call to a device or agent. The simplest form of the request requires only 
a DialedNumber.
Note
You can select and make the call against the skillgroup. Do not set the value if the default skillgroup is 
desired.
Syntax
C++:
int MakeCall (Arguments& args)
COM:
HRESULT MakeCall (/*[in]*/ IArguments *args, /*[out,retval]*/ int * errorcode)
VB:
MakeCall (args As CTIOSCLIENTLib.IArguments) As Long
Java:
int MakeCall(Arguments args)
.NET:
CilError MakeCall(Arguments args)
Input Parameters
args
Input parameter in the form of an Arguments array that contains the MakeCall parameters listed in 
Table 9-6
MakeCall Parameters