Cisco Cisco Computer Telephony Integration Option 9.0 Guide Du Développeur
Chapter 4 Building Your Application
Enabling Silent Monitor in your Application
4-66
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
m_Args.AddItem " HeartbeatInterval", "5"
m_Args.AddItem " HeartbeatTimeout ", 3
‘Create the silent monitor manager
Set m_SMManager = m_session.CreateSilentMonitorManager(m_Args)
‘Make the object the current manager
errorcode = m_session.SetCurrentSilentMonitorManager(m_SMManager)
Setting the Session Mode
After you set this new object as the current object, set the manager’s work mode
to Monitoring for the monitoring client and Monitored for the monitored client.
The following sections provide code examples. See also
to Monitoring for the monitoring client and Monitored for the monitored client.
The following sections provide code examples. See also
for syntax of the StartSMMonitoringMode and
SMMonitoredMode methods.
Monitoring Mode
In this mode the client receives audio, confirmation and session status events for
a specific silent monitor session. This mode is intended for use by client
applications developed for Supervisor desktop functionality. The
StartSMMonitoringMode method on the SilentMonitorManager object selects
this mode.
a specific silent monitor session. This mode is intended for use by client
applications developed for Supervisor desktop functionality. The
StartSMMonitoringMode method on the SilentMonitorManager object selects
this mode.
Following is a code sample for specifying the mode for the client application.
Dim m_Args As New Arguments
‘Assemble arguments to set the work mode
‘Port number where audio will be listened for
m_Args.AddItem "MediaTerminationPort", 8000
‘Set the working mode to monitoring
m_SMManager.StartSMMonitoringMode(m_Args)
Monitored Mode
In this mode, the client sends audio and status reports on silent monitor session
and receives requests for start and stop silent monitor session. This mode is
intended for client applications developed for Agent desktop functionality. The
StartSMMonitoredMode method on the SilentMonitorManager object selects this
mode.
and receives requests for start and stop silent monitor session. This mode is
intended for client applications developed for Agent desktop functionality. The
StartSMMonitoredMode method on the SilentMonitorManager object selects this
mode.