[asterisk-bugs] [Asterisk 0016359]: [patch] Only the last setvar is effective for a given channel

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 3 12:34:31 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16359 
====================================================================== 
Reported By:                raarts
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16359
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.6.2.0-rc6 
JIRA:                       SWP-755 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-01 03:53 CST
Last Modified:              2010-02-03 12:34 CST
====================================================================== 
Summary:                    [patch] Only the last setvar is effective for a
given channel
Description: 
Other setvar's are forgotten. This is because the code in mkintf() assumes
that the vars pointer only points to one variable strust, where in fact it
can point to a whole list of them.

One line patch attached.

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

---------------------------------------------------------------------- 
 (0117632) svnbot (reporter) - 2010-02-03 12:34
 https://issues.asterisk.org/view.php?id=16359#c117632 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 244505

U   trunk/channels/chan_dahdi.c

------------------------------------------------------------------------
r244505 | tilghman | 2010-02-03 12:34:30 -0600 (Wed, 03 Feb 2010) | 8
lines

The chanvar= setting should inherit the entire list of variables, not just
the first one.

(closes issue https://issues.asterisk.org/view.php?id=16359)
 Reported by: raarts
 Patches: 
       dahdi-setvars.diff uploaded by raarts (license 937)
 Tested by: raarts

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-03 12:34 svnbot         Note Added: 0117632                          
======================================================================




More information about the asterisk-bugs mailing list