Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 490
   
5-44
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 5      CTI OS ActiveX Controls
The Silent Monitor StandAlone ActiveX Control
StartMonitoring
The StartMonitoing method starts a Silent Monitor Session.The StartMonitoring Arguments array 
contains the following parameters,
Note
If a pointer to the agent object is available (e.g., a m_MonitoredAgent), you can retrieve the PeripheralID 
via m_MonitoredAgent.GetValueInt ("PeripheralID")
StopMonitoring
The StopMonitoring method stops a Silent Monitor Session.The StopMonitoring Arguments array 
contains the same parameters as the StartMonitoring method (
).
SilentMonitor Com Object Events
The ComObject fires the following events via a COM connection point event interface (again in IDL):
dispinterface _ISilentMonitorCtlEvents
{
properties:
methods:
      [id(1)] void OnConnection([in] IArguments *pIArguments);
      [id(2)] void OnConnectionFailure([in] IArguments *pIArguments);
      [id(5)] void OnMonitorModeEstablished([in] IArguments *pIArguments);
      [id(39)] void OnConnectionClosed([in] IArguments *pIArguments);
      [id(41)] void OnControlFailureConf([in] IArguments *pIArguments);
      [id(304)] void OnCtiOsFailure([in] IArguments *pIArguments);
  [id(502)] void OnCallRTPStartedEvent([in] IArguments *pIArguments);
  [id(503)] void OnCallRTPStoppedEvent([in] IArguments *pIArguments);
  [id(802)] void OnSilentMonitorStatusReportEvent([in] IArguments *pIArguments);
  [id(803)] void OnStartSilentMonitorConf([in] IArguments *pIArguments);
  [id(804)] void OnStopSilentMonitorConf([in] IArguments *pIArguments);
  [id(805)] void OnSilentMonitorSessionDisconnected([in] IArguments *pIArguments);
 //////////////////////////////////////////////////////////////////////////
};
Following is a brief description of each event. These events are described in detail in the Session Object 
and Silent Monitor Object sections of 
Table 5-9
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.