Cisco Cisco Computer Telephony Integration Option 8.5 Guia Do Programador
9-31
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
Chapter 9 Agent Object
Methods
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.
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.
the request requires only a DialedNumber.
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
parameters listed in
.
Table 9-6
MakeCall Parameters
Keyword
Type
Description
DialedNumber (required)
STRING,
maximum
length 40
maximum
length 40
The number to be dialed to
establish the new call.
establish the new call.
PeripheralID (optional)
INT
The ICM Peripheral ID of the
ACD the agent is attached to.
ACD the agent is attached to.
AgentInstrument (optional) STRING
*
The agent’s instrument number.