Upgrade 3CX to v18 and get it hosted free!

Asterisk cmd HasNewVoicemail

Author image

Synopsis:

Conditionally branches to priority + 101

Description

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

New!!
HasNewVoicemail(vmbox[/folder][@context][|varname[|options]])
HasVoicemail(vmbox[/folder][@context][|varname[|options]])

Branches to priority + 101, if there is new voicemail in the folder indicated. Optionally sets <varname> to the number of new messages. Assumes folder of INBOX if not specified.

Options

– j Is need to jump.

Notes

These commands are now deprecated in favour of the VMCOUNT function

Written originally to (and therefore useful for) determining how many times an incoming call will ring. If there is no new voicemail, the phone might be allowed to ring several more times, possibly saving a toll call when there are no new messages to retreive.

Since 05/01/04, HasNewVoicemail has been implemented as a synonym for HasVoicemail. Until 10/03/04, these commands did not actually select any default folder, contrary to documentation, so a folder needs to be specified (:folder) in versions between those dates (including 1.0.0, 1.0.1 and CVS-HEAD-08/13/04-12:00:00-BRI-stuffed-0.1.0-RC4a).

See also


Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.