Pause

The <Pause> verb waits silently for a specific number of seconds. If <Pause> is the first verb in a RCML response, CallAPI will wait the specified number of seconds before picking up the call.

Pause Attributes

Name

Allowed Values

Default Value

length

integer > 0

1 second

Length. The 'length' attribute specifies how many seconds CallAPI will wait silently before continuing on.

Nesting

The verb can not have any other verbs or nouns nested.

Examples

Example of how to use the <Pause> verb:

<Response>
    <Pause length="5"/>
</Response>

Delayed pickup

This example demonstrates using <Pause> to wait between two <Say> verbs.

<?xml version="1.0" encoding="UTF-8" ?>
<Response>
    <Say>I will pause 10 seconds starting now!</Say>
    <Pause length="10"/>
    <Say>I just paused 10 seconds</Say>
</Response>

Last updated