[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
Sat May 17 10:28:30 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12673 
====================================================================== 
Reported By:                phber
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12673
Category:                   Core/PBX
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             05-17-2008 07:53 CDT
Last Modified:              05-17-2008 10:28 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.
====================================================================== 

---------------------------------------------------------------------- 
 phber - 05-17-08 10:28  
---------------------------------------------------------------------- 
I would guess the spool file could be more consistent since if I do the
following:

Channel: Local/10 at local1/n
WaitTime: 60
RetryTime: 5
MaxRetries: 1
Context: local2
Extension: 20
Extension: 50
Priority: 1

The last specified extension is the actual one that will be used.

Channel: Local/10 at local1/n
Channel: Local/50 at local1/n
WaitTime: 60
RetryTime: 5
MaxRetries: 1
Context: local2
Extension: 20
Priority: 1

The last channel specified is the one that is actually used. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-17-08 10:28  phber          Note Added: 0086977                          
======================================================================




More information about the asterisk-bugs mailing list