Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 506
   
10-21
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 10      Call Object
Methods
Syntax
C++:
int Reconnect()
int Reconnect(Arguments & reserved_args)
COM:
HRESULT Reconnect (/*[in,optional]*/  IArguments * reserved_args,    (/*[out, 
retval]*/ int * errorcode )
VB:
Reconnect([reserved_args As IArguments]) As Long
Java:
int Reconnect(Arguments rArgs)
.NET:
CilError Reconnect(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 Values
Default CTI OS return values. See 
Remarks 
For switches which allow more than two calls at a device (for example G3), it is recommended that this 
request only be made through the desired held call, because of  the ambiguity caused by multiple held 
calls at the device. 
The Alternate request must be made via a call whose status is either LCS_CONNECT or LCS_HELD or 
it will fail.
The following events will be received  if this request is successful.
For the call making the Reconnect request:
OnReconnectCallConf event
For the originally current call:
OnCallConnectionCleared event
OnCallCleared event
OnCallEnd event
For the originally held call:
OnCallRetrieved event
The following events will be received by the call making the Alternate request if this request fails: 
OnControlFailureConf event
Retrieve
The Retrieve method unholds a held call.