Page 435 - Asterisk™: The Future of Telephony
P. 435

MailboxExists()                       Conditionally branches if the specified voicemail box exists
               MailboxExists(mailbox[@context[,options]])

               Checks to see if the mailbox specified by the mailbox argument exists in the Asterisk
               voicemail  system.  You  may  pass  a  voicemail  context  if  the  mailbox  is  not  in  the
               default voicemail context.
               This application sets a channel variable named VMBOXEXISTSSTATUS. If the mailbox exists,
               it will be set to SUCCESS. Otherwise, it will be set to FAILED.
               If the j option is passed as the options parameter, the application will jump to priority n
               +101 (where n is the current priority) if the voicemail box specified by the mailbox
               argument exists.
                   exten => 123,1,Answer()
                   exten => 123,n,Set(MYMAILBOX=123@default)
                   exten => 123,n,MailboxExists(${MYMAILBOX})
                   exten => 123,n,GotoIf($["${VMBOXEXISTSSTATUS}" = "SUCCESS"]?exists)
                   exten => 123,n,Playback(im-sorry)
                   exten => 123,n,Hangup()
                   exten => 123,n(exists),Voicemail(u123)

               See Also
               HasVoicemail(), HasNewVoicemail()


               MeetMe()                                    Puts the caller in to a MeetMe conference bridge
               MeetMe([confno[,options[,PIN]]])

               Places the caller in to the audio conference bridge specified by the confno argument. If
               the conference number is omitted, the user will be prompted to enter one.
               If the PIN argument is passed, the caller must enter that PIN number to successfully
               enter the conference.
               The options string may contain zero or more of the characters in the following list:

               a
                   Sets admin mode.
               A
                   Sets marked mode.
               b
                   Runs  the  AGI  script  specified  in  ${MEETME_AGI_BACKGROUND};  default:
                   conf-background.agi. (Note: this does not work with non-Zap channels in the same
                   conference.)
               c
                   Announces user(s) count upon joining a conference.


                                                                         MailboxExists() | 407
   430   431   432   433   434   435   436   437   438   439   440