The <Pause> verb waits silently for a specific number of seconds.
If <Pause> is the first verb in a TwiML document, Twilio will wait
the specified number of seconds before picking up the call.
The <Pause> verb supports the following attributes that modify its behavior:
| Attribute Name | Allowed Values | Default Value |
|---|---|---|
| length | integer > 0 | 1 second |
The 'length' attribute specifies how many seconds Twilio will wait silently before continuing on.
You can't nest any verbs within <Pause>, but you can nest the <Pause> verb within the following verbs:
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>
This example demonstrates using <Pause> to delay Twilio for 5 seconds before accepting a call.
<?xml version="1.0" encoding="UTF-8" ?>
<Response>
<Pause length="5"/>
<Say>Hi there.</Say>
</Response>