Cisco Cisco Computer Telephony Integration OS 8.5 Developer's Guide

Page of 546
 
Chapter 9      Agent Object
Methods
9-48
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
Parameters
args
An input parameter in the form of a pointer to an Arguments array that 
contains a member with a string value that is the UniqueObjectID of the 
desired call. This should be packaged with the keyword “CallReference”.
errorCode
An output parameter (return parameter in VB) that contains an error code 
from 
 in 
Return Value
Default CTI OS return values. Se
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).
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.
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)