Summary:ASTERISK-15024: G726 is choppy on IAX - 1.6
Reporter:Johann Steinwendtner (steinwej)Labels:
Date Opened:2009-10-23 10:07:28Date Closed:2009-11-11 08:26:38.000-0600
Versions:Frequency of
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.


I think this problem is related to ASTERISK-14468. But as this happens on IAX, tilghman suggested to open a new issue.duc
Comments:By: Leif Madsen (lmadsen) 2009-11-11 08:26:38.000-0600

Closed per Johann Steinwendtner on the asterisk-dev mailing list.