[asterisk-bugs] [Asterisk 0016230]: [patch] g726 to g726aal2 translation and cost-calculation are wrong but easily fixed.

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 26 04:20:35 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16230 
====================================================================== 
Reported By:                jonconsi
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16230
Category:                   Codecs/codec_g726
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     confirmed
Asterisk Version:           SVN 
JIRA:                       SWP-787 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 229607 
Request Review:              
====================================================================== 
Date Submitted:             2009-11-12 07:09 CST
Last Modified:              2010-01-26 04:20 CST
====================================================================== 
Summary:                    [patch] g726 to g726aal2 translation and
cost-calculation are wrong but easily fixed.
Description: 
As detailed in Issue 15504, sometimes Asterisk incorrectly calculates that
it is lower-cost to go from g726->g726AAL2->linear instead of directly from
g726->linear. This exposed a bug in the g726->g726AAL2 (or vice-versa)
translation, which is a simple nybble re-ordering. This bug gives rise to
badly distorted and choppy audio.

The fix given in 15504 was to delete the g726->g726AAL2 translation but
this is unneccessary.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015504 [patch] G726 Codec has choppy audio on ...
====================================================================== 

---------------------------------------------------------------------- 
 (0117177) jonconsi (reporter) - 2010-01-26 04:20
 https://issues.asterisk.org/view.php?id=16230#c117177 
---------------------------------------------------------------------- 
I've uploaded a patch for 1.6.2. However, I do not have a 1.6.2 build
environment, so if someone else could test it that would be much
appreciated. I kept the 1.6.2 header names - that's the bit I'm not sure
about. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-26 04:20 jonconsi       Note Added: 0117177                          
======================================================================




More information about the asterisk-bugs mailing list