[asterisk-bugs] [Asterisk 0015331]: Log message does not match conditional check

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jun 15 15:03:16 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15331 
====================================================================== 
Reported By:                markd
Assigned To:                dbrooks
====================================================================== 
Project:                    Asterisk
Issue ID:                   15331
Category:                   Applications/app_voicemail
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.25 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-15 07:48 CDT
Last Modified:              2009-06-15 15:03 CDT
====================================================================== 
Summary:                    Log message does not match conditional check
Description: 
I beleive the following lines to be incorrect.  The comparitor should be
">=" and not "<=" or the log message should be reworded.

if (maxsilence <= vmminsecs)
      ast_log(AST_LOG_WARNING, "maxsilence should be less than minmessage
or you may get empty messages\n");

====================================================================== 

---------------------------------------------------------------------- 
 (0106414) dbrooks (manager) - 2009-06-15 15:03
 https://issues.asterisk.org/view.php?id=15331#c106414 
---------------------------------------------------------------------- 
In testing minmessage/minsecs vs maxsilence, I think there is more than one
issue here. Looking into it. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-15 15:03 dbrooks        Note Added: 0106414                          
======================================================================




More information about the asterisk-bugs mailing list