VMAuthenticate() — Authenticates the caller from voicemail passwords
Behaves identically to the Authenticate()
application, with the exception
that the passwords are taken from voicemail.conf
.
If mailbox
is
specified, only that mailbox’s password will be considered valid. If
mailbox
is not specified, the channel
variable AUTH_MAILBOX
will be set
with the authenticated mailbox.
If the options
parameter is set to the
letter s
, Asterisk will skip the
initial prompts.
; authenticate off of any mailbox password in the default voicemail context
; and tell us the matching mailbox number
exten => 123,1,VMAuthenticate(@default)
exten => 123,2,SayDigits(${AUTH_MAILBOX})