B.131. VMAuthenticate()

Authenticates the caller using the voicemail password of the specified mailbox.
VMAuthenticate([mailbox][@context][,options])
Behaves just like Authenticate() except that the passwords are taken from the configuration (and optional context) in voicemail.conf.
If a mailbox is specified, only the password for that mailbox will be accepted. If it is not provided, any voicemail password will be accepted! The channel variable ${AUTH_MAILBOX} is then populated with the name of the authenticated mailbox.
Option s suppresses the prompt.
; use the dialed extension as the reference mailbox and authenticate:
exten => 123,1,VMAuthenticate(${EXTEN}@sales)
exten => 123,n,SayDigits(${AUTH_MAILBOX})

Note

Internal help for this application in Asterisk 1.4:
  -= Info about application 'VMAuthenticate' =- 

[Synopsis]
Authenticate with Voicemail passwords

[Description]
  VMAuthenticate([mailbox][@context][|options]): This application behaves the
same way as the Authenticate application, but the passwords are taken from
voicemail.conf.
  If the mailbox is specified, only that mailbox's password will be considered
valid. If the mailbox is not specified, the channel variable AUTH_MAILBOX will
be set with the authenticated mailbox.

  Options:
    s - Skip playing the initial prompts.
diff output to internal help in Asterisk 1.2:
- none - 
See also
Section B.11, “Authenticate(), voicemail.conf