MailboxExists()
MailboxExists(Mailbox
[@Context
][,Optionen
])
Mailbox
angegebene Voicemailbox
existiert. Sie können zusätzlich einen Voicemail-Context
Context
übergeben, wenn die Mailbox nicht zum
Standard-Voicemail-Context gehört.VMBOXEXISTSSTATUS
auf
SUCCESS
(Erfolg, Mailbox vorhanden) oder FAILED
(fehlgeschlagen, Mailbox nicht vorhanden).j
wird bei vorhandener Mailbox zur
Priorität n+101 gesprungen.exten => 123,1,Answer() exten => 123,n,MailboxExists(123@default) exten => 123,n,Goto(box-${VMBOXEXISTSSTATUS}) exten => 123,10(box-SUCCESS),Voicemail(123,u) exten => 123,20(box-FAILED),Playback(tut-uns-leid)
————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= Info about application 'MailboxExists' =-
[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.
--- in Asterisk 1.4
+++ in Asterisk 1.6
@@ -4,7 +4,7 @@
Check to see if Voicemail mailbox exists
[Description]
- MailboxExists(mailbox[@context][|options]): Check to see if the specified
+ 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:
@@ -12,5 +12,4 @@
MailboxExists application. Possible values include:
SUCCESS | FAILED
- Options:
- j - Jump to priority n+101 if the mailbox is found.
+ Options: (none)
VMCOUNT()
“