[asterisk-bugs] [DAHDI-linux 0013206]: [patch] ztdynamic double buffering on rx, statistics

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 24 02:06:39 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13206 
====================================================================== 
Reported By:                biohumanoid
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   13206
Category:                   dahdi_dynamic
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2008-07-31 00:28 CDT
Last Modified:              2008-09-24 02:06 CDT
====================================================================== 
Summary:                    [patch] ztdynamic double buffering on rx, statistics
Description: 
In current implementation:
1. If we have more than one TDMoE device, we'll have a slip/skip. 2 TDMoE
devices can have phase jitter.
2. We have no statistics (which is necessary).
3. ztdynamic can't be a master for zaptel (but why not ?)
====================================================================== 

---------------------------------------------------------------------- 
 (0092817) biohumanoid (reporter) - 2008-09-24 02:06
 http://bugs.digium.com/view.php?id=13206#c92817 
---------------------------------------------------------------------- 
Here is a patched for dahdi.
dahdi_dynamic.c.patch:
 Implemented double buffering on rx.                                      
   
 Implemented procfs statistics.                                           
   
 fixed deadlock in dynamic_destroy called with spinlock.

dahdi_dynamic.c.printk.patch:
 printk -> module_printk

Running 2 PC's(synced from RTC) connected by TDMoE will show the problem
(slip counter will grow...) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-24 02:06 biohumanoid    Note Added: 0092817                          
======================================================================




More information about the asterisk-bugs mailing list