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

MailboxExists() — Conditionally branches if the specified voicemail box exists

Synopsis

    MailboxExists(mailbox[@context])

Conditionally branches to priority n+101 (where n is the current priority) if the voicemail box specified by the mailbox argument exists. You may pass a voicemail context if the mailbox is not in the default voicemail context.

    exten => 123,1,Answer()
    exten => 123,2,MailboxExists(123@default)
    exten => 123,3,Playback(im-sorry)
    exten => 123,103,Voicemail(u123)

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