Cisco Cisco Computer Telephony Integration OS 8.5 개발자 가이드
9-37
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 9 Agent Object
Methods
StartMonitoringCall
Description
The StartMonitoringCall method allows the client, which must be a supervisor, to set the value of the
currently monitored call that is used in the SuperviseCall method. Since there is no StopMonitoringCall,
to clear the value of the currently monitored call, call this method with an empty args parameter.
currently monitored call that is used in the SuperviseCall method. Since there is no StopMonitoringCall,
to clear the value of the currently monitored call, call this method with an empty args parameter.
Syntax
C++:
int StartMonitoringCall(Arguments& args)
COM:
HRESULT StartMonitoringCall (/*[in]*/ IArguments * args, /*[out,retval]*/ int *
errorcode)
VB:
StartMonitoringCall (args As CTIOSCLIENTLib.IArguments) As Long
Java:
int StartMonitoringCall(Arguments args)
.NET:
CilError StartMonitoringCall(Arguments args)
Parameters
args
Arguments array that contains the constant CTIOS_CALLREFERENCE set to the string value of
the UniqueObjectID of the call to be monitored.
the UniqueObjectID of the call to be monitored.
errorCode
An output parameter (return parameter in VB) that contains an error code from
in
Return Value
Default CTI OS return values. See
Remarks
This request is specific to the Supervisor feature and should only be used on switches or configurations
that have the necessary support (currently, Cisco IPCC only).
that have the necessary support (currently, Cisco IPCC only).
StopMonitoringAgent
The StopMonitoringAgent method allows the client, which must be a supervisor, to stop monitoring the
specified Agent object. This will stop all Monitored Call events from being sent to the supervisor.
specified Agent object. This will stop all Monitored Call events from being sent to the supervisor.
Syntax
C++:
int StopMonitoringAgent(Arguments& args)
COM:
HRESULT StopMonitoringAgent (/*[in]*/ IArguments * args, /*[out,retval]*/ int *
errorcode)
VB:
StopMonitoringAgent (args As CTIOSCLIENTLib.IArguments) As Long
Java:
int StopMonitoringAgent(Arguments args)
.NET:
CilError StopMonitoringAgent(Arguments args)