[asterisk-bugs] [Asterisk 0012673]: Setting same variable in call file multiple times only uses the value in first "Set" line

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jun 18 15:17:34 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12673 
====================================================================== 
Reported By:                phber
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   12673
Category:                   Core/PBX
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.17 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-17-2008 07:53 CDT
Last Modified:              06-18-2008 15:17 CDT
====================================================================== 
Summary:                    Setting same variable in call file multiple times
only uses the value in first "Set" line
Description: 
Using multiple "Set" line to set the same variable in a call file only
passes the value in the first "Set" line, and ignore the values in the
latter "Set" lines.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-18-08 15:17  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 123715

_U  trunk/
U   trunk/pbx/pbx_spool.c

------------------------------------------------------------------------
r123715 | tilghman | 2008-06-18 15:17:26 -0500 (Wed, 18 Jun 2008) | 15
lines

Merged revisions 123710 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r123710 | tilghman | 2008-06-18 15:22:42 -0500 (Wed, 18 Jun 2008) | 7
lines

Set the variables top-down, so that if a script sets a variable more than
once,
the last one will take precedence.
(closes issue http://bugs.digium.com/view.php?id=12673)
 Reported by: phber
 Patches: 
       20080519__bug12673.diff.txt uploaded by Corydon76 (license 14)

........

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-18-08 15:17  svnbot         Checkin                                      
06-18-08 15:17  svnbot         Note Added: 0088879                          
======================================================================




More information about the asterisk-bugs mailing list