Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 500
   
8-28
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 8      Session Object
Methods
Remarks
A successful request results in an OnCurrentCallChanged event.
In Java and .NET, if the call object specified in the call parameter is already the current call, the 
OnCurrentCallChanged event is not fired to the client application and a 
E_CTIOS_CALL_ALREADY_CURRENT_IN_SESSION code is returned.
SetCurrentSilentMonitor
The SetCurrentSilentMonitor method sets the SilentMonitorManager object instance specified as the 
current manager in the CTI OS session object.
Syntax
C++:
 
int SetCurrentSilentMonitor(CSilentMonitorManager * pSilentMonitor);
COM:
 
HRESULT SetCurrentSilentMonitor (/*[in]*/ ISilentMonitorManager * pSilentMonitor, 
/*[out,retval]*/ int * errorcode);
VB:
SetCurrentSilentMonitor (ByVal pSilentMonitor As CTIOSCLIENTLIB. 
ISilentMonitorManager) As Long
Java:
Not available
.NET:
Not available
Parameters
pSilentMonitor
Valid pointer to a SilentMonitorManager object created via CreateSilentMonitorManager
errorcode
An output parameter (return parameter in VB) that contains an error code from 
 in 
Return Values
Default CTI OS return values. See 
Remarks
Supported for use with IPCC only.
SetMessageFilter
The SetMessageFilter method specifies a filter for CTI OS Server to use to determine which events are 
sent to a monitor mode client. 
Syntax
C++:
int SetMessageFilter(string filter)
COM:
HRESULT SetMessageFilter(/*{in]*/ BSTR filter, /*[out, retval]*/ int* errorcode)
VB:
SetMessageFilter (filter As String, retVal As Long)