Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide

Page of 546
 
10-11
Cisco ICM Software CTI OS Developer’s Guide Release 6.0(0)
 
Chapter 10      Call Object
Methods
Return Values
Default CTI OS return values. Se
Remarks 
For switches that 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 Alternate request:
OnAlternateCallConf event
For the originally current call:
OnCallHeld 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
Answer
The Answer method answers a call that is in the alerting or ringing state (i.e., call 
status of LCS_ALERTING).
Syntax
C++:
int Answer()
int Answer(Arguments & reserved_args)
COM:
HRESULT Answer (/*[in,optional]*/ IArguments *reserved_args,   
(/*[out, retval]*/ int * errorcode )
VB:
Answer([reserved_args As IArguments]) As Long
Java:
int Answer(Arguments reserved_args)