Руководство Разработчика для Cisco Cisco Computer Telephony Integration OS 8.5
13-4
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.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:
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.
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
ID
STRING
Unique Object ID of the object being
monitored.
monitored.
MonitoringIPAddress
STRING
TCP/IP address of the monitoring
application.
application.
MonitoringIPPort
INT
TCP/IP port of the monitoring
application.
application.
SMSessionKey
UNSIGNED
SHORT
SHORT
Unique identifier for the Silent
Monitor Session.
Monitor Session.
HeartbeatInterval
INT
Heartbeat interval for the silent
monitor session.
monitor session.
HeartbeatTimeout
INT
Timeout for no activity.