Name
Wait() — Waits for a specified number of seconds
Synopsis
Wait(seconds
)
Waits for the specified number of
seconds
, then returns 0
. You can pass fractions of a second (e.g.,
1.5 = 1.5 seconds).
; wait 1.5 seconds before playing the prompt
exten => s,1,Answer()
exten => s,2,Wait(1.5)
exten => s,3,Background(enter-ext-of-person)
Get Asterisk: The Future of Telephony now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.