Quantcast
Channel: VOIP-info.org Wiki Changes
Viewing all articles
Browse latest Browse all 5767

Asterisk cmd MailboxExists

$
0
0

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.
Asterisk 11DeprecatedUse VM_INFO(mailbox,exists)


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

Viewing all articles
Browse latest Browse all 5767

Trending Articles