Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
5-39
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 5      CTI OS ActiveX Controls
The Silent Monitor StandAlone ActiveX Control
The Silent Monitor StandAlone ActiveX Control
The Silent Monitor StandAlone ActiveX Control provides an interface for easy integration with the CTI 
OS Silent Monitor functionality. The ComObject can be used in Visual Basic 6.0 as well as other host 
containers. This section demonstrates the use of this control in Visual Basic 6.0.
Note
The Silent Monitor StandAlone ComObject is supported for use on IPCC only.
The Standalone ComObject wraps calls to the CTI OS Session as well as SilentMonitor manager. It 
provides the following four methods (displayed in IDL format; IDL is the language used to define COM 
interfaces).
interface ISilentMonitor : IDispatch
{
[id(1), helpstring("method Connect to CTIOS")] HRESULT Connect ([in] IArguments * 
args, [out] int* returnvalue);
[id(2), helpstring("method Disconnect to CTIOS")] HRESULT Disconnect (/*[in] 
IArguments * args, [out] int* returnvalue*/);
[id(3), helpstring("method StartMonitoring to CTIOS")] HRESULT StartMonitoring 
([in] IArguments * args, [out] int* returnvalue);
[id(4), helpstring("method StopMonitoring to CTIOS")] HRESULT StopMonitoring ([in] 
IArguments * args, [out] int* returnvalue);
};
Connect
The Connect method establishes a Monitor Mode Session with the specified CTI OS Server. The syntax 
and parameters are the same as for the CTI OS session object Connect method (see 
 in 
Disconnect
The Disconnect method disconnects an established session. This method has no required parameters. See 
for syntax and optional parameters.
StartMonitoring
The StartMonitoing method starts a Silent Monitor Session.The StartMonitoring Arguments array 
contains the following parameters,
Table 5-8
StartMonitoring Arguments Array Parameters
Keyword
Value
AgentID
AgentID of the agent to be monitored.
Peripheralnumber
PeripheralID of the Peripheral to which the Agent is 
logged in.