Wait

Definition

This tag inserts a pause into the IVR dial plan.

Value

A number of seconds.

Attributes

Attribute Required Values Description
name N any text A unique name for the tag

Examples

The following example inserts a four-second pause between the first keypress and the next instruction.

<dialplan name="Root">
    <menu maxdigits="1" timeout="3500">
        <play type="tts">Please press one</play>
        <keypress pressed="1">
            <stash varname="value1">1</stash>
        </keypress>
    </menu>
    <wait>4
    </wait>
    <menu maxdigits="1" timeout="3500">
        <play type="tts">Please press two</play>
        <keypress pressed="2">
            <stash varname="value2">2</stash>
        </keypress>
    </menu>
</dialplan>