InboundXML Documentation

View REST Docs

Hangup Element

The <Hangup> element will hangup the current call.

Element Attributes

The attribute below can be used to change <Hangup> behavior.

Attribute Description
optional
Specifies in seconds when a hangup should occur during a call.
Allowed Value:
integer greater than or equal to 0

Nesting

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.

Example InboundXML Document

The InboundXML below will hangup the call.

<Response>
    <Hangup />
</Response>

Helper Example

Our helper libraries simplify the task of generating InboundXML while programming. The code below will output the above InboundXML example.