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

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Nov 6 16:19:22 CDT 2010


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
JIRA:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2008-07-31 00:11 CDT
Last Modified:              2010-11-06 16:19 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...
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0013206 [patch] ztdynamic double buffering on r...
====================================================================== 

---------------------------------------------------------------------- 
 (0128681) sruffell (administrator) - 2010-11-06 16:19
 https://issues.asterisk.org/view.php?id=13205#c128681 
---------------------------------------------------------------------- 
For the casually interested,
0001-dahdi-wip-Fix-dynamic_loc-span-operation-with-DAHDI-.patch is how I
temporarily prevented recursive calls to process_masterspan, but it would
be moot if the local spans never became the master span to begin with. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-06 16:19 sruffell       Note Added: 0128681                          
======================================================================




More information about the asterisk-bugs mailing list