[asterisk-users] Asterisk 1.4.20.1 with bad gsm file playback

Matt Riddell matt at venturevoip.com
Mon Jun 9 20:41:28 CDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tzafrir Cohen wrote:
> On Wed, Jun 04, 2008 at 04:06:28PM +1200, Matt Riddell wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Tilghman Lesher wrote:
>>> On Tuesday 03 June 2008 10:12:58 Todd Reese wrote:
>>>> Hi All,
>>>>
>>>> I'm stumped on this and I looking for some clues to fix this.
>>>>
>>>>
>>>> This is a new install of Slackware 12.1  onto an IBM x330 Server.
>>>>
>>>> Asterisk 1.4.20.1 plays the wav files and the Cepstral_Allison Swift just
>>>> fine, but when I play the gsm files the audio quite choppy.  And, the files
>>>> produced from the MixMonitor don't even record any audio other than noise.
>>>>
>>>>
>>>> I have a hard drive from a previous install of Slackware 12.0 and Asterisk
>>>> ~1.4.18 that I've swapped out and everything runs fine.  Also, I've got an
>>>> x335 with Asterisk 1.4.19 that is also running just fine.
>>>>
>>>>
>>>> Any clues where to start looking to resolve this?
>>> Set DONT_OPTIMIZE in the compiler options (make menuselect).  If this causes
>>> the chop to go away, we know exactly what the problem is:  an optimization bug
>>> in gcc 4.2/4.3.
>> Alternatively do:
>>
>> export CC=gcc-4.1
>> export CXX=gcc-4.1
>> ./configure
>> make
>>
>> In Asterisk.
>>
>> I've done three installs in the past week where I had this problem (all
>> with gcc version 4.2.3 (Debian 4.2.3-5)) and the above fixed it no problem.
> 
> How about:
> 
>   aptitude install libgsm-devel
> 
> 
>   ./configure
>   make
> 
> The copy of gsm in the package in Debian does not seem to have this
> problem. Nither on Stable (where gcc 4.1 is used) nor on Testing/Unstable 
> (where a later gcc is used: 4.2 or 4.3 throughout the life time of this
> bug).
> 
> Like any other package it is built with -O2 , I believe. But yo can
> build it separately from Asterisk and use LD_LIBRARY_PATH when starting
> Asterisk.

The bug report said that it had the same problem with the external
library, but will test it here.

- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFITdvIDQNt8rg0Kp4RAhlYAJ9A1pJeQKnHTmxeLajt1GdlU3v5FwCfV2LQ
pypTgi5xyuE7yc8cBGPy2V4=
=JlWv
-----END PGP SIGNATURE-----



More information about the asterisk-users mailing list