[asterisk-dev] Voicemail "greetings only" feature

Florent Dewavrin florent.dewavrin at telnowedge.com
Wed May 13 05:37:44 CDT 2009


Hello !


Some days ago, I looked for a "Greetings only" voicemail option 
(http://forums.digium.com/viewtopic.php?t=68773).

The expected behaviour is to play the user's greeting message and to 
hang up without recording anything.
This feature, that exists on some PBX, allows users who don't want voice 
messages to easely setup a failover announcement.

So why using the Voicemail application instead of playing a recording ? 
Mainly for simpleness reasons:
- It gives a unique dialplan entry point to all users (those who wants a 
recorder and those who don't) when they want to configure their greeting 
messages.
- It keeps the dialplan simple, as the user failover destination is 
always the Voicemail application.

As I didn't find such a feature in the voicemail documentation, my first 
guess was to set the user maxmsg to zero.
Next I looked more closely at app_voicemail.c and realized that zero is 
not a valid value.

So I wrote a small patch for app_voicemail.c to support maxmsg=0 and act 
as a "Greetings only" VM in the appropriate case.

Questions:
Is this mailing list the appropriate place to discuss of that feature 
request ?
Does this feature interest someone ? I hope so :) If true, where should 
I send the patch ?

Regards
Florent D.



More information about the asterisk-dev mailing list