Alexey Ostrovsky
2004-May-24 06:27 UTC
[Asterisk-Users] Help with IAX , voice Distortion or Breakage.
Hello all, We have the following problem: When calling via iax, the sound is off after a while - most often after about 5 minutes (sometimes later or earlier) - at one end or at both ends. While the channel is up, and packages are still being transmitted, you just can't hear anything. Sometimes you can hear something just a little, but with the voice greatly distorted, sounding like a robot's voice. This problem emerges whichever phone is called or whichever phone a call is made from (softphone, ipphone, local phones thru TDM cards) System details: - Linux Slackware 9.1 kernel 2.4.6 - CPU PIII 800 - RAM 500 Mb - motherboard Asus TUSL-2c - hard drive IDE - Asterisk last cvs update - 3 TDM400 cards - codec g729 voiceage Help please. May be somebody have same problem. Thank you. -- Best regards, Alexey Ostrovsky Sysadmin Ionidea UA
Steven Critchfield
2004-May-24 06:38 UTC
[Asterisk-Users] Help with IAX , voice Distortion or Breakage.
On Mon, 2004-05-24 at 08:27, Alexey Ostrovsky wrote:> Hello all, > > We have the following problem: > > When calling via iax, the sound is off after a while - most often after > about 5 minutes (sometimes later or earlier) - at one end or at both > ends. While the channel is up, and packages are still being transmitted, > you just can't hear anything. Sometimes you can hear something just a > little, but with the voice greatly distorted, sounding like a robot's > voice. > This problem emerges whichever phone is called or whichever phone a call > is made from (softphone, ipphone, local phones thru TDM cards) > > System details: > > - Linux Slackware 9.1 kernel 2.4.6 > - CPU PIII 800 > - RAM 500 MbA sysadmin that is so inaccurate as to say 500Mb instead of the obvious 512 Mb?> - motherboard Asus TUSL-2c > - hard drive IDE > > - Asterisk last cvs update > - 3 TDM400 cards > - codec g729 voiceage > > Help please. > May be somebody have same problem.Can you verify you are using g729. Also what kind of network are you doing the IAX call over? What else is on the network at the time of the call. Most of what you say sounds a lot like you are running short of bandwidth. Sounds like the classic problem of running out of the buffered content and decoding what you have when you get it. -- Steven Critchfield <critch@basesys.com>
Rich Adamson
2004-May-24 08:29 UTC
[Asterisk-Users] Help with IAX , voice Distortion or Breakage.
> We have the following problem: > > When calling via iax, the sound is off after a while - most often after > about 5 minutes (sometimes later or earlier) - at one end or at both > ends. While the channel is up, and packages are still being transmitted, > you just can't hear anything. Sometimes you can hear something just a > little, but with the voice greatly distorted, sounding like a robot's > voice. > This problem emerges whichever phone is called or whichever phone a call > is made from (softphone, ipphone, local phones thru TDM cards)Without more technical data, its hard to guess. Might consider... 1. if you're using cisco phones, upgrade * to current Head or Stable on "both" ends of the iax link. The Stable code was just fixed on Friday. (There could be other phones/adapters that are impacted by the iax/gsm timestamp problems.) I've also noticed a fair number of other fixes that were just recently applied to Head. 2. if not cisco phones, check the config's on whatever phone you're using to ensure "transmit silence" is enabled. If you are using the xten soft phone, the parameter is in the Advanced Settings area. 3. Check to ensure all ethernet nic adapters (and associated switch ports) are running in full-duplex mode, etc. 4. If none of the above apply, it would be helpful to see a packet trace (using ethereal) at about the time the distorting/failure is occurring.
Alexey Ostrovsky
2004-May-27 08:59 UTC
[Asterisk-Users] Help with IAX , voice Distortion or Breakage.
Alexey Ostrovsky wrote:> Hello all, > > We have the following problem: > > When calling via iax, the sound is off after a while - most often > after about 5 minutes (sometimes later or earlier) - at one end or at > both ends. While the channel is up, and packages are still being > transmitted, you just can't hear anything. Sometimes you can hear > something just a little, but with the voice greatly distorted, > sounding like a robot's voice. > This problem emerges whichever phone is called or whichever phone a > call is made from (softphone, ipphone, local phones thru TDM cards) > > System details: > > - Linux Slackware 9.1 kernel 2.4.6 > - CPU PIII 800 > - RAM 500 Mb > - motherboard Asus TUSL-2c > - hard drive IDE > > - Asterisk last cvs update > - 3 TDM400 cards - codec g729 voiceage > > Help please. > May be somebody have same problem. > > Thank you. >Some more information about that problem. Our system was tested with various codecs and protocols. The results are as follows: All calls one after another between two asterisk system (one in UA another in US). IAX2/ulaw - 5 calls 20-25 min duration ---- All OK IAX2/gsm - after 10 min - one-way audio - channels up 30 min - OK 5 min - one-way audio - channels up 20 min - one-way audio - channels up 55 min - one-way audio - channels up 30 min - OK IAX2/g729 3 min - one-way audio - channels up 15 min - one-way audio - channels up 65 min - one-way audio - channels up 30 min - OK 50 min - OK IAX/ilbc 30 min - OK 35 min - OK 10 min - noise 30 min - OK 30 min - OK SIP/gsm 30 min - OK 30 min - OK 10 min - one-way audio - channels up 30 min - OK 7 min - one-way audio - channels up SIP/g729 30 min - one-way audio - channels up 25 min - OK 10 min - one-way audio - channels up 30 min - OK 12 min - one-way audio - channels up So, as you see in my case ulaw is better than others. But it is too much for my net link. I have 256 kbit DSL now. For now I am using ilbc fore iax2. It doesn't have a "one-way audio" problem (for now) on our system. May be this will help to understand what is wrong. Thanking you in advance, -- Best regards, Alexey Ostrovsky