Hi, all!!! What will Asterisk do in the following case: For example, we have 4 licenses, and have 4 simultaneous calls, using G729. Will asterisk allow incoming calls from peer, that can talk G729 and ulaw, and will it force it somehow to use ulaw in this case? All phones there in LAN behind Asterisk prefer GSM codec, so it does transcoding. So, what I mean is will Asterisk fall back to use other codecs, when it will be out of G729 licenses? S.
Sergey Lapin [slapin@drevlanka.ru] wrote:> What will Asterisk do in the following case: > > For example, we have 4 licenses, and have 4 > simultaneous calls, using G729. > > Will asterisk allow incoming calls from peer, > that can talk G729 and ulaw, and will it > force it somehow to use ulaw in this case? > > All phones there in LAN behind Asterisk > prefer GSM codec, so it does transcoding. > > So, what I mean is will Asterisk fall back > to use other codecs, when it will be out of > G729 licenses? >Asterisk will not fall back to another codec if G.729 is requested and not is available. The general idea is that you work out how many licenses you will need on your busiest day and then buy a couple of extras. Most of the time you will not be using what you have paid for. The G.729 monopolists have made enough money out of their week's work, so why give them more? A better idea is to use a different codec, such as GSM, iLBC or even ulaw (if you have the bandwidth), and ignore G.729 completely. You can add several choices in a list and allow the link to negotiate. The SIP channel will try your codec choices in order of preference but IAX2 will just pick one (usually ulaw). Adding a few lines of code will allow the IAX2 channel to respect the code preference order you select. If your supplier will only talk G.729 then switch to one that will allow you to use a different codec. There are plenty to choose from these days. -- _/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/ _/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h _/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz _/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
asterisk-users-bounces@lists.digium.com wrote:> The G.729 monopolists have made enough money out of their week's > work, so why give them more? > > A better idea is to use a different codec, such as GSM, iLBC or even > ulaw (if you have the bandwidth), and ignore G.729 completely. You > can add several choices in a list and allow the link to negotiate.This depends highly on what you're doing. If you're on a LAN with plenty of available bandwidth, one of the G.711 variants is the way to go. If you're serving customers on tiny ADSL or cable connections, there's not much else to use than G.729. -- Andreas Sikkema Rits tele.com Scheepmakersstraat 11 3011 VH Rotterdam t: +31 (0)10 2245544 f: +31 (0)10 2245540
asterisk-users-bounces@lists.digium.com wrote:> There are a few codecs, other than G.729, that you may not have > heard of. These include GSM, iLBC and SpeeX, to name a few. > Paying for G.729 licenses, however cheap they may appear, only > encourages the monopolists.The problem being that those are not supported by the devices we use. Unfortunately we don't have the influence (yet?) to change that. -- Andreas Sikkema Rits tele.com Scheepmakersstraat 11 3011 VH Rotterdam t: +31 (0)10 2245544 f: +31 (0)10 2245540
asterisk-users-bounces@lists.digium.com wrote:> Then you just dump the G.729-only supplier and find one that > supports everything else. There are plenty to choose from.Ah, that's easy with 10 phones at one site. With 100's of device scattered around the counrty and the property of customers, it's not that easy. Also support wise, not very easy, changing devices. It's nice to have this attitude when you're just playing around. When you're using this stuff in large quantities it's entirely another matter. -- Andreas Sikkema Rits tele.com Scheepmakersstraat 11 3011 VH Rotterdam t: +31 (0)10 2245544 f: +31 (0)10 2245540