Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 500
   
13-4
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 13      SilentMonitorManager Object
Methods
Argument Parameter Rules
The following rules apply to the optional_args and reserved_args parameters in SilentMonitorManager 
Object methods:
In VB, you can ignore these parameters altogether. For example, you can treat the line:
StartSMMonitoringMode([reserved_args As IArguments]) As Long
as follows:
StartSMMonitoringMode()
 To ignore these parameters in COM you must send a NULL, as shown:
StartSMMonitoringMode(NULL)
AcceptSilentMonitoring
The AcceptSilentMonitoring method establishes the silent monitor session requested by the 
OnSilentMonitorRequestedEvent and immediately starts sending audio to the monitoring client. This 
method should only be used if the parameter DoDefaultMessageHandling was set to False when the 
subscriber handled the OnSilentMonitorRequestedEvent event.
Syntax 
C++:
 int AcceptSilentMonitoring(Arguments & args );
COM:
  
HRESULT AcceptSilentMonitoring ( /*[in]*/ IArguments * args, /*[out,retval]*/ int * 
errorcode );
VB:
 AcceptSilentMonitoring (ByVal args as CTIOSCLIENTLIB.IArguments) As Long
Parameters
args
Arguments array that contains the parameters listed in 
:
Table 13-4
AcceptSilentMonitoring Arguments Array Parameters
Keyword
Type
Description
MonitoredUniqueObject
ID
STRING
Unique Object ID of the object being 
monitored.
MonitoringIPAddress
STRING
TCP/IP address of the monitoring 
application.
MonitoringIPPort
INT
TCP/IP port of the monitoring 
application.
SMSessionKey
UNSIGNED 
SHORT
Unique identifier for the Silent 
Monitor Session.
HeartbeatInterval
INT
Heartbeat interval for the silent 
monitor session.
HeartbeatTimeout
INT
Timeout for no activity.