Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 506
   
5-45
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 5      CTI OS ActiveX Controls
The Silent Monitor StandAlone ActiveX Control
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,
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);
 //////////////////////////////////////////////////////////////////////////
};
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.