[asterisk-bugs] [Asterisk 0011442]: duplicate values when rewriting templated config files
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed Feb 6 04:10:47 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11442
======================================================================
Reported By: tzafrir
Assigned To: murf
======================================================================
Project: Asterisk
Issue ID: 11442
Category: Core/Configuration
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: 1.4.14
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 12-03-2007 06:02 CST
Last Modified: 02-06-2008 04:10 CST
======================================================================
Summary: duplicate values when rewriting templated config
files
Description:
I'm trying to generate slimmer config files using templates.
I use something of the sort of:
[master-template](!)
mastervar = bar
[template](!,master-template)
tvar = value
[cat](template)
catvar = val
I do not expect full transparent rewrite support of this. I do hope to get
at least some "flattening" of the templates that will preserve the values:
[cat]
mastervar = bar
tvar = value
catvar = val
What I actually get is:
After first save/rewrite:
[master-template](!)
mastervar = bar
[template](!)(master-template)
mastervar = bar
tvar = value
[cat](template)
mastervar = bar
tvar = value
catvar = val
And then after the second time those values get rewritten to the
configuration file by Asterisk, they end up as:
[master-template](!)
mastervar = bar
[template](!)
mastervar = bar
tvar = value
[cat](template)
mastervar = bar
tvar = value
mastervar = bar
tvar = value
catvar = val
======================================================================
----------------------------------------------------------------------
jmls - 02-06-08 04:10
----------------------------------------------------------------------
is this still an issue ?
Issue History
Date Modified Username Field Change
======================================================================
02-06-08 04:10 jmls Note Added: 0081756
======================================================================
More information about the asterisk-bugs
mailing list