[asterisk-users] IAX best practices

Zoa zoachien at securax.org
Fri Mar 2 09:32:31 MST 2007


Some tricks:

If you have a high latency link, watch out i've experienced problems 
with it in the past. (high latency = > 300ms)
Stay away from trunking unless you have a lot of time to spend, if you 
do use trunks, do not use a jitter buffer, make sure it works in both 
directions and don't make it too big (although that might be fixed in 
more recent asterisk versions, there was a patch included for it).

If you use a VPN, make sure it is UDP based, and check it for low latency.
Make sure both asterisk's are on a public ip. (Although you should be 
able to connect to an asterisk B registered to Asterisk A, it - at least 
used to - not work very well in production).

If you do a lot of simultaneous calls, make sure your vpn servers can 
handle the load.

Zoa
www.asteriskguru.com

Michelle Dupuis wrote:
> You will likely have latency issues - causing choppiness.  Start with a
> traceroute to validate latency.
>
> Michelle Dupuis
> Technical Support Specialist
>
> Generation Software - Linux and Asterisk solutions and support
> Visit us at www.generationd.com
>  
>  
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Asterisk
> Sent: Friday, March 02, 2007 10:26 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [asterisk-users] IAX best practices
>
> Thanks Steve!
>
> What are usually the best approaches in troubleshooting the audio quality
> issues and QoS related stuff when putting two Asterisk boxes together via
> IAX?
>
> Have you ever tried connecting Asterisk boxes in the same VPN (but still in
> different countries)?
>
> Regards,
> Alex
>
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Totaro
> Sent: Thursday, March 01, 2007 4:22 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] IAX best practices
>
> Asterisk wrote:
>   
>> Hi guys,
>>
>> I am planning to connect two Asterisk boxes that are currently running 
>> in two different countries, using IAX.
>>
>> I was wondering if anyone could provide me with some links or
>>     
> suggestion
>   
>> regarding best practices in connecting two Asterisk in such way. I
>>     
> guess
>   
>> many of you have already tried this, and already have some know-how 
>> (what I should be careful about, what to avoid, etc...)?
>>
>> Regards,
>> Alex
>>   
>>     
> Bandwidth and latency.  IAX2 is remarakably good at traversing NAT and even
> double NATs.  It should just work.  The issues that I ran into are low
> bandwidth and latency.  Not much you can do about latency besides getting a
> better route and putting QoS on your equipment and hoping that
>
> your provider either observes your tagging or is not very latent to begin
> with.  The other is bandwidth which I found SPEEX works wonders (but adds to
> latency).
>
> In my experience, bandwidth issues result in choppy audio and latency
> results in delays which cause people to talk on top of each other and can be
> extremely annoying.
>
> Try pinging a router or device at the remote side to get an idea of how
> latent your connection will be. 
>
> Thanks,
> Steve
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>   



More information about the asterisk-users mailing list