[asterisk-bugs] [Asterisk 0013898]: [patch] Limit connect file and others will not play warnings

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Nov 14 01:35:52 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13898 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13898
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 155671 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-13 19:11 CST
Last Modified:              2008-11-14 01:35 CST
====================================================================== 
Summary:                    [patch] Limit connect file and others will not play
warnings
Description: 
LIMIT_CONNECT_FILE
LIMIT_WARNING_FILE
LIMIT_TIMEOUT_FILE

All appear to have corrupt pointers when the time comes to play the file.
They show correctly for the call.

The test macro limits the call to 20 seconds, warning at 15, frequency 10
seconds. (Note to myself, frequency too long!)
====================================================================== 

---------------------------------------------------------------------- 
 (0094886) alecdavis (reporter) - 2008-11-14 01:35
 http://bugs.digium.com/view.php?id=13898#c94886 
---------------------------------------------------------------------- 
Problem was introduced 123648

http://svn.digium.com/view/asterisk?view=rev&revision=123165 looked like
this
var = pbx_builtin_getvar_helper(chan, "LIMIT_WARNING_FILE");
config->warning_sound = S_OR(var, "timeleft");

http://svn.digium.com/view/asterisk?view=rev&revision=123648 it now looks
like this

var = pbx_builtin_getvar_helper(chan, "LIMIT_WARNING_FILE");
config->warning_sound = !ast_strlen_zero(var) ? ast_strdupa(var) :
"timeleft"; 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-14 01:35 alecdavis      Note Added: 0094886                          
======================================================================




More information about the asterisk-bugs mailing list