Checks to see if the specified voicemail box exists.
mailboxExists(mailbox
[@context
][,options
])
Checks to see if the voicemail box defined in
mailbox
exists. A voicemail context may be
specified if the mailbox being checked is not in the default
context.
Sets the channel variable VMBOXEXISTSSTATUS
to
SUCCESS
(mailbox found) or FAILED
(mailbox not
found).
Option j
enables jumping to priority
n
+101 on success.
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(sorry)