|Summary:||ASTERISK-19520: Call IAX2 - PRI strong distortion when using 16kHz speex|
|Reporter:||Tyuta Vitalii (zeratyl)||Labels:|
|Date Opened:||2012-03-13 05:28:58||Date Closed:||2012-04-02 10:45:55|
|Environment:||Attachments:||( 0) issue_19520_full_log.zip|
|Description:||There are two integrated channels Asterisk IAX2, let's call them A1 and A2. By A1 connected to the flow of charge through the E1 TE121B, Panasonic KX-TDA200. Calls A1 - Panasonic KX-TDA200 in both directions with good quality voice calls with A2 - Panasonic KX-TDA200 severe distortion.|
|Comments:||By: Michael L. Young (elguero) 2012-03-13 09:29:38.788-0500|
You don't state what version you are using of Asterisk. There was a recent bug fix for IAX2. Take a look at ASTERISK-16258 and go to the last comment.
By: Matt Jordan (mjordan) 2012-03-13 10:47:57.517-0500
Please fill in the version of Asterisk. If the patch Michael recommended does not resolve this issue, please attach a DEBUG log with IAX debug turned on.
By: Tyuta Vitalii (zeratyl) 2012-03-13 14:04:50.657-0500
A1 - Asterisk 18.104.22.168
A2 - Asterisk 22.214.171.124
Between A1 and A2 IAX2 channel
A1 is connected via E1 with Panasonic KX-TDA200
Between A1 and A2 good quality voice calls
Between A1 and Panasonic KX-TDA200 good quality voice calls
Between A2 and Panasonic KX-TDA200 severe distortion
I think the patch does not solve the problem. Try to attach a debug tomorrow.
By: Tyuta Vitalii (zeratyl) 2012-03-14 09:29:44.440-0500
Log in attach.
By: Kris Shaw (shawkris) 2012-03-16 13:22:33.169-0500
If it's not already on, try enabling trunk timestamps:
Without this you can get jittery sounding audio.
By: Tyuta Vitalii (zeratyl) 2012-03-19 07:17:39.012-0500
It did not help. 10 seconds, the sound is normal, then start severe distortion.
By: Matt Jordan (mjordan) 2012-03-23 10:42:00.031-0500
Can you test what occurs if you use a non-16kHz codec between the two IAX endpoints, e.g.,
If that doesn't resolve it either, I'm curious what occurs if you only try alaw.
By: Tyuta Vitalii (zeratyl) 2012-03-26 04:16:56.254-0500
Only using the codec alaw problem was solved. But of course I would like to use a speex (speex16).
By: Matt Jordan (mjordan) 2012-04-02 10:44:55.904-0500
There-in lies your problem.
While chan_iax does support speex, it only supports it at 8kHz. It is not capable of supporting the wideband version of speex. I imagine if you configure speex to operate at 8kHz, this problem shouldn't exist.
By: Matt Jordan (mjordan) 2012-04-02 10:45:55.353-0500
Closing this as "Not a Bug", as chan_iax does not support wideband audio. If this problem persists when using narrowband speex (8kHz), please contact a bug marshal in #asterisk-bugs and we will be happy to reopen this issue.