Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 668
 
9-53
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
 
Chapter 9      Agent Object
Methods
Remarks
This request is specific to the Supervisor feature and should only be used on 
switches or configurations that have the necessary support (currently, Cisco IPCC 
only).
SuperviseCall
The SuperviseCall method allows the client, which must be a supervisor, to 
perform a supervisory action specified by the args parameter..
Syntax
C++:
int SuperviseCall(Arguments& args)
COM:
HRESULT SuperviseCall (/*[in]*/ IArguments * args, 
/*[out,retval]*/  int errorCode)
VB:
SuperviseCall (args As CTIOSCLIENTLib.IArguments ) As Long
Java:
int SuperviseCall(Arguments args)
.NET:
CilError SuperviseCall(Arguments args)
Parameters
args
An input parameter in the form of a pointer to an Arguments array that 
contains members with string values that are the UniqueObjectIDs of the 
desired agent and call. These should be packaged with the keywords 
“AgentReference” and “CallReference” respectively. The third required 
parameter is one of the following integers representing the desired 
supervisory action.
Value
Enum
Description
3
eSupervisorBargeIn
BargeIn to the specified call of the specified 
agent.
4
eSupervisorIntercept
Intercept the specified call of the specified 
agent.