[asterisk-bugs] [Asterisk 0015132]: [patch] Voicemail "greetings only" feature

Asterisk Bug Tracker noreply at bugs.digium.com
Sat May 16 18:16:38 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15132 
====================================================================== 
Reported By:                floletarmo
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15132
Category:                   Applications/app_voicemail/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 195018 
Request Review:              
====================================================================== 
Date Submitted:             2009-05-16 18:15 CDT
Last Modified:              2009-05-16 18:16 CDT
====================================================================== 
Summary:                    [patch] Voicemail "greetings only" feature
Description: 
The expected behaviour of a "Greetings only" Voicemail 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. I hope you will find
this feature interesting :)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-16 18:16 floletarmo     Summary                  Voicemail "greetings
only" feature => [patch] Voicemail "greetings only" feature
======================================================================




More information about the asterisk-bugs mailing list