[Asterisk-Dev] IAX codec negociation (again...)

Adam Goryachev mailinglists at websitemanagers.com.au
Mon Jun 20 05:45:46 MST 2005

On Mon, 2005-06-20 at 07:38 -0500, Kevin P. Fleming wrote:
> Goldenear wrote:
> > I'm not a programmer, but I guess this problem could be solved very 
> > easily. This would make asterisk better and could save many cpu and 
> > bandwidth :)
> Uhh.. no, the solution is not 'very easy'. Given that you say you are 
> not a programmer, why would you think so? If the solution was 'very 
> easy', it would already have been done by now :-)

Also, it doesn't 'save many cpu and bandwidth', it will save 'many cpu'
OR 'many bandwidth' but not both.

Generally, you only use CPU in order to transcode, which usually implies
some form of compression. So, in your example (gsm -> ulaw) you are
using less bandwidth and more CPU as compared to your desired result
(ulaw -> ulaw) where you use more bandwidth and less cpu...

Also, you might prefer to use gsm and use more cpu, since bandwidth may
be expensive/limited, so even if this is worked on, we need a method to
specify that we always prefer codec's in this order, even if it means

Adam Goryachev
Website Managers
Ph:  +61 2 9345 4395                        adam at websitemanagers.com.au
Fax: +61 2 9345 4396                        www.websitemanagers.com.au

More information about the asterisk-dev mailing list