Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
Chapter 5      CTI OS ActiveX Controls
The Silent Monitor StandAlone ActiveX Control
5-26
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1) 
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);
Table 5-2
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.