VoiceBooker

Hang Up

The Hang up function allows the AI assistant to end the call from its side.

How To Configure Hang Up

The Hang up function is configured in the tools section of the AI assistant. Define a new function and describe in the description under which conditions the AI assistant should end the call. This can also be done as part of information collection.

Example: Call this function if the caller ends the conversation.

Choose the action Hang up as shown below:

Programmatic Hang Up

Hang up can also be triggered programmatically from any JavaScript code snippet by returning an action field with hangup as shown below:

function myFunction(params) {
    // some code producing some JS object
    response ...
    response["action"] = "hangup";
    return response;
}

On this page