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)

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.