Cisco Cisco Computer Telephony Integration OS 8.5 개발자 가이드
9-34
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
Return Values
Default CTI OS return values. See
Remarks
A successful request will result in an OnAgentStateChanged event. It may also result in OnPreLogout,
OnPostLogout, and/or OnLogoutFailed events. If this request is unsuccessful, the client receives an
OnControlFailureConf event.
OnPostLogout, and/or OnLogoutFailed events. If this request is unsuccessful, the client receives an
OnControlFailureConf event.
StartMonitoringAgent
The StartMonitoringAgent method allows the client, which must be a supervisor, to start monitoring the
specified Agent object. This call will cause the supervisor to receive all of the monitored call events (See
specified Agent object. This call will cause the supervisor to receive all of the monitored call events (See
) for this agent until the
supervisor calls StopMonitoringAgent.
Syntax
C++:
int StartMonitoringAgent(Arguments& args)
COM:
HRESULT StartMonitoringAgent (/*[in]*/ IArguments * args, /*[out,retval]*/ int *
errorcode)
VB:
StartMonitoringAgent (args As CTIOSCLIENTLib.IArguments) As Long
Java:
int StartMonitoringAgent(Arguments args)
.NET:
CilError StartMonitoringCall(Arguments args)
Parameters
args
Arguments array that contains the constant CTIOS_AGENTREFERENCE set to the string value of
the UniqueObjectID of the agent to be monitored.
the UniqueObjectID of the agent to be monitored.
PeripheralID
(optional)
(optional)
INT
The Unified ICM Peripheral ID of the
ACD the agent is attached to.
ACD the agent is attached to.
SkillGroupNumber
(optional)
(optional)
INT
The number of an agent skill group
associated with the agent.
associated with the agent.
SkillGroupPriority
(optional)
(optional)
INT
The priority of an agent skill group
associated with the agent.
associated with the agent.
Keyword
Type
Description