Hangup

Terminates an active voice call in a phone script. If executed while the interaction is with an agent, it hangs up on the contact.

Dependencies

  • Hangup terminates the phone script and all related phone calls.
  • If an outbound call has not connected, use the END action; any outbound calls that have been connected should use Hangup.
  • If the Hangup action is executed and an Onrelease event action is present, CXone hangs up on the caller and the script jump to the OnRelease action.

Supported Script Types

The icon for the Phone script type - an old-style phone handset with curved lines indicating sound coming out of it.

Phone

Comparison of Similar Actions

The following actions have similar functions, but with some key differences: 

Do not use the Stop actionaction to end a script. It does not terminate the script and leaves contacts running. This has a negative impact on the CXone servers.

Properties

None

Branches

None. This is a terminating action, so no branches are required.

Script Example

This example is not a complete script. Additional scripting work is required to use this action.

In this simple example, the script is triggered, a message plays, and when the message is done, the script hangs up the call.

Would you like to download this script?