Cisco Cisco Computer Telephony Integration Option 9.0 开发者指南
13-4
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
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. 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. You
should only use this method 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. You
should only use this method 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
MonitoredUniqueObjectID
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
SHORT
Unique identifier for the Silent Monitor Session.
HeartbeatInterval
INT
Heartbeat interval for the silent monitor session.
HeartbeatTimeout
INT
Timeout for no activity.
OriginatingServerID
STRING
TCP/IP Address:Port of the CTI OS server from
which the request originated.
which the request originated.