[Asterisk-Users] Re: sementation fault with mpg123

mattf mattf at vicimarketing.com
Tue Feb 3 12:05:05 MST 2004


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 at jhcloos.com]
Sent: Tuesday, February 03, 2004 1:42 PM
To: asterisk-users at 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 at 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



More information about the asterisk-users mailing list