[asterisk-bugs] [DAHDI-linux 0016165]: Native bridging from a span that isn't the master span can cause data corruption.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 2 13:28:43 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16165 
====================================================================== 
Reported By:                sruffell
Assigned To:                sruffell
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   16165
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
JIRA:                        
Reviewboard Link:            
====================================================================== 
Date Submitted:             2009-11-02 11:29 CST
Last Modified:              2011-02-02 13:28 CST
====================================================================== 
Summary:                    Native bridging from a span that isn't the master
span can cause data corruption.
Description: 
If you configure two spans in your system, and setup a native bridge with
the span that isn't the master, it's possible for repeated/missing "chunks"
to appear in the bridged data stream.  This appears due to the master span
processing taking place asynchronously with the audio received on the the
span that you're actually interested in recording from.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016996 Audio problems in Meetme when DAHDI cha...
====================================================================== 

---------------------------------------------------------------------- 
 (0131406) svnbot (reporter) - 2011-02-02 13:28
 https://issues.asterisk.org/view.php?id=16165#c131406 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 9729

U   linux/trunk/drivers/dahdi/dahdi-base.c

------------------------------------------------------------------------
r9729 | sruffell | 2011-02-02 13:28:41 -0600 (Wed, 02 Feb 2011) | 16 lines

dahdi: Analog spans do not have to be marked RUNNING to become master.

Fixes a regression introduced in r9611. Analog spans would never become
the master since the SPANSTART ioctl is not typically called on them,
and therefore they were never marked RUNNING.  The result could be audio
problems.

I'm marking this as related to issue 13205 since it's generally all
related to how should the drivers select which span is the master.  I
also mark as related to issue 16165 because the problems experienced are
a result of the same fundamental issue.

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

Reported-and-Tested-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
------------------------------------------------------------------------

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-02 13:28 svnbot         Checkin                                      
2011-02-02 13:28 svnbot         Note Added: 0131406                          
======================================================================




More information about the asterisk-bugs mailing list