Cisco Cisco Computer Telephony Integration Option 9.0 開発者ガイド
9-23
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(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.
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.
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
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.