Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 490
   
9-35
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 9      Agent Object
Methods
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.
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, Unified CCE only).
StopMonitoringAgent
The StopMonitoringAgent method allows the client, which must be a supervisor, to stop monitoring the 
specified Agent object. This stops all Monitored Call events 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)
Parameters
args
Arguments array that contains the constant CTIOS_AGENTREFERENCE set to the string value of 
the UniqueObjectID of the agent to stop monitoring.
errorcode
An output parameter (return parameter in VB) that contains an error code from 
 in