TwiML™ Voice: <Pause>
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.
Verb Attributes
The <Pause>
verb supports the following attributes that modify its behavior:
Attribute Name | Allowed Values | Default Value |
---|---|---|
length | integer > 0 | 1 second |
length
The 'length' attribute specifies how many seconds Twilio will wait silently before continuing on.
Nesting Rules
You can't nest any verbs within <Pause>
, but you can nest the <Pause>
verb within the following verbs:
Examples
Example 1: Simple pause
This example demonstrates using <Pause>
to wait between two <Say>
verbs.
Example 2: Delayed pickup
This example demonstrates using <Pause>
to delay Twilio for 5 seconds before accepting a call.
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.