[asterisk-bugs] [Asterisk 0002264]: [patch] Empty messages should not result in a voicemail

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Jun 27 05:04:53 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=2264 
====================================================================== 
Reported By:                pfn
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   2264
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           I did not set the version :( 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2004-08-17 22:33 CDT
Last Modified:              2009-06-27 05:04 CDT
====================================================================== 
Summary:                    [patch] Empty messages should not result in a
voicemail
Description: 
When a message consists of all silence a message file is still stored on
the server and a notice is sent to the user.  This is a very annoying
behavior to check voicemail and see that there is no actual message.

Included is a patch that changes the default value for vmminmessage to 1,
stores the cumulative silence value and compares the length of the message
vs. silence detected.  If the difference is greater than 0, it's a message,
otherwise, discard it.

Even with this patch, some silent messages can potentially make it
through, due to the 1 second granularity of measuring message length.
====================================================================== 

---------------------------------------------------------------------- 
 (0107098) svnbot (reporter) - 2009-06-27 05:04
 https://issues.asterisk.org/view.php?id=2264#c107098 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 203962

U   trunk/main/app.c

------------------------------------------------------------------------
r203962 | russell | 2009-06-27 05:04:52 -0500 (Sat, 27 Jun 2009) | 8 lines

Only update total silence counter after a counter reset.

(closes issue https://issues.asterisk.org/view.php?id=2264)
Reported by: pfn
Patches:
      silent-vm-1.6.2-fix2.txt uploaded by pfn (license 810)
Tested by: pfn

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-27 05:04 svnbot         Checkin                                      
2009-06-27 05:04 svnbot         Note Added: 0107098                          
======================================================================




More information about the asterisk-bugs mailing list