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

Ringing() — Indicates ringing tone

Synopsis

    Ringing()

Requests that the channel indicate ringing tone to the user. It is up to the channel driver to specify exactly how ringing is indicated.

Note that this application does not actually provide audio ringing to the caller. Use the Playtones() application to do this.

Always returns 0.

    ; indicate that the phone is ringing, even though it isn't
    exten => 123,1,Ringing()
    exten => 123,2,Wait(5)
    exten => 123,3,Playback(tt-somethingwrong)

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