Allows the caller to check voice mail messages.
VoiceMailMain([mailbox
][@context
][,options
])
old syntax:
VoiceMailMain([[s|p]mailbox
][@context
])
Allows access to the mailbox for listening to messages. If the
mailbox number is not specified, the system prompts the caller for the
mailbox number.
Option s
skips the password prompt. Option
p
(prefix) prompts the caller to enter a mailbox number; the
number specified in the command is then used as a prefix to the number
provided by the caller and the resulting string is used as the mailbox
number. This can be useful with virtual mailbox hosting. Option
a(folder
)
sends the caller directly to
the specified folder (default: INBOX
).
If a context is specified, only mailboxes in the specified
context are accessible.
Returns -1 if the caller hangs up, otherwise 0.
; go to the voicemail menu for mailbox 123 in the default context:
exten => 123,1,VoiceMailMain(123@default)