Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

B. Application Reference > HasVoicemail()

Name

HasVoicemail() — Indicates whether there is voicemail in the indicated voicemail box

Synopsis

HasVoicemail(vmbox[@context][:folder][|varname[,options]])

Sets the HASVMSTATUS channel variable to indicate whether there is voicemail in the voicemail box indicated by vmbox. The context argument corresponds to the voicemail context, and folder corresponds to a voicemail folder. If the folder is not specified, it defaults to the INBOX folder. If the varname argument is passed, this application assigns the number of messages in the specified folder to that variable.

If the options argument is set to the letter j, then Asterisk will send the call to priority n+101 if there is voicemail in the specified folder.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint