reason attribute to end the call.
Attributes
The Hangup element supports these attributes. You can modify the behavior of each attribute using the allowed values.| reason string | Specifies the reason for the hangup. Allowed values: |
| schedule integer | Used to schedule a call hangup. Should be followed by an element such as Speak; if not, the call will be hung up immediately. Allowed values: integer > 0 (in seconds) |
Note:
- When the Hangup XML element is the first element in an Answer XML element, the call is hung up with reason
rejectedby default if the reason attribute is not specified. - When Hangup XML is not the first element or if the call is already answered, the call is hung up with reason
Normal Hangupif the reason attribute is not specified.