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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 25 01:16:26 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13205 
====================================================================== 
Reported By:                biohumanoid
Assigned To:                kpfleming
====================================================================== 
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:              2008-12-25 01:16 CST
====================================================================== 
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...
====================================================================== 

---------------------------------------------------------------------- 
 (0096941) biohumanoid (reporter) - 2008-12-25 01:16
 http://bugs.digium.com/view.php?id=13205#c96941 
---------------------------------------------------------------------- 
Yes, I aggree that prefmaster is a silly concept.
I aggree that dahdi-base (and my patch) ignore timing field (and that's
sucks).

I've implemented a work-around with as small patch as possible to make it
working. Not more.
That was done for 2 reasons:
1. I need a working dahdy_dynamic (in current release it's not usable).
2. Even this small patch not included/tested. 
So I'll have to make and maintain my own bundle (as I made with zaptel).

But I really hope, It will be fixed :-) sometime... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-25 01:16 biohumanoid    Note Added: 0096941                          
======================================================================




More information about the asterisk-bugs mailing list