Posted: Wed May 13, 2009 9:50 am Post subject: [asterisk-dev] Voicemail "greetings only" feature
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.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
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 ?
This is the appropriate place to discuss development of a patch. You should first open an issue on issues.asterisk.org and attach the patch there. You'll need to sign the contributor license agreement before anybody can look at your patch. Also remember that the patch needs to be made against truck All of this information and more resides here:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum