Asterisk cmd VoiceMail2


Leave a voicemail message

Ignore the content on this page. Someone pasted content

belonging to voicemail and not voicemail2 here. If anyone

has the correct way to define this, please update this page



Leaves voicemail for a given extension (must be configured in voicemail.conf ).
If the extension is preceeded by one of the following flags:
  • s: instructions for leaving the message will be skipped.
  • u: the "unavailable" message will be played (that is, /var/lib/asterisk/sounds/vm/<exten>/unavail) if it exists.
  • b: the the busy message will be played (that is, busy instead of unavail)

Return codes:

Returns -1 on error or mailbox not found, or if the user hangs up. Otherwise, it returns 0.


exten => 100,1,VoiceMail(u100@myContext)

See also

Old version:

Go back to Asterisk

Created by: oej, Last modification: Wed 09 of May, 2012 (04:02 UTC) by admin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+