[asterisk-bugs] [DAHDI-linux 0013205]: [patch] bad master selection

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jun 23 18:45:17 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=13205 
====================================================================== 
Reported By:                biohumanoid
Assigned To:                sruffell
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   13205
Category:                   dahdi (the module)
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2008-07-31 00:11 CDT
Last Modified:              2009-06-23 18:45 CDT
====================================================================== 
Summary:                    [patch] bad master selection
Description: 
Current dahdi master handling work in the following way:
The first SPAN become a master
If a new registered !!! SPAN is preferred , it is the new master
If a span is unregistered - the new master is the first available span
If master SPAN is in alarm state - the new master is the first non in
alarm state SPAN

So
1. dahdi-dummy once loaded will be the master forever.
2. even not-running SPAN can be a master
3. master implementation is ugly...
====================================================================== 

---------------------------------------------------------------------- 
 (0106885) svnbot (reporter) - 2009-06-23 18:45
 https://issues.asterisk.org/view.php?id=13205#c106885 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 6708

U   tools/trunk/dahdi.init

------------------------------------------------------------------------
r6708 | sruffell | 2009-06-23 18:45:16 -0500 (Tue, 23 Jun 2009) | 11 lines

dahdi.init: Define a default span configuration for digital cards.

If there is a digital card in the system, and there is not a span
configuration line in /etc/dahdi/system.conf, the init script will now
create
a temporary default one to use.  On some installations, this will allow
asterisk to start before dahdi is fully configured.

This a temporary measure until DAHDI is always able to provide a timing
source.

(related to issue https://issues.asterisk.org/view.php?id=13205)
------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=6708 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-23 18:45 svnbot         Note Added: 0106885                          
======================================================================




More information about the asterisk-bugs mailing list