Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 500
   
5-40
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
Note
If a pointer to the agent object is available (e.g., a m_MonitoredAgent), The PeriperhalID can be 
retrieved 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 will fire 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
SilentMonitor Com Object Events
Event
Description
OnConnection
Indicates that the connect method was 
successful in establishing a connection.
OnConnectionFailure
Indicates that an active connection has failed. 
Can also indicate a bad parameter in the 
Connect method 
OnMonitorModeEstablished
Signals a successful call to SetMsgFilter. The 
call to Setmsgfilter is hidden by the 
Standalone control.
OnConnectionClosed
Disconnect was called and the connection is 
now closed.
OnControlFailureConf
A ControlFailureConf was received and can 
be handled.