I'm still getting a sementation fault with mpg123. I have tried different parameters creating mp3s the last from cd audio ... lame -m s --resample 8000 -q 0 -a --cbr -b 32 and several versions of mpg123. I have always created 8000 hz outputs. I've got other * boxes that don't use moh that have been up for months. This one crashes every couple of days - the verbose output leading to a crash is below. Is it just my imagination or has mpg123 always been a pain in the ass... What are other mp3 parameters are users using to create mp3s? John -- Stopped music on hold on Parked/IAX2[ec@ec]/4<ZOMBIE> == Spawn extension (hc_fxs, 501, 1) exited non-zero on 'Zap/13-1' -- Hungup 'Zap/13-1' -- Started music on hold, class 'default', on IAX2[ec@ec]/4 == Parked IAX2[ec@ec]/4 on 501 Ouch ... error while writing audio data: : Broken pipe == Parsing '/etc/asterisk/asterisk.conf': Found sterisk CVS-01/20/04-17:15:14, Copyright (C) 1999-2001 Linux Support Services, Inc. ritten by Mark Spencer <markster@linux-support.net> ======================================================================= == Parsing '/etc/asterisk/logger.conf': Found sterisk Event Logger Started /var/log/asterisk/event_log == Manager registered action Ping == Manager registered action Logoff another snip... This GDB was configured as "i386-redhat-linux-gnu". Core was generated by `asterisk -vvvfg'. Program terminated with signal 11, Segmentation fault. #0 0x0805781d in ?? () This e-mail was scanned and found clean by Monroe-Woodbury's Antivirus.
James H. Cloos Jr.
2004-Feb-03 11:41 UTC
[Asterisk-Users] Re: sementation fault with mpg123
|> I'm still getting a sementation fault with mpg123. Isn't it time to get mg3 out of the equation? Sox can convert just about anything to 16 bit signed mono pcm in just about any container that support that. It looks like *'s format_wav.c is for exactly that format, so for local files we should be running: sox $FOO.$BAR -s -w -c 1 -r 8000 $FOO.wav resample -ql for any $FOO and any $BAR and using those files for moh. Then * can handle it all itself. (Alternatively, use -g instead of -s -w and save a .gsm file, just like everything else in /var/lib/asterisk/sounds.) -JimC
I'd love to have a non-mp3 music-on-hold option. Anybody put this as a feature request yet? MATT--- -----Original Message----- From: James H. Cloos Jr. [mailto:cloos@jhcloos.com] Sent: Tuesday, February 03, 2004 1:42 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Re: sementation fault with mpg123 |> I'm still getting a sementation fault with mpg123. Isn't it time to get mg3 out of the equation? Sox can convert just about anything to 16 bit signed mono pcm in just about any container that support that. It looks like *'s format_wav.c is for exactly that format, so for local files we should be running: sox $FOO.$BAR -s -w -c 1 -r 8000 $FOO.wav resample -ql for any $FOO and any $BAR and using those files for moh. Then * can handle it all itself. (Alternatively, use -g instead of -s -w and save a .gsm file, just like everything else in /var/lib/asterisk/sounds.) -JimC _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On Tuesday 03 February 2004 11:46, john wrote:> I'm still getting a sementation fault with mpg123. I have triedAh, adventures in the pubic school system.> This GDB was configured as "i386-redhat-linux-gnu". > Core was generated by `asterisk -vvvfg'. > Program terminated with signal 11, Segmentation fault. > #0 0x0805781d in ?? ()Can you give us a 'bt full' at this point? -Tilghman