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)

See Also

VoiceMailMain(), voicemail.conf