The hangUpCall function
The hangUpCall function is invoked to release an active call from an established state. This function uses the callId parameter to place the hang-up call request to the CTI server. If the call is successfully released, then the state of the call is changed to the released state. If the hangup call request is unsuccessful, then the CTI server returns an error to the CTI toolbar.
This function uses the following parameters:
Parameters of the hangUpCall function
|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 hang up call request to the CTI server, copy the function from the interface file and implement it.
Previous topic The makeCall function Next topic The retrieveCall function