CallHangUp
The CallHangUp action terminates an active voice call. When the AI Employee determines the conversation is complete, this action gracefully ends the phone connection, schedules follow-up management, and handles post-call cleanup. It also handles chat channel termination.
Triggering event:
end_conversation_tool— Triggered when the AI Employee decides to end the conversation.
How it works
- The AI Employee determines that the conversation should end (e.g., the caller's request has been fulfilled or the caller wants to hang up).
- The action marks the conversation as concluded in the persona attributes.
- An
extend_sessionevent is sent to prevent premature disconnection during cleanup. - For phone calls: Sends a
stop_callcommand to the Newo Voice integration with the configured timeout. - For chat conversations: Schedules a follow-up update event.
- A follow-up management event is scheduled with a 5-second delay to handle any post-call tasks.
Configuration
| Attribute | Description |
|---|---|
project_attributes_setting_voice_integration_service | The voice integration in use: "NEWO Voice Integration". |
project_attributes_setting_voice_stop_call_timeout | Seconds to wait before disconnecting the call. Default: 6. |
Commands sent
The following command is issued:
SendCommand(
commandIdn="stop_call",
integrationIdn="newo_voice",
connectorIdn="newo_voice_connector",
waitSeconds="6"
)
System events triggered
| Event | Description |
|---|---|
extend_session | Extends the current session to allow cleanup before termination. |
convoagent_update_followup | Schedules follow-up management with a 5-second delay. The follow-up interval is set to -1 (disabled) with reason "hang up". |
Updated 1 day ago
