MailboxExists(mailbox@[context],[options])
Full arguments reference
-
mailbox-
mailboxrequired -
context
-
-
options- None options.
Note
DEPRECATED. Use VM_INFO(mailbox[@contextA named section of the dialplan that groups extensions. Calls enter a specific context and can only reach extensions visible from it, making contexts the basic unit of call routing and security.],exists) instead.
Check to see if the specified mailbox exists. If no voicemail context is specified, the 'default' context will be used.
This application will set the following channelA single call leg passing through Asterisk. Channels represent connections to endpoints and are what dialplan applications act on. variable upon completion:
-
VMBOXEXISTSSTATUS- This will contain the status of the execution of the MailboxExists application. Possible values include:-
SUCCESS -
FAILED
-
-
mailbox-
mailboxrequired -
context
-
-
options- None options.
User Notes
Know a tip or gotcha for this topic? Share it below and help others.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.