Skip to content

VoiceML: <Wait>

The <Wait> action waits for a specified amount of time.

Attributes

The <Wait> action supports the following attributes.

Attribute Allowed Values Default
DurationSeconds 0.1 - 1000 5

DurationSeconds

The DurationSeconds attribute specifies the amount of time to wait in seconds. It can include decimals.

Body

The <Wait> action cannot include a body.

Examples

Example 1: Wait for 10 seconds

The following example waits for 10 seconds.

<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Wait DurationSeconds="10"/>
</Response>