Name

VMAuthenticate() — Authenticates the caller from voicemail passwords

Synopsis

VMAuthenticate([mailbox][@context[,options]])

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})

Get Asterisk: The Future of Telephony, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.