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

Busy() — Indicates a busy condition to the channel

Synopsis

    Busy([timeout])

Requests that the channel indicate the busy condition and then waits for the user to hang up or for the optional timeout (in seconds) to expire.

This application only signals a busy condition to the bridged channel. Each particular channel type has its own way of communicating the busy condition to the caller. You can use Playtones(busy) to play a busy tone to the caller.

Always returns -1.

    exten => 123,1,Playback(im-sorry)
    exten => 123,2,Playtones(busy)
    exten => 123,3,Busy()

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