Cisco Cisco Computer Telephony Integration OS 8.5 Guia Do Programador
4-58
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 4 Building Your Application
Enabling Silent Monitor in Your Application
•
The AgentCallReference parameter must be set to the unique object ID of the call to be silent
monitored.
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.
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().
Figure 4-5
CIL-to-CTI OS Server Messaging when CCM Based Silent Monitor Initiated Using Agent.SuperviseCall()
C# code sample for Initiating a Silent Monitor Session
Agent curAgent = session.GetCurrentAgent() ;
Agent monAgent = curAgent.GetMonitoredAgent() ;
Call monCall = curAgent.GetMonitoredCall() ;
string monAgentID;
monAgent.GetValueString(
Enum_CtiOs.CTIOS_UNIQUEOBJECTID,
out
monAgentID);
string monCallID;
monCall.GetValueString(
Enum_CtiOs.CTIOS_UNIQUEOBJECTID,
out
monCallID);