Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

The hangUpCall function

Updated on October 6, 2021

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

ParameterDescription
callIdThe call identifier that is used to answer the call.
optionsThe object that holds the additional parameters that are required to complete the request.
successThe call back function that is invoked on success.
failureThe 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.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us