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
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
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@lists.digium.com [mailto:asterisk-users-bounces@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 orsuggestion> regarding best practices in connecting two Asterisk in such way. Iguess> 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
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@lists.digium.com [mailto:asterisk-users-bounces@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@lists.digium.com [mailto:asterisk-users-bounces@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 orsuggestion> regarding best practices in connecting two Asterisk in such way. Iguess> 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
Asterisk wrote:> 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 > >Alex, VPN will only help in keeping your data more secure. It will actually hurt your latency and throughput since there is processor overhead involved in encrypting/decrypting and and bandwidth in encapsulating the data. As I said before, audio issues with voice breaking up are usually indicative of not enough bandwidth and delay (sometimes echo) is cause by latency. Unless your carrier offers QoS end to end, there is very little you can do about it except on your little piece of of the network. You can always buy more bandwidth though. How big is the pipe and what are your ping times (through the VPN and over the public internet)? Thanks, Steve
> You will likely have latency issues - causing choppiness. Start with a > traceroute to validate latency.Anybody tried IAX trunking on G.729 with jitter buffer internationaly? -HJC
Thanks for the tip. Would that apply to connections via VPN, or is this likely to happen in any scenario where two Asterisk boxes are far away from each other? -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Michelle Dupuis Sent: Friday, March 02, 2007 4:54 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [asterisk-users] IAX best practices 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@lists.digium.com [mailto:asterisk-users-bounces@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@lists.digium.com [mailto:asterisk-users-bounces@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 orsuggestion> regarding best practices in connecting two Asterisk in such way. Iguess> 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
Henry J. Cobb wrote:>> You will likely have latency issues - causing choppiness. Start with a >> traceroute to validate latency. >> > > Anybody tried IAX trunking on G.729 with jitter buffer internationaly? > > -HJC >Not G.729 but SPEEX 8 variable. Sounded great but lots of delay where GSM was breaking up so badly, there could be no conversation at all. Thanks, Steve