Cisco Cisco Computer Telephony Integration OS 8.5 Guia Do Programador

Página de 500
   
4-56
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 4      Building Your Application
Enabling Silent Monitor in Your Application
‘Remove silent monitor manager object from session
errorcode = m_session_SetCurrentSilentMonitor(Nothing)
‘Destroy silent monitor manager object
errorcode = m_session.DestroySilentMonitorManager()
Enabling CCM Based Silent Monitoring in your Application
CCM Based Silent Monitor Overview
CCM based silent monitor is the Call Manager implementation of silent monitor. When CCM based 
silent monitor is used, silent monitor is implemented as a call. After initiating silent monitor, the 
supervisor is able to hear the agent’s conversation using their phone.
Agents can only be silent monitored by one supervisor at a time.
CCM based silent monitor is supported in all CILs.
The CTI Toolkit Combo Desktop .Net sample includes CCM based silent monitor source code.
The following section describes how to enable CCM based silent monitor in custom CTI OS 
applications.
CTI OS Monitor Mode Applications
CCM based silent monitor is not supported for CTI OS monitor mode applications.
Initiating a CCM Based Silent Monitor Request
Before initiating CCM based silent monitor, ensure that CCM based silent monitor has been configured. 
Refer to 
 for additional information.
CCM Based silent monitoring is initiated through the SuperviseCall() method associated with the 
supervisor's Agent object. To start silent monitor:
  •
The SupervisoryAction parameter must be set to eSupervisorMonitor.
  •
The AgentReference parameter must be set to the unique object ID of the agent to be silent 
monitored.
  •
The AgentCallReference parameter must be set to the unique object ID of the call to be silent 
monitored.
When the request is successfully initiated and the silent monitor call is established, the supervisor and 
agent applications receive the OnSilentMonitorStartedEvent. This event can be used to trigger 
application specific logic. 
The 
 illustrates the messaging that occurs between the CIL and CTI OS Server after an 
application initiates a CCM based silent monitor request using Agent.SuperviseCall().