Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 500
   
10-11
CTI OS Developer’s Guide for Cisco Unified ICM/Contact Center Enterprise & Hosted
Release 7.5(1)
Chapter 10      Call Object
Methods
COM:
HRESULT ClearConnection (/*[in,optional]*/  IArguments *reserved_args,    (/*[out, 
retval]*/ int * errorcode)
VB:
ClearConnection([reserved_args As IArguments]) As Long
Java:
int ClearConnection(Arguments rArgs);
.NET:
CilError ClearConnection(Arguments args);
Parameters
reserved_args
Not currently used, reserved for future use.
errorcode
An output parameter (return parameter in VB) that contains an error code from 
 in 
Return Value
Default CTI OS return values. See 
Remarks
As with the Clear method, under certain switches the ClearConnection request must be made via a call 
whose status is LCS_CONNECT or LCS_INITIATE or it will fail. Many other switches allow the Clear 
method to be called via a call whose status is LCS_ALERTING or LCS_HOLD. It may never be made 
via a call whose status is LCS_NULL indicating that it has already been cleared. 
The following events will be received  if this request is successful: 
OnClearConnectionConf event
OnCallConnectionlCleared event
If this is a two party call, these events will be followed by
OnCallCleared event
The following events will be received  if this request fails: 
OnControlFailureConf event
Conference
The Conference method either begins a new conference call or adds an additional call to an existing 
conference call. When it begins a new conference call, it combines an original two-party call with a 
two-party consult call (where the two calls have a common party) into a single three party call. Only the 
common party (which is called the “Conference Controller”) can call this method to make the new 
conference call. This method may be called on either of the Conference Controller’s calls.
Syntax
C++:
int Conference();
int Conference(Arguments& optional_args)
COM:
HRESULT Conference ( /*[in, optional]*/ IArguments *optional_args,    (/*[out, 
retval]*/ int * errorcode )
VB:
Conference([optional_args As IArguments]) As Long