[asterisk-dev] Building codec_gsm against Spandsp

Steve Underwood steveu at coppice.org
Wed Feb 3 19:52:45 CST 2010


On 02/04/2010 08:17 AM, Tzafrir Cohen wrote:
> On Wed, Feb 03, 2010 at 03:53:00PM -0800, Philip A. Prindeville wrote:
>    
>> Does anyone have patches (or otherwise know what would be involved) to
>> build Asterisk's codec_gsm against the Spandsp library?
>>      
> Why would you want that?
>    
The libgsm with some distributions is quite slow, and some won't pass 
the test vectors, so there are good reasons to choose an alternative. I 
think the Asterisk one actually fails a couple of the test vectors, but 
its close to correct.
> libgsm is a separate library. Most distributions include it nowadays.
> Asterisk can either use its internal copy or the system copy of it.
>    
I know people were in denial for ages, blaming GCC for being faulty, but 
I thought the GSM codec in the Asterisk was eventually fixed. The 
problem is just an error in embedded assembly language code, where the 
better optimiser in GCC 4.2 made there error show up for the first time.
>> We have problems with using GCC 4.2 with Asterisk because of issues in
>> the codec.
>>      
> Which Linux distribution do you use?
>    
Steve





More information about the asterisk-dev mailing list