[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:43:40 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16359 
====================================================================== 
Reported By:                raarts
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16359
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-12-01 03:53 CST
Last Modified:              2010-02-03 12:43 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.

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

---------------------------------------------------------------------- 
 (0117637) svnbot (reporter) - 2010-02-03 12:43
 https://issues.asterisk.org/view.php?id=16359#c117637 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 244507

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_dahdi.c

------------------------------------------------------------------------
r244507 | tilghman | 2010-02-03 12:43:38 -0600 (Wed, 03 Feb 2010) | 15
lines

Merged revisions 244505 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r244505 | tilghman | 2010-02-03 12:34:29 -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=244507 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-03 12:43 svnbot         Checkin                                      
2010-02-03 12:43 svnbot         Note Added: 0117637                          
======================================================================




More information about the asterisk-bugs mailing list