[asterisk-bugs] [Asterisk 0014132]: [patch] autosupport script not 100% ready for DAHDI

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 14 15:00:23 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14132 
====================================================================== 
Reported By:                dsedivec
Assigned To:                seanbright
====================================================================== 
Project:                    Asterisk
Issue ID:                   14132
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.22 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 166662 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-12-23 11:06 CST
Last Modified:              2009-01-14 15:00 CST
====================================================================== 
Summary:                    [patch] autosupport script not 100% ready for DAHDI
Description: 
Per Digium support I was asked to run the autosupport script
(contrib/scripts/autosupport) on my Asterisk system.  That system is
running Asterisk 1.4.22 with the new DAHDI drivers.  The autosupport script
in 1.4:

 * Only checks for the Zaptel kernel modules, not the DAHDI kernel
modules
 * Only runs zttest, not dahdi_test
 * Doesn't bother to output the contents of /etc/dahdi/system.conf (though
it does output /etc/asterisk/chan_dahdi.conf)

In addition it looks like the autosupport script in trunk still wants to
run zttest.  I believe "Zaptel" is entirely unsupported in 1.6, so I think
autosupport in trunk should probably call dahdi_test, not zttest.

Patches to follow.  (SVN branch/revision specified on this ticket is for
the first patch against the 1.4 branch, though I'll also be attaching a
patch against trunk.)
====================================================================== 

---------------------------------------------------------------------- 
 (0097820) svnbot (reporter) - 2009-01-14 15:00
 http://bugs.digium.com/view.php?id=14132#c97820 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 168618

_U  branches/1.6.1/
U   branches/1.6.1/contrib/scripts/autosupport

------------------------------------------------------------------------
r168618 | seanbright | 2009-01-14 15:00:23 -0600 (Wed, 14 Jan 2009) | 23
lines

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

................
  r168615 | seanbright | 2009-01-14 15:58:26 -0500 (Wed, 14 Jan 2009) | 16
lines
  
  Merged revisions 168614 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r168614 | seanbright | 2009-01-14 15:52:00 -0500 (Wed, 14 Jan 2009) |
9 lines
    
    Update autosupport script to supply info for both Zaptel and DAHDI in
1.4 and
    be sure to run dahdi_test in 1.6.x and trunk instead of zttest.
    
    (closes issue http://bugs.digium.com/view.php?id=14132)
    Reported by: dsedivec
    Patches:
          asterisk-1.4-autosupport.patch uploaded by dsedivec (license
638)
          asterisk-trunk-autosupport.patch uploaded by dsedivec (license
638)
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-14 15:00 svnbot         Checkin                                      
2009-01-14 15:00 svnbot         Note Added: 0097820                          
======================================================================




More information about the asterisk-bugs mailing list