Open Source Training Seminar


Not Logged in - No Account?

Don't have an account? Registering an account with us allows you to post to the forums, easily track new posts, subscribe to threads, pm (private message) other forum members, and receive periodic news letters (you can opt out if you desire). Once you are logged in this message will no longer appear. If you don't have an account, you can create one by registering here. Lost your password, request a new password. We respect your privacy which means we collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for full details.


Bad sound quality with IAX2 (remote connection)

fabianus's picture

Hello all !

I did setup an IAX2 extension in Freepbx. The Astersik (Elastix distribution) is on a box that is inside a private network, connected to the internet through an ADSL router. I did put the asterisk server in the DMZ.

Now, when somebody connects to this extension from the internet, everything works fine, there is little delay, and for him (using the extension from the internet), the audio quality is good (using alaw or gsm). BUT : for the other side (for example another extension calling or being called) there are a lot of little "cuts" in the communication. I do not find the correct word in Enghlish, it's like micro cuttings. Hope you see what I mean.

Is there anybody who knows a solution to this ?

Thanks a lot for any help !

Regards,
Fabianus


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Fabianus, Take a look at

jmullinix's picture

Fabianus,

Take a look at your upload bandwidth on your ADSL connection. I suspect that you are maxing out your upload bandwidth, which is why your folks on the other end are hearing jitter and little breaks in the audio. Remember, the audio stream is a file that is being uploaded.


__________________

John Mullinix, Cohutta.Com, Inc.
1-706-632-3343 -- sip://17066323343@qth.cohutta.org
Looking for Dundi peers in Baltimore, MD and Lake Wales, FL USA


Dear John, Thanks for your

fabianus's picture

Dear John,

Thanks for your help.
In fact I am sure that the bandwidth is rather ok (I use gsm codec and have 64 kb free for upload).

What do you think ?

Regards,
Fabianus


If 64 kbits/sec is your max

jmullinix's picture

If 64 kbits/sec is your max upload speed, I think that is the problem. If I am not mistaken, GSM is a compressed codec and while compressed codecs are more efficient users of bandwidth, all of the packets have to make it to the destination or the computer on the other cannot decode the stream.

I think if you had more upload bandwidth available, this would work better. A way to test would be to turn off everything else on the network and make a call and see if that helps. If it does, upload bandwidth is probably the issue. An uncompressed codec would take about 80 kbits/sec to run.


__________________

John Mullinix, Cohutta.Com, Inc.
1-706-632-3343 -- sip://17066323343@qth.cohutta.org
Looking for Dundi peers in Baltimore, MD and Lake Wales, FL USA


Hi John, thanks for your

fabianus's picture

Hi John,

thanks for your additional infos !
It seems that you're right. I will do some more testing and come back to you.

Regards,
Fabianus