[asterisk-bugs] [Asterisk 0014056]: [patch] chan_dahdi effectively ignores dahdichanname while looking for a configuration file

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 17 15:13:41 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14056 
====================================================================== 
Reported By:                dsedivec
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14056
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 162868 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-10 16:51 CST
Last Modified:              2009-03-17 15:13 CDT
====================================================================== 
Summary:                    [patch] chan_dahdi effectively ignores dahdichanname
while looking for a configuration file
Description: 
Zaptel-to-DAHDI.txt says:

  The configuration for the channel driver will be read from
  /etc/asterisk/chan_dahdi.conf unless 'dahdichanname' has been set to
  'no' in asterisk.conf; if that is done, then the configuration will
  be read from /etc/asterisk/zapata.conf, just as it was in previous
  versions.

Unfortunately this doesn't seem to work in 1.4.22.  Culprit seems to be a
couple places where dahdi_chan_mode is not dereferenced.  Please see
attached patch.

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

---------------------------------------------------------------------- 
 (0101887) svnbot (reporter) - 2009-03-17 15:13
 http://bugs.digium.com/view.php?id=14056#c101887 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 182652

U   branches/1.4/apps/app_flash.c
U   branches/1.4/channels/chan_dahdi.c

------------------------------------------------------------------------
r182652 | qwell | 2009-03-17 15:13:41 -0500 (Tue, 17 Mar 2009) | 7 lines

Allow dahdichanname to work as advertised.

(closes issue http://bugs.digium.com/view.php?id=14056)
Reported by: dsedivec
Patches:
      load_from_zapata_conf.patch uploaded by dsedivec (license 638)

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-17 15:13 svnbot         Checkin                                      
2009-03-17 15:13 svnbot         Note Added: 0101887                          
======================================================================




More information about the asterisk-bugs mailing list