Asterisk cmd MailboxExists

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.

For Asterisk 1.6.x the following is valid:


Synopsis:

Check to see if Voicemail mailbox exists. Has been changed to a function which means that you can use it in GotoIf.

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:

None. This is a change from 1.4. j does not jump to n+101 to do that, use
GotoIf(${MAILBOX_EXISTS(${ARG1}@residential)} = "1"?labeltojumpto)



See also



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

Created by: oej, Last modification: Fri 25 of Dec, 2009 (19:03 UTC) by jiddings


Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

 

Featured -

Search: