Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 640
13-15
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
 
Chapter 13      SilentMonitorManager Object
Methods
Remarks
If the DeviceID is used, there must be an agent associated with the device. The 
session will timeout if there is no agent logged into the device. An established 
silent monitor session will end if the associated agent logs out of the device.
StartSMMonitoredMode
The StartSMMonitoredMode method puts the SilentMonitorManager in 
Monitored mode.
Syntax 
C++:
 int StartSMMonitoredMode (Arguments & args );
COM:
  
HRESULT StartSMMonitoredMode ( /*[in]*/ IArguments * args, 
/*[out,retval]*/ int * errorcode );
VB:
 StartSMMonitoredMode (ByVal args as CTIOSCLIENTLIB.IArguments) As 
Long
Parameters
args
Arguments array that contains the following parameters listed in 
:
errorcode
An output parameter (return parameter in VB) that contains an error code 
from 
 in 
Table 13-11 StartSMMonitoredMode Arguments Array Parameters
Keyword
Type
Description
MonitoredDeviceID
STRING
DeviceID of the device to monitor (for 
example, the extension number of the 
IP phone to monitor.
MonitoringIPPort 
(optional)
INT
TCP/IP port where the monitoring 
application is listening for audio.