[asterisk-bugs] [Asterisk 0012064]: [patch] extconfig.conf does not allow #exec

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Feb 25 14:46:05 CST 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12064 
====================================================================== 
Reported By:                jmls
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   12064
Category:                   PBX/pbx_config
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 104037 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-25-2008 11:57 CST
Last Modified:              02-25-2008 14:46 CST
====================================================================== 
Summary:                    [patch] extconfig.conf does not allow #exec
Description: 
for some reason, during the merge of http://bugs.digium.com/view.php?id=3406,
the usage of #exec in
extconfig.conf was not allowed.

Patch attached to correct this
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 02-25-08 14:46  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 104092

U   branches/1.4/main/config.c

------------------------------------------------------------------------
r104092 | qwell | 2008-02-25 14:46:03 -0600 (Mon, 25 Feb 2008) | 11 lines

Allow the use of #include and #exec in situations where the max include
depth was only 1.
Specifically, this fixes using #include and #exec in extconfig.conf.

This was basically caused because the config file itself raises the
include level to 1.

I opted not to raise the include limit, because recursion here could cause
very bizarre behavior.

Pointed out, and tested by jmls

(closes issue http://bugs.digium.com/view.php?id=12064)

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-25-08 14:46  svnbot         Checkin                                      
02-25-08 14:46  svnbot         Note Added: 0082891                          
02-25-08 14:46  svnbot         Status                   new => assigned     
02-25-08 14:46  svnbot         Assigned To               => qwell           
======================================================================




More information about the asterisk-bugs mailing list