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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 14 17:16:01 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15132 
====================================================================== 
Reported By:                floletarmo
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15132
Category:                   Applications/app_voicemail/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Target Version:             1.8
Asterisk Version:           SVN 
JIRA:                       SWP-412 
Regression:                 No 
Reviewboard Link:            
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-12-14 17:16 CST
====================================================================== 
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 :)
====================================================================== 

---------------------------------------------------------------------- 
 (0115234) svnbot (reporter) - 2009-12-14 17:16
 https://issues.asterisk.org/view.php?id=15132#c115234 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 234820

U   trunk/CHANGES
U   trunk/apps/app_voicemail.c
U   trunk/configs/voicemail.conf.sample

------------------------------------------------------------------------
r234820 | tilghman | 2009-12-14 17:16:00 -0600 (Mon, 14 Dec 2009) | 7
lines

Allow greetings-only mailboxes for Voicemail.
(closes issue https://issues.asterisk.org/view.php?id=15132)
 Reported by: floletarmo
 Patches: 
       voicemail_changes.patch uploaded by floletarmo (license 784)
       (with some additional changes by me)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=234820 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-14 17:16 svnbot         Checkin                                      
2009-12-14 17:16 svnbot         Note Added: 0115234                          
======================================================================




More information about the asterisk-bugs mailing list