The answerCall function
The answerCall function is called to move the call answer state to an incoming call while in ringing state. This function uses the callID parameter to place an answer call request to the CTI server. If no calls are found in the ringing state, then an error is returned to the CTI toolbar.
This function uses the following parameters:
Parameters of the answerCall function
Parameter | Description |
---|---|
callId | The call identifier that is used to answer the call. |
options | The object that holds the additional parameters that are required to complete the request. |
success | The call back function that is invoked on success. |
failure | The call back function that is invoked on failure. |
To send the answer call request to the CTI server, copy the function from the interface file and implement it.
Previous topic Basic call control functions Next topic The holdCall function