login | register
Sun 07 of Sep, 2008 [09:11 UTC]

voip-info.org

Discuss [0] History

Asterisk cmd MailboxExists

Created by: oej,Last modification on Fri 12 of Oct, 2007 [12:59 UTC] by chandave

Synopsis:

Check if vmbox exists

Description:

 MailboxExists(mailbox[@context])

Conditionally branches to priority n+101 if the specified voice mailbox exists.

(:exclaim:) This command was added to the development (CVS) edition of Asterisk on 2004-03-19. It does not exist in Asterisk 1.0 or 0.9.


For Asterisk 1.2.x the following is valid:


Synopsis:

Check to see if Voicemail mailbox exists

Description:

 MailboxExists(mailbox[@context][|options])

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 channel variable upon completion:

   VMBOXEXISTSSTATUS - This will contain the status of the execution of the
                       MailboxExists application. Possible values include:
                       SUCCESS | FAILED

Options:

   j - Jump to priority n+101 if the mailbox is found.


See also



Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ


Comments