Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide
10-9
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(1)
Chapter 10 Call Object
Methods
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).
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 rArgs)
.NET:
CilError Answer(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
A call may be answered after the OnCallDelivered event has been received. The Answer request must
be made via a call whose call status LCS_ALERTING or it will fail.
be made via a call whose call status LCS_ALERTING or it will fail.
The following events will be received if this request is successful:
•
OnAnswerCallConf event
•
OnCallEstablished event