Cisco Cisco Computer Telephony Integration Option 9.0 Guia Do Programador

Página de 546
 
13-15
Cisco ICM Software CTI OS Developer’s Guide Release 6.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 of the system where that 
is listening for audio.