O'Reilly logo

Asterisk: The Future of Telephony by Leif Madsen, Jared Smith, Jim Van Meggelen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required