Skip to Content
Asterisk: The Future of Telephony, 2nd Edition
book

Asterisk: The Future of Telephony, 2nd Edition

by Jim Van Meggelen, Jared Smith, Leif Madsen
August 2007
Intermediate to advanced
608 pages
20h 33m
English
O'Reilly Media, Inc.
Content preview from Asterisk: The Future of Telephony, 2nd Edition

Name

VoiceMail() — Leaves a voicemail message in the specified mailbox

Synopsis

VoiceMail(mailbox[@context][&mailbox[@context]][...]|options)

Leaves voicemail for a given mailbox (must be configured in voicemail.conf). If more than one mailbox is specified, the greetings will be taken from the first mailbox specified.

Options:

s

Skip the playback of instructions.

u

Play the user’s unavailable greeting.

b

Play the user’s busy greeting.

g(num)

Amplify the recording by num decibels (dB).

j

If the requested mailbox does not exist, and there exists a priority n+101 (where n is the current priority), that priority will be taken next.

If the caller presses 0 (zero) during the prompt, the call jumps to the o (lowercase letter o) extension in the current context, if operator=yes was specified in voicemail.conf.

If the caller presses * during the prompt, the call jumps to extension a in the current context. This is often used to send the caller to a personal assistant.

Upon completion, this application sets a channel variable named VMSTATUS. It will contain one of the following values:

SUCCESS

The call was successfully sent to voicemail.

USEREXIT

The caller exited from the voicemail system.

FAILED

The system was not able to send the call to voicemail.

; send caller to unavailable voicemail for mailbox 123
exten => 123,1,VoiceMail(123@default,u)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Asterisk: The Future of Telephony

Asterisk: The Future of Telephony

Jim Van Meggelen, Jared Smith, Leif Madsen
Switching to VoIP

Switching to VoIP

Theodore Wallingford

Publisher Resources

ISBN: 9780596510480Errata Page