The <Hangup> element will hangup the current call.
The attribute below can be used to change <Hangup> behavior.
| Attribute | Description |
|---|---|
|
optional
|
Specifies in seconds when a hangup should occur during a call.
|
The <Hangup> element cannot be nested within any other elements besides the default <Response> element.
No other elements may be nested within the <Hangup> element.
The InboundXML below will hangup the call.
<Response>
<Hangup />
</Response>
Our helper libraries simplify the task of generating InboundXML while programming. The code below will output the above InboundXML example.