[asterisk-bugs] [Asterisk 0016118]: G726 is choppy on IAX - 1.6

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 26 09:00:39 CDT 2009


The following issue has been set as RELATED TO issue 0015504. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16118 
====================================================================== 
Reported By:                steinwej
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16118
Category:                   Codecs/codec_g726
Reproducibility:            random
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0.15 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-23 10:07 CDT
Last Modified:              2009-10-26 09:00 CDT
====================================================================== 
Summary:                    G726 is choppy on IAX - 1.6
Description: 
SIP ata <--alaw--> asterisk 1 <---IAX2 g726 ---> asterisk 2 <--alaw --> SIP
ATA

On the iax connection between the two * only g726 has been enabled.

To track this down I have added debug statements in codec_g726.c in the 
<src>to<dest>_framein functions. e.g. in g726tog726aal2_framein I added:
ast_verb(12, "g726tog726aal2_framein\n");

This showed a lot of "g726tog726aal2_framein" on the cli. Why ? Why is
there a g726tog726aal2 translation.

I further disabled those translations, and the problem was gone. Audio was
clear.
/*
	res |= ast_register_translator(&g726aal2tog726);
	res |= ast_register_translator(&g726tog726aal2);
*/

I reenabled it back, but the audio was still clear. Unable to reproduce.

May be there are invalid entries in the translation matrix that caused the
calls to g726aal2tog726.
I have this problem on other 1.6. servers as well. I will disable those
g726aal2tog726 translations and see what happens.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015504 [patch] G726 Codec has choppy audio on ...
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-26 09:00 lmadsen        Relationship added       related to 0015504  
======================================================================




More information about the asterisk-bugs mailing list