[asterisk-bugs] [Asterisk 0013176]: AST_CONFIG() doesn't handle correctly, if variable isn't found

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jul 27 16:04:08 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13176 
====================================================================== 
Reported By:                pj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13176
Category:                   Functions/func_config
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!): 133579 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-07-27 15:48 CDT
Last Modified:              2008-07-27 16:04 CDT
====================================================================== 
Summary:                    AST_CONFIG() doesn't handle correctly, if variable
isn't found
Description: 
simple dialplan
  '900' =>          1. Verbose(${AST_CONFIG(uri.txt,uri,test)})    
[pbx_ael]
                    2. Congestion()                              
[pbx_ael]


if variable 'test' doesn't exist in uri.txt file in [uri] section,
asterisk generates weird ERROR in 'utils.c:585 lock_info_destroy'
generated error (or warning) message is dependent from which channel is
called, 
cli log below showing call from skinny and sip phone


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

---------------------------------------------------------------------- 
 (0090747) svnbot (reporter) - 2008-07-27 16:04
 http://bugs.digium.com/view.php?id=13176#c90747 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 134005

_U  trunk/
U   trunk/funcs/func_config.c

------------------------------------------------------------------------
r134005 | russell | 2008-07-27 16:04:06 -0500 (Sun, 27 Jul 2008) | 4 lines

Add a missing unlock within error handling
(closes issue http://bugs.digium.com/view.php?id=13176)
Reported by: pj

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-07-27 16:04 svnbot         Checkin                                      
2008-07-27 16:04 svnbot         Note Added: 0090747                          
======================================================================




More information about the asterisk-bugs mailing list