Hello, I have setup two * servers and they are communicating using IAX. I'm passing calls from SRV A (internet connection T1) to SRV B (internet connection: 512). For some reasons I have an issue with the quality. The voice is a bit scratchy. I have tried iLBC and SPEEX, but it didn't make any difference. Now, assuming that I have an issue with Bandwidth, what would be the best way to configure my iax.conf. (A bit confused about jitterbuffer and tos) Here is my iax.conf @ location A: [general] port=4569 bandwidth=low disallow=all allow=ilbc ;allow=ulaw ;allow=speex jitterbuffer=200 jitterbuffer=yes tos=lowdelay and iax.conf @ location B: [general] port=4569 bandwidth=low disallow=all allow=ilbc ;allow=ulaw ;allow=speex jitterbuffer=200 jitterbuffer=yes tos=lowdelay [guest] type=user context=default callerid="Guest IAX User" disallow=all allow=ilbc Thanks guys
david@ccds.ca wrote:>Hello, > >I have setup two * servers and they are communicating using IAX. I'm >passing calls from SRV A (internet connection T1) to SRV B (internet >connection: 512). > >For some reasons I have an issue with the quality. The voice is a bit >scratchy. I have tried iLBC and SPEEX, but it didn't make any difference. > >Now, assuming that I have an issue with Bandwidth, what would be the best >way to configure my iax.conf. (A bit confused about jitterbuffer and tos) > >Here is my iax.conf @ location A: > >[general] >port=4569 >bandwidth=low >disallow=all >allow=ilbc >;allow=ulaw >;allow=speex >jitterbuffer=200 >jitterbuffer=yes >tos=lowdelay > >and iax.conf @ location B: > >[general] >port=4569 >bandwidth=low >disallow=all >allow=ilbc >;allow=ulaw >;allow=speex >jitterbuffer=200 >jitterbuffer=yes >tos=lowdelay > >[guest] >type=user >context=default >callerid="Guest IAX User" >disallow=all >allow=ilbc > > >Thanks guys > >Have you tried ulaw yet? With 512 and a t1, you have more than enough bandwidth for a few streams with that codec. One wouldn't be a problem. Also, check to make sure the entire path is a single codec, I have run into an issue before ( when I first started playing with * as a matter of fact ), where I was going from gsm, to ulaw to alaw ( long story ) back to gsm. Voice quality sucked, obviously, because I was doing all sorts of conversions. Keep yourself to a single codec, preferrably ulaw/alaw, and you should be fine. Also check for iax timing, that could cause issues as well. TOS is a quality of service bit on the packets in the stream, they don't do anything by themselves. Instead, any switches/routers than understand it will push those packets to their appropriate position in the queue based on the TOS value. I'm not entirely clear on what jitter is either, but it's never been important enough for me to go digging. Anybody have any insight here? Sean
Hello David, Bad voice quality may be caused by many reasons. I suggest you test the two servers separately first. Monitor CPU load during calls in each server and verify if the communication devices used by asterisk (voice boards, network interfaces ... ) don't share interruptions. In iax.conf try to replace the two lines jitterbuffer=200 jitterbuffer=yes with the six following jitterbuffer=yes dropcount=2 maxjitterbuffer=500 maxexcessbuffer=80 minexcessbuffer=10 jittershrinkrate=1 You may also want to take a look at http://www.voip-info.org/wiki-QoS Regards Lamine ----- Original Message ----- From: <david@ccds.ca> To: <asterisk-users@lists.digium.com> Sent: Tuesday, May 03, 2005 2:51 PM Subject: [Asterisk-Users] Voice Quality> Hello, > > I have setup two * servers and they are communicating using IAX. I'm > passing calls from SRV A (internet connection T1) to SRV B (internet > connection: 512). > > For some reasons I have an issue with the quality. The voice is a bit > scratchy. I have tried iLBC and SPEEX, but it didn't make any difference. > > Now, assuming that I have an issue with Bandwidth, what would be the best > way to configure my iax.conf. (A bit confused about jitterbuffer and tos) > > Here is my iax.conf @ location A: > > [general] > port=4569 > bandwidth=low > disallow=all > allow=ilbc > ;allow=ulaw > ;allow=speex > jitterbuffer=200 > jitterbuffer=yes > tos=lowdelay > > and iax.conf @ location B: > > [general] > port=4569 > bandwidth=low > disallow=all > allow=ilbc > ;allow=ulaw > ;allow=speex > jitterbuffer=200 > jitterbuffer=yes > tos=lowdelay > > [guest] > type=user > context=default > callerid="Guest IAX User" > disallow=all > allow=ilbc > > > Thanks guys > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
David: Bandwidth may be an issue; however, do you have any timing devices installed? Digium's hardware (or any generic knockoffs) will provide this. There are also some other ways, such as ztdummy or a usb controller (haven't used either of these, so I don't know any specifics. Check the Wiki). -Andy On 5/3/05, david@ccds.ca <david@ccds.ca> wrote:> Hello, > > I have setup two * servers and they are communicating using IAX. I'm > passing calls from SRV A (internet connection T1) to SRV B (internet > connection: 512). > > For some reasons I have an issue with the quality. The voice is a bit > scratchy. I have tried iLBC and SPEEX, but it didn't make any difference. > > Now, assuming that I have an issue with Bandwidth, what would be the best > way to configure my iax.conf. (A bit confused about jitterbuffer and tos) > > Here is my iax.conf @ location A: > > [general] > port=4569 > bandwidth=low > disallow=all > allow=ilbc > ;allow=ulaw > ;allow=speex > jitterbuffer=200 > jitterbuffer=yes > tos=lowdelay > > and iax.conf @ location B: > > [general] > port=4569 > bandwidth=low > disallow=all > allow=ilbc > ;allow=ulaw > ;allow=speex > jitterbuffer=200 > jitterbuffer=yes > tos=lowdelay > > [guest] > type=user > context=default > callerid="Guest IAX User" > disallow=all > allow=ilbc > > Thanks guys > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
allow=ulaw or allow=gsm is all you need at both locations. On 5/3/05, david@ccds.ca <david@ccds.ca> wrote:> Hello, > > I have setup two * servers and they are communicating using IAX. I'm > passing calls from SRV A (internet connection T1) to SRV B (internet > connection: 512). > > For some reasons I have an issue with the quality. The voice is a bit > scratchy. I have tried iLBC and SPEEX, but it didn't make any difference. > > Now, assuming that I have an issue with Bandwidth, what would be the best > way to configure my iax.conf. (A bit confused about jitterbuffer and tos) > > Here is my iax.conf @ location A: > > [general] > port=4569 > bandwidth=low > disallow=all > allow=ilbc > ;allow=ulaw > ;allow=speex > jitterbuffer=200 > jitterbuffer=yes > tos=lowdelay > > and iax.conf @ location B: > > [general] > port=4569 > bandwidth=low > disallow=all > allow=ilbc > ;allow=ulaw > ;allow=speex > jitterbuffer=200 > jitterbuffer=yes > tos=lowdelay > > [guest] > type=user > context=default > callerid="Guest IAX User" > disallow=all > allow=ilbc > > Thanks guys > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- <sig> Andrew Latham - AKA: LATHAMA (lay-th-ham-eh) WWW: http://lathama.com Email: lathama@lathama.com - lathama@yahoo.com - lathama@gmail.com If any of the above are down we have bigger problems than my email! </sig>
I would use g.729, and if this is an issue, GSM. Setup trunking between both IAX peers so that you can save a lot of bandwidth.> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of david@ccds.ca > Sent: Wednesday, 4 May 2005 00:52 > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] Voice Quality > > Hello, > > I have setup two * servers and they are communicating using IAX. I'm > passing calls from SRV A (internet connection T1) to SRV B (internet > connection: 512). > > For some reasons I have an issue with the quality. The voice is a bit > scratchy. I have tried iLBC and SPEEX, but it didn't make anydifference.> > Now, assuming that I have an issue with Bandwidth, what would be thebest> way to configure my iax.conf. (A bit confused about jitterbuffer andtos)> > Here is my iax.conf @ location A: > > [general] > port=4569 > bandwidth=low > disallow=all > allow=ilbc > ;allow=ulaw > ;allow=speex > jitterbuffer=200 > jitterbuffer=yes > tos=lowdelay > > and iax.conf @ location B: > > [general] > port=4569 > bandwidth=low > disallow=all > allow=ilbc > ;allow=ulaw > ;allow=speex > jitterbuffer=200 > jitterbuffer=yes > tos=lowdelay > > [guest] > type=user > context=default > callerid="Guest IAX User" > disallow=all > allow=ilbc > > > Thanks guys > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersThis message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored... Internet communications cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.
What's your end device? if it's a voip device (eg SIP phone or a soft phone) then you shouldn't need a jitter buffer. Also, you don't need bandwidth=low if you specify the codecs (the disallow=all will override the bandwidth=low) and maxjitterbuffer is the param you're after with this line "jitterbuffer=200" I'm guessing -Adam david@ccds.ca wrote:> Hello, > > I have setup two * servers and they are communicating using IAX. I'm > passing calls from SRV A (internet connection T1) to SRV B (internet > connection: 512). > > For some reasons I have an issue with the quality. The voice is a bit > scratchy. I have tried iLBC and SPEEX, but it didn't make any difference. > > Now, assuming that I have an issue with Bandwidth, what would be the best > way to configure my iax.conf. (A bit confused about jitterbuffer and tos) > > Here is my iax.conf @ location A: > > [general] > port=4569 > bandwidth=low > disallow=all > allow=ilbc > ;allow=ulaw > ;allow=speex > jitterbuffer=200 > jitterbuffer=yes > tos=lowdelay > > and iax.conf @ location B: > > [general] > port=4569 > bandwidth=low > disallow=all > allow=ilbc > ;allow=ulaw > ;allow=speex > jitterbuffer=200 > jitterbuffer=yes > tos=lowdelay > > [guest] > type=user > context=default > callerid="Guest IAX User" > disallow=all > allow=ilbc > > > Thanks guys > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Jonathan wrote:> Andrew Kohlsmith wrote: > >> BTW are you *really* saving any time by bastardizing your email so >> much (ur, u, bcz)... jeez. >> >> > I think they teach that crap in school these days ... kids and their > sms cell phones..I thought it was trying to simulate a high packet loss. :-) Regards, Steve