should I use mpg123 with asterisk 1.2.7 or should i use the native player asterisk has? the target machine will receive heavy load. also, has anyone succedded in compiling mpg123 in a dual core pentium with centos 4.3 ? -- ------------------------------------------- Erick Perez Linux User 376588 http://counter.li.org/ (Get counted!!!) Panama, Republic of Panama
Erick Perez wrote:> should I use mpg123 with asterisk 1.2.7 or should i use the native > player asterisk has? > the target machine will receive heavy load.mpg123 was used back when asterisk didn't have native format support. If you are expecting heavy load, the native format is the way to go. You might decide not to use mp3 format at all, recompressing your MoH files using sox to the formats you gonna use, such as .al, .ul, .gsm, or leave it at .sln to cut the decoding leg only. This way you won't spend expensive CPU power on mp3 decoding and mpg123 processes.> also, has anyone succedded in compiling mpg123 in a dual core pentium > with centos 4.3 ?No clue here, I've been running Asterisk on FreeBSD systems since 1.0.9. HTH, Vahan
Erick Perez wrote:> should I use mpg123 with asterisk 1.2.7 or should i use the native > player asterisk has? > the target machine will receive heavy load.If the machine will have heavy load then using mp3 files would not be advised, no matter how you play them. I would recommend using native format music on hold in the format you expect most of the calls to be in. -- Cheers, Matt Riddell _______________________________________________ http://www.sineapps.com/news.php (Daily Asterisk News - html) http://freevoip.gedameurope.com (Free Asterisk Voip Community) http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
Can't you use mpg123 as compiled under x86_32? I do on a few servers I have. I found madplay better process wise than mpg123. Regards Lee -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Erick Perez Sent: 29 May 2006 21:37 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] mpg123 or asterisk Well, being unable to compile mpg123 under x86_64 i installed lame and transformed the mp3-->wav-->raw. and using "files" as the format player. Are there any good scripts to stress test MoH? I want to test this machine for 1000 "calls" on hold. http://www.asteriskguru.com/tutorials/astertest.html AsterTest is good but i dont have access to another * installation. On 5/27/06, Steve Totaro <stotaro@asteriskhelpdesk.com> wrote:> Please let us know your results. I cannot really test this in > production system since it is a $16,000/hr call center. I was using > madplay but it was crashing and creating zombie processes, I figured > native was not the way to go since all of the different audio streams. > Mpg123 works perfectly for me under a load of sixty channels, I can > confirm that for sure. > > Thanks, > Steve > > Erick Perez wrote: > > Interesting. > > So, i will have to test then... > > > > > > On 5/27/06, Steve Totaro <stotaro@asteriskhelpdesk.com> wrote: > >> In my very limited testing of native, each channel was receiving a > >> different stream (each caller heard something different). Under a > >> high volume of calls, which is going to hurt performance more? > >> Transcoding MP3s but sending a single stream or separate streams > >> per call under native? > >> > >> When I say high, I mean 1,000+ calls. > >> > >> Thanks, > >> Steve > >> > >> > >> Erick Perez wrote: > >> > Thanks to all. Native format will be. > >> > > >> > On 5/27/06, Matt Riddell (IT) <matt.riddell@sineapps.com> wrote: > >> >> Vahan Yerkanian wrote: > >> >> > Erick Perez wrote: > >> >> >> should I use mpg123 with asterisk 1.2.7 or should i use the > >> >> >> native player asterisk has? > >> >> >> the target machine will receive heavy load. > >> >> > > >> >> > mpg123 was used back when asterisk didn't have native format > >> >> support. If > >> >> > you are expecting heavy load, the native format is the way to > >> go. You > >> >> > might decide not to use mp3 format at all, recompressing your > >> >> > MoH > >> >> files > >> >> > using sox to the formats you gonna use, such as .al, .ul, > >> >> > .gsm, or > >> >> leave > >> >> > it at .sln to cut the decoding leg only. > >> >> > >> >> Heh, damn this GPRS connection. In order to pass the time while> >> >> downloading messages I reply before they are all in, and yet by > >> the time > >> >> I have received all the messages I note that your question has > >> already > >> >> been answered! > >> >> > >> >> :) > >> >> > >> >> -- > >> >> Cheers, > >> >> > >> >> Matt Riddell > >> >> _______________________________________________ > >> >> > >> >> http://www.sineapps.com/news.php (Daily Asterisk News - html) > >> >> http://freevoip.gedameurope.com (Free Asterisk Voip Community) > >> >> http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss) > >> >> _______________________________________________ > >> >> --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 > >> >> > >> > > >> > > >> > >> _______________________________________________ > >> --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 > >> > > > > > > _______________________________________________ > --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 >-- ------------------------------------------- Erick Perez Linux User 376588 http://counter.li.org/ (Get counted!!!) Panama, Republic of Panama _______________________________________________ --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 ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/
I don't know as I never experienced any system crashes with either. But I did notice many times that mpg123 was still running after asterisk had been shutdown. Lee -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of MBIT Technologies Sent: 30 May 2006 08:29 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] mpg123 or asterisk Can MAD crash a server like mpg123 can? -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Lee Archer Sent: Tuesday, 30 May 2006 5:06 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [Asterisk-Users] mpg123 or asterisk Can't you use mpg123 as compiled under x86_32? I do on a few servers I have. I found madplay better process wise than mpg123. Regards Lee -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Erick Perez Sent: 29 May 2006 21:37 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] mpg123 or asterisk Well, being unable to compile mpg123 under x86_64 i installed lame and transformed the mp3-->wav-->raw. and using "files" as the format player. Are there any good scripts to stress test MoH? I want to test this machine for 1000 "calls" on hold. http://www.asteriskguru.com/tutorials/astertest.html AsterTest is good but i dont have access to another * installation. On 5/27/06, Steve Totaro <stotaro@asteriskhelpdesk.com> wrote:> Please let us know your results. I cannot really test this in > production system since it is a $16,000/hr call center. I was using > madplay but it was crashing and creating zombie processes, I figured > native was not the way to go since all of the different audio streams. > Mpg123 works perfectly for me under a load of sixty channels, I can > confirm that for sure. > > Thanks, > Steve > > Erick Perez wrote: > > Interesting. > > So, i will have to test then... > > > > > > On 5/27/06, Steve Totaro <stotaro@asteriskhelpdesk.com> wrote: > >> In my very limited testing of native, each channel was receiving a > >> different stream (each caller heard something different). Under a > >> high volume of calls, which is going to hurt performance more? > >> Transcoding MP3s but sending a single stream or separate streams > >> per call under native? > >> > >> When I say high, I mean 1,000+ calls. > >> > >> Thanks, > >> Steve > >> > >> > >> Erick Perez wrote: > >> > Thanks to all. Native format will be. > >> > > >> > On 5/27/06, Matt Riddell (IT) <matt.riddell@sineapps.com> wrote: > >> >> Vahan Yerkanian wrote: > >> >> > Erick Perez wrote: > >> >> >> should I use mpg123 with asterisk 1.2.7 or should i use the > >> >> >> native player asterisk has? > >> >> >> the target machine will receive heavy load. > >> >> > > >> >> > mpg123 was used back when asterisk didn't have native format > >> >> support. If > >> >> > you are expecting heavy load, the native format is the way to > >> go. You > >> >> > might decide not to use mp3 format at all, recompressing your > >> >> > MoH > >> >> files > >> >> > using sox to the formats you gonna use, such as .al, .ul, > >> >> > .gsm, or > >> >> leave > >> >> > it at .sln to cut the decoding leg only. > >> >> > >> >> Heh, damn this GPRS connection. In order to pass the time while> >> >> downloading messages I reply before they are all in, and yet by > >> the time > >> >> I have received all the messages I note that your question has > >> already > >> >> been answered! > >> >> > >> >> :) > >> >> > >> >> -- > >> >> Cheers, > >> >> > >> >> Matt Riddell > >> >> _______________________________________________ > >> >> > >> >> http://www.sineapps.com/news.php (Daily Asterisk News - html) > >> >> http://freevoip.gedameurope.com (Free Asterisk Voip Community) > >> >> http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss) > >> >> _______________________________________________ > >> >> --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 > >> >> > >> > > >> > > >> > >> _______________________________________________ > >> --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 > >> > > > > > > _______________________________________________ > --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 >-- ------------------------------------------- Erick Perez Linux User 376588 http://counter.li.org/ (Get counted!!!) Panama, Republic of Panama _______________________________________________ --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 ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/ _______________________________________________ --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 _______________________________________________ --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 ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.f-secure.com/