The retrieveCall function
The retrieveCall function is called to retrieve the call in a hold state to an active state. This function uses the callId parameter to perform a retrieve call request to the CTI server. If the call retrieval is successful, then the state of the call is changed to the active state. If the request is unsuccessful, then the CTI server will return an error to the CTI toolbar.
This function uses the following parameters:
Parameters of the retrieveCall 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 retrieve call request to the CTI server, copy the function from the interface file and implement it.
Previous topic The hangUpCall function Next topic The sendDTMF function