InboundXML Documentation

View REST Docs

Pause Element

The <Pause> element will pause the call, holding for the number of seconds set by the length attribute.

Element Attributes

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

Attribute Description
optional
The length in seconds the pause should be.
Default Value:
1
Allowed Value:
integer greater than 0, less than 99999

Nesting

In addition to the default <Response> element, the <Pause> element can also be nested within the <Gather> verb.

No other elements may be nested within the <Pause> element.

Example InboundXML Document

The InboundXML below will say "hello." and then pause for 5 seconds before saying "Are you still there?".

<Response>
    <Say>Hello.</Say>
    <Pause length='5'/>
    <Say>Are you still there?</Say>
</Response>

Helper Example

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