Been using mpg123 for moh for the last two years or so. However, when I have * config errors, often times get a endless stream of console messages and need to kill the two mpg123 processes. Is there an alternative to mpg123 that eliminates that issue? I see references in musiconhold.conf relative to madplay, native file format, asterisk-addons, etc. Not sure why the asterisk-addon approach hasn't been moved into trunk, or if madplay is a better choice on this fc3 trunk box. Any suggestions?
Hi Rich,> Been using mpg123 for moh for the last two years or so. However, when > I have * config errors, often times get a endless stream of console > messages and need to kill the two mpg123 processes. > > Is there an alternative to mpg123 that eliminates that issue? > > I see references in musiconhold.conf relative to madplay, native file > format, asterisk-addons, etc. Not sure why the asterisk-addon approach > hasn't been moved into trunk, or if madplay is a better choice on this > fc3 trunk box. > > Any suggestions?I've switched to native moh and never had to worry again about dead or unresponsive mpg123 processes. -- Nicol?s Gudi?o Buenos Aires - Argentina
I used madplay with * 1.0 and moved to native for playing mp3's with 1.2 with no problems. Depends what you want to play, doesn't native stop when there is no one to play to then restart when there is someone to play to? Might be a problem if you want to plays ads and don't have many callers, like in my environment, to play the MOH to. Lee -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Nicol?s Gudi?o Sent: 23 February 2006 13:38 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] mpg123 alternative? Hi Rich,> Been using mpg123 for moh for the last two years or so. However, when > I have * config errors, often times get a endless stream of console > messages and need to kill the two mpg123 processes. > > Is there an alternative to mpg123 that eliminates that issue? > > I see references in musiconhold.conf relative to madplay, native file > format, asterisk-addons, etc. Not sure why the asterisk-addon approach > hasn't been moved into trunk, or if madplay is a better choice on this > fc3 trunk box. > > Any suggestions?I've switched to native moh and never had to worry again about dead or unresponsive mpg123 processes. -- Nicol?s Gudi?o Buenos Aires - Argentina _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On 02/23/06 21:15 Rich Adamson said the following:> I see references in musiconhold.conf relative to madplay, native file > format, asterisk-addons, etc. Not sure why the asterisk-addon approach > hasn't been moved into trunk, or if madplay is a better choice on thisi think it would be better off if folk used the native file formats and did away with mpg123 altogether. -- Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+
I'd suggest using the format_mp3 program that's included in asterisk-addons. We switched to that after mpg123 wouldn't compile on our newer 64bit machines, and it works like a charm, and you don't have to change anything. Aaron Rich Adamson wrote:> Been using mpg123 for moh for the last two years or so. However, when > I have * config errors, often times get a endless stream of console > messages and need to kill the two mpg123 processes. > > Is there an alternative to mpg123 that eliminates that issue? > > I see references in musiconhold.conf relative to madplay, native file > format, asterisk-addons, etc. Not sure why the asterisk-addon approach > hasn't been moved into trunk, or if madplay is a better choice on this > fc3 trunk box. > > Any suggestions? > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Check out the musiconhold.conf.sample in the asterisksource/configs folder. Lee -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Faris Raouf Sent: 23 February 2006 18:36 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] mpg123 alternative? Ah! Now this is actually something I've not been able to get my head around: > Note: As of Asterisk 1.2.0, Mpg123 is no longer used by Asterisk, which > has its own MP3 player. Can anybody tell me where this built-in MP3 player is in 1.2.x/how do I use it ? I still seem to have the usual two mpg123 processes running with 1.2.4, with whatever music on hold is set in musiconhold.conf I'm sure it is very obvious, but I can't for the life of me figure out what I'm supposed to do to use the built-in MP3 player facilities. I just have the following in my musiconhold.conf: [default] mode=mp3 directory=/var/lib/asterisk/mohmp3 random=yes Faris. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users