The Hangup element ends a call without answering it. The application attached to the Vobiz number must return the Hangup XML element with a reason attribute to end the call.Documentation Index
Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt
Use this file to discover all available pages before exploring further.
Attributes
The Hangup element supports the following attributes.reason (string)
Specifies the reason for the hangup.
Allowed values: rejected, busy
schedule (integer)
Schedules a call hangup after the specified number of seconds. Should be followed by an element such as Speak; otherwise, the call hangs up immediately.
Allowed values: integer > 0 (in seconds)
Note:
-
When the Hangup element is the first element in an Answer XML response, the call is hung up with reason
rejectedif no reason attribute is specified.- When Hangup is not the first element, or if the call is already answered, the call is hung up with reason
Normal Hangupif no reason attribute is specified.
- When Hangup is not the first element, or if the call is already answered, the call is hung up with reason