Is it true that asterisk 1.2.6 does not use mpg123? I just installed asterisk 1.2.6 and while I do have music on hold (through format_mp3?) I do not have an mpg123 process running. I seem to be having serious audio issues when going through one of my providers (and just through that provider) when using mp3 for hold music, however when using wav files it is fine. The processor is only at about 2% and 0 load. We are both using ulaw. If I get more then 2 calls in a queue or "on hold" the music gets all nasty when using mp3 (though allison sounds fine). However, when using wav, it sounds fine. Again, this is using format_mp3. I've converted all my hold music to wav and it's fine. But, is there anyway to use mpg123 with 1.2.6 and if so how do I do it? I understand it's probably not the best solution, but I'd like to debug and see if there is in fact a bug in format_mp3 that is degrading audio for some reason. If I go OUT: asterisk2-->IAX-->asterisk1--->IAX-->TERMINATOR I can do tons of calls (have tried up to 10) and hold music is fine. If I come IN: ORIGINATOR--->SIP-->asterisk1--->IAX--->asterisk2 audio is aweful with mp3 hold music, but fine with wav. Thoughts?
Matt wrote:>Is it true that asterisk 1.2.6 does not use mpg123? > >I just installed asterisk 1.2.6 and while I do have music on hold >(through format_mp3?) I do not have an mpg123 process running. > >I seem to be having serious audio issues when going through one of my >providers (and just through that provider) when using mp3 for hold >music, however when using wav files it is fine. > >The processor is only at about 2% and 0 load. We are both using ulaw. > If I get more then 2 calls in a queue or "on hold" the music gets all >nasty when using mp3 (though allison sounds fine). However, when >using wav, it sounds fine. Again, this is using format_mp3. I've >converted all my hold music to wav and it's fine. But, is there >anyway to use mpg123 with 1.2.6 and if so how do I do it? >And isn't mpg123 ( or some replacement ) required when using a stream for MOH I couldn't get streaming to work without it in 1.2? John Novack> >
I use mpg123 for streaming but I can't get it to compile under SuSe10 and x86_64 CPU. Does anyone have any recommendations for other programs that allow streaming and will compile on this arch? Regards Lee -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt Sent: 31 March 2006 22:36 To: jnovack@stromberg-carlson.org; Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] 1.2.6 doesn't use mpg123?> > > And isn't mpg123 ( or some replacement ) required when using a stream > for MOH I couldn't get streaming to work without it in 1.2?Yes.. mpg123 is required for streaming... I had it working in 1.0.9... though have not tried in 1.2. _______________________________________________ --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 want to stream shoutcast etc. but mpg123 won't compile. I use native moh with files but it won't work with streams. Lee -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Melcon Moraes Sent: 01 April 2006 14:33 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re[2]: [Asterisk-Users] 1.2.6 doesn't use mpg123? You don't have to use it in newer versions. Get your mp3, ant convert to slin format with sox. Ex: sox -V file.mp3 [-c1] file.slin -V: just to show you what's going on -c1: convert to 1 channel, if your mp3 is stereo Then edit your musiconhold.conf like this: [native] mode=files directory=/var/lib/asterisk/moh-native and you'll have a nice native streaming. You can convert your stuff to another formats, like "sox file.mp3 [-c1] file.gsm" or "sox file.mp3 [-c1] file.ul" and let asterisk decide which one best fits given channel. []'s MM -----Original Message----- From: "Lee Archer" <lee.archer@pentagon-systems.com> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Cc: Sent: Sat, 1 Apr 2006 10:34:42 +0100 Delivered: Sat, 01 Apr 2006 06:28:16 Subject:[Asterisk-Users] 1.2.6 doesn't use mpg123? I use mpg123 for streaming but I can't get it to compile under SuSe10 and x86_64 CPU. Does anyone have any recommendations for other programs that allow streaming and will compile on this arch? Regards Lee -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt Sent: 31 March 2006 22:36 To: jnovack@stromberg-carlson.org; Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] 1.2.6 doesn't use mpg123?> > > And isn't mpg123 ( or some replacement ) required when using a stream > for MOH I couldn't get streaming to work without it in 1.2?Yes.. mpg123 is required for streaming... I had it working in 1.0.9... though have not tried in 1.2. _______________________________________________ --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 E-mail classificado pelo Identificador de Spam Inteligente Terra. Para alterar a categoria classificada, visite http://mail.terra.com.br/protected_email/imail/imail.cgi?+_u=levelz&_l=1 ,1143884189.96596.438.aldavila.hst.terra.com.br,5146,Des15,Des15 --Original Message Ends-- -- Melcon Moraes <melcon.moraes@terra.com.br> _______________________________________________ --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/
Has anyone else had a problem with asterisk creating multiple threads? I'm still testing but I've move from native to mpg123 for the machine with the problem and the problem hasn't come back. Lee -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt Sent: 01 April 2006 15:07 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: Re[2]: [Asterisk-Users] 1.2.6 doesn't use mpg123? Ok this is great... but I just noticed this morning while doing some tests that asterisk seems to start a new stream for every caller!!!! With mpg123 it would just start one and all calls would hear the same stream. Unless something was seriously lagging, my test calls this morning all were in different spots in the hold music. Isn't this less efficient? On 4/1/06, Melcon Moraes <levelz@terra.com.br> wrote:> You don't have to use it in newer versions. Get your mp3, ant convert > to slin format with sox. > > Ex: sox -V file.mp3 [-c1] file.slin > > -V: just to show you what's going on > -c1: convert to 1 channel, if your mp3 is stereo > > Then edit your musiconhold.conf like this: > > [native] > mode=files > directory=/var/lib/asterisk/moh-native > > and you'll have a nice native streaming. You can convert your stuff to> another formats, like "sox file.mp3 [-c1] file.gsm" or "sox file.mp3 > [-c1] file.ul" and let asterisk decide which one best fits givenchannel.> > []'s > MM > > -----Original Message----- > From: "Lee Archer" <lee.archer@pentagon-systems.com> > To: "Asterisk Users Mailing List - Non-Commercial Discussion"<asterisk-users@lists.digium.com>> Cc: > Sent: Sat, 1 Apr 2006 10:34:42 +0100 > Delivered: Sat, 01 Apr 2006 06:28:16 Subject:[Asterisk-Users] 1.2.6 > doesn't use mpg123? > > I use mpg123 for streaming but I can't get it to compile under SuSe10 > and x86_64 CPU. Does anyone have any recommendations for other > programs that allow streaming and will compile on this arch? > > Regards > > Lee > > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt > Sent: 31 March 2006 22:36 > To: jnovack@stromberg-carlson.org; Asterisk Users Mailing List - > Non-Commercial Discussion > Subject: Re: [Asterisk-Users] 1.2.6 doesn't use mpg123? > > > > > > And isn't mpg123 ( or some replacement ) required when using a > > stream for MOH I couldn't get streaming to work without it in 1.2? > > Yes.. mpg123 is required for streaming... I had it working in 1.0.9... > though have not tried in 1.2. > _______________________________________________ > --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 MicrosoftExchange.> 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 > > E-mail classificado pelo Identificador de Spam Inteligente Terra. > Para alterar a categoria classificada, visite > http://mail.terra.com.br/protected_email/imail/imail.cgi?+_u=levelz&_l > =1,1143884189.96596.438.aldavila.hst.terra.com.br,5146,Des15,Des15 > > > --Original Message Ends-- > > -- > Melcon Moraes <melcon.moraes@terra.com.br> > > _______________________________________________ > --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/
Check the musiconhold.conf.sample in the asterisk/configs directory. That will tell you what you need to know. Lee -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt Sent: 01 April 2006 16:41 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: Re[2]: [Asterisk-Users] 1.2.6 doesn't use mpg123? How did you switch from native to mpg123 on 1.2.x? That's what I can't figure out. On 4/1/06, Lee Archer <lee.archer@pentagon-systems.com> wrote:> Has anyone else had a problem with asterisk creating multiple threads? > I'm still testing but I've move from native to mpg123 for the machine > with the problem and the problem hasn't come back. > > Lee > > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt > Sent: 01 April 2006 15:07 > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: Re[2]: [Asterisk-Users] 1.2.6 doesn't use mpg123? > > Ok this is great... but I just noticed this morning while doing some > tests that asterisk seems to start a new stream for every caller!!!! > With mpg123 it would just start one and all calls would hear the same > stream. Unless something was seriously lagging, my test calls this > morning all were in different spots in the hold music. Isn't this > less efficient? > > > On 4/1/06, Melcon Moraes <levelz@terra.com.br> wrote: > > You don't have to use it in newer versions. Get your mp3, ant > > convert to slin format with sox. > > > > Ex: sox -V file.mp3 [-c1] file.slin > > > > -V: just to show you what's going on > > -c1: convert to 1 channel, if your mp3 is stereo > > > > Then edit your musiconhold.conf like this: > > > > [native] > > mode=files > > directory=/var/lib/asterisk/moh-native > > > > and you'll have a nice native streaming. You can convert your stuff > > to > > > another formats, like "sox file.mp3 [-c1] file.gsm" or "sox file.mp3> > [-c1] file.ul" and let asterisk decide which one best fits given > channel. > > > > []'s > > MM > > > > -----Original Message----- > > From: "Lee Archer" <lee.archer@pentagon-systems.com> > > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > <asterisk-users@lists.digium.com> > > Cc: > > Sent: Sat, 1 Apr 2006 10:34:42 +0100 > > Delivered: Sat, 01 Apr 2006 06:28:16 Subject:[Asterisk-Users] > > 1.2.6 doesn't use mpg123? > > > > I use mpg123 for streaming but I can't get it to compile under > > SuSe10 and x86_64 CPU. Does anyone have any recommendations for > > other programs that allow streaming and will compile on this arch? > > > > Regards > > > > Lee > > > > -----Original Message----- > > From: asterisk-users-bounces@lists.digium.com > > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt > > Sent: 31 March 2006 22:36 > > To: jnovack@stromberg-carlson.org; Asterisk Users Mailing List - > > Non-Commercial Discussion > > Subject: Re: [Asterisk-Users] 1.2.6 doesn't use mpg123? > > > > > > > > > And isn't mpg123 ( or some replacement ) required when using a > > > stream for MOH I couldn't get streaming to work without it in 1.2? > > > > Yes.. mpg123 is required for streaming... I had it working in1.0.9...> > though have not tried in 1.2. > > _______________________________________________ > > --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 > > > > E-mail classificado pelo Identificador de Spam Inteligente Terra. > > Para alterar a categoria classificada, visite > > http://mail.terra.com.br/protected_email/imail/imail.cgi?+_u=levelz& > > _l > > =1,1143884189.96596.438.aldavila.hst.terra.com.br,5146,Des15,Des15 > > > > > > --Original Message Ends-- > > > > -- > > Melcon Moraes <melcon.moraes@terra.com.br> > > > > _______________________________________________ > > --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 MicrosoftExchange.> 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/
Have you tried madplay? I used to use it instead of mpg123 for MOH. Can't remember whether it does start a new process for every instance or not. Lee -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt Sent: 03 April 2006 15:03 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: Re[2]: [Asterisk-Users] 1.2.6 doesn't use mpg123? Ok.. see it... so now my question is.... which should I use? Obviously a hold system using ulaw for hold files is going to use less CPU, but is it more stable to have Asterisk playing the sound files? Especially since it has to start a seperate stream for every on hold person? Seems like in a busy call center.. it would be more efficient to have 1 stream going to every caller, rather then multiple streams. On 4/1/06, Lee Archer <lee.archer@pentagon-systems.com> wrote:> Check the musiconhold.conf.sample in the asterisk/configs directory. > That will tell you what you need to know. > > Lee > > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt > Sent: 01 April 2006 16:41 > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: Re[2]: [Asterisk-Users] 1.2.6 doesn't use mpg123? > > How did you switch from native to mpg123 on 1.2.x? That's what I > can't figure out. > > > On 4/1/06, Lee Archer <lee.archer@pentagon-systems.com> wrote: > > Has anyone else had a problem with asterisk creating multiplethreads?> > I'm still testing but I've move from native to mpg123 for the > > machine with the problem and the problem hasn't come back. > > > > Lee > > > > -----Original Message----- > > From: asterisk-users-bounces@lists.digium.com > > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt > > Sent: 01 April 2006 15:07 > > To: Asterisk Users Mailing List - Non-Commercial Discussion > > Subject: Re: Re[2]: [Asterisk-Users] 1.2.6 doesn't use mpg123? > > > > Ok this is great... but I just noticed this morning while doing some> > tests that asterisk seems to start a new stream for every caller!!!! > > With mpg123 it would just start one and all calls would hear thesame> > stream. Unless something was seriously lagging, my test callsthis> > morning all were in different spots in the hold music. Isn't this > > less efficient? > > > > > > On 4/1/06, Melcon Moraes <levelz@terra.com.br> wrote: > > > You don't have to use it in newer versions. Get your mp3, ant > > > convert to slin format with sox. > > > > > > Ex: sox -V file.mp3 [-c1] file.slin > > > > > > -V: just to show you what's going on > > > -c1: convert to 1 channel, if your mp3 is stereo > > > > > > Then edit your musiconhold.conf like this: > > > > > > [native] > > > mode=files > > > directory=/var/lib/asterisk/moh-native > > > > > > and you'll have a nice native streaming. You can convert your > > > stuff to > > > > > another formats, like "sox file.mp3 [-c1] file.gsm" or "sox > > > file.mp3 > > > > [-c1] file.ul" and let asterisk decide which one best fits given > > channel. > > > > > > []'s > > > MM > > > > > > -----Original Message----- > > > From: "Lee Archer" <lee.archer@pentagon-systems.com> > > > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > > <asterisk-users@lists.digium.com> > > > Cc: > > > Sent: Sat, 1 Apr 2006 10:34:42 +0100 > > > Delivered: Sat, 01 Apr 2006 06:28:16 Subject:[Asterisk-Users] > > > 1.2.6 doesn't use mpg123? > > > > > > I use mpg123 for streaming but I can't get it to compile under > > > SuSe10 and x86_64 CPU. Does anyone have any recommendations for > > > other programs that allow streaming and will compile on this arch? > > > > > > Regards > > > > > > Lee > > > > > > -----Original Message----- > > > From: asterisk-users-bounces@lists.digium.com > > > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt > > > Sent: 31 March 2006 22:36 > > > To: jnovack@stromberg-carlson.org; Asterisk Users Mailing List - > > > Non-Commercial Discussion > > > Subject: Re: [Asterisk-Users] 1.2.6 doesn't use mpg123? > > > > > > > > > > > > And isn't mpg123 ( or some replacement ) required when using a > > > > stream for MOH I couldn't get streaming to work without it in1.2?> > > > > > Yes.. mpg123 is required for streaming... I had it working in > 1.0.9... > > > though have not tried in 1.2. > > > _______________________________________________ > > > --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 > > > > > > E-mail classificado pelo Identificador de Spam Inteligente Terra. > > > Para alterar a categoria classificada, visite > > > http://mail.terra.com.br/protected_email/imail/imail.cgi?+_u=level > > > z& > > > _l > > > =1,1143884189.96596.438.aldavila.hst.terra.com.br,5146,Des15,Des15 > > > > > > > > > --Original Message Ends-- > > > > > > -- > > > Melcon Moraes <melcon.moraes@terra.com.br> > > > > > > _______________________________________________ > > > --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/ > > _______________________________________________ > > --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 MicrosoftExchange.> 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/
Madplay did work fine with * 1.0. Lee -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Andre Ruiz Sent: 03 April 2006 15:28 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: Re[2]: [Asterisk-Users] 1.2.6 doesn't use mpg123? Mpg123 was the only way back in 1.0 versions. In asterisk 1.2, they?ve implemented a new "format" module for mp3 codec, making it possible to do "native" mp3 streaming, but the old way is still ok. When I first saw the native one, there were some limitations, like the mp3 could not have any ID3 tag and had to be on certain rate, and be mono. I quickly discarded it because I would not like to convert my mp3 collection to a new format, and would rather keep mpg123, which was fine. Those limitations may be gone, please check. In that case, it may be better to use the native format due to CPU use concerns, but until testing I don?t think it?ll be much of a big difference. andre On 4/3/06, Matt <mhoppes@gmail.com> wrote:> Ok.. see it... so now my question is.... which should I use? > Obviously a hold system using ulaw for hold files is going to use less > CPU, but is it more stable to have Asterisk playing the sound files? > Especially since it has to start a seperate stream for every on hold > person? Seems like in a busy call center.. it would be more efficient > to have 1 stream going to every caller, rather then multiple streams. > > On 4/1/06, Lee Archer <lee.archer@pentagon-systems.com> wrote: > > Check the musiconhold.conf.sample in the asterisk/configs directory. > > That will tell you what you need to know. > > > > Lee > > > > -----Original Message----- > > From: asterisk-users-bounces@lists.digium.com > > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt > > Sent: 01 April 2006 16:41 > > To: Asterisk Users Mailing List - Non-Commercial Discussion > > Subject: Re: Re[2]: [Asterisk-Users] 1.2.6 doesn't use mpg123? > > > > How did you switch from native to mpg123 on 1.2.x? That's what I > > can't figure out. > > > > > > On 4/1/06, Lee Archer <lee.archer@pentagon-systems.com> wrote: > > > Has anyone else had a problem with asterisk creating multiple threads? > > > I'm still testing but I've move from native to mpg123 for the > > > machine with the problem and the problem hasn't come back. > > > > > > Lee > > > > > > -----Original Message----- > > > From: asterisk-users-bounces@lists.digium.com > > > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt > > > Sent: 01 April 2006 15:07 > > > To: Asterisk Users Mailing List - Non-Commercial Discussion > > > Subject: Re: Re[2]: [Asterisk-Users] 1.2.6 doesn't use mpg123? > > > > > > Ok this is great... but I just noticed this morning while doing > > > some tests that asterisk seems to start a new stream for every caller!!!! > > > With mpg123 it would just start one and all calls would hear the same > > > stream. Unless something was seriously lagging, my test calls this > > > morning all were in different spots in the hold music. Isn't this > > > less efficient? > > > > > > > > > On 4/1/06, Melcon Moraes <levelz@terra.com.br> wrote: > > > > You don't have to use it in newer versions. Get your mp3, ant > > > > convert to slin format with sox. > > > > > > > > Ex: sox -V file.mp3 [-c1] file.slin > > > > > > > > -V: just to show you what's going on > > > > -c1: convert to 1 channel, if your mp3 is stereo > > > > > > > > Then edit your musiconhold.conf like this: > > > > > > > > [native] > > > > mode=files > > > > directory=/var/lib/asterisk/moh-native > > > > > > > > and you'll have a nice native streaming. You can convert your > > > > stuff to > > > > > > > another formats, like "sox file.mp3 [-c1] file.gsm" or "sox > > > > file.mp3 > > > > > > [-c1] file.ul" and let asterisk decide which one best fits given > > > channel. > > > > > > > > []'s > > > > MM > > > > > > > > -----Original Message----- > > > > From: "Lee Archer" <lee.archer@pentagon-systems.com> > > > > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > > > <asterisk-users@lists.digium.com> > > > > Cc: > > > > Sent: Sat, 1 Apr 2006 10:34:42 +0100 > > > > Delivered: Sat, 01 Apr 2006 06:28:16 Subject:[Asterisk-Users] > > > > 1.2.6 doesn't use mpg123? > > > > > > > > I use mpg123 for streaming but I can't get it to compile under > > > > SuSe10 and x86_64 CPU. Does anyone have any recommendations for > > > > other programs that allow streaming and will compile on this arch? > > > > > > > > Regards > > > > > > > > Lee > > > > > > > > -----Original Message----- > > > > From: asterisk-users-bounces@lists.digium.com > > > > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > > > > Matt > > > > Sent: 31 March 2006 22:36 > > > > To: jnovack@stromberg-carlson.org; Asterisk Users Mailing List - > > > > Non-Commercial Discussion > > > > Subject: Re: [Asterisk-Users] 1.2.6 doesn't use mpg123? > > > > > > > > > > > > > > > And isn't mpg123 ( or some replacement ) required when using a > > > > > stream for MOH I couldn't get streaming to work without it in 1.2? > > > > > > > > Yes.. mpg123 is required for streaming... I had it working in > > 1.0.9... > > > > though have not tried in 1.2. > > > > _______________________________________________ > > > > --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 > > > > > > > > E-mail classificado pelo Identificador de Spam Inteligente Terra. > > > > Para alterar a categoria classificada, visite > > > > http://mail.terra.com.br/protected_email/imail/imail.cgi?+_u=lev > > > > elz& > > > > _l > > > > =1,1143884189.96596.438.aldavila.hst.terra.com.br,5146,Des15,Des > > > > 15 > > > > > > > > > > > > --Original Message Ends-- > > > > > > > > -- > > > > Melcon Moraes <melcon.moraes@terra.com.br> > > > > > > > > _______________________________________________ > > > > --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/ > > > _______________________________________________ > > > --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/ > > _______________________________________________ > > --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 >-- Andre Ruiz <andre.ruiz@gmail.com> Curitiba, PR, Brasil _______________________________________________ --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/
What's the spec of the box? Lee -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Matt Roth Sent: 03 April 2006 18:48 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] 1.2.6 doesn't use mpg123? Matt wrote:>Ok.. see it... so now my question is.... which should I use? >Obviously a hold system using ulaw for hold files is going to use less >CPU, but is it more stable to have Asterisk playing the sound files? >Especially since it has to start a seperate stream for every on hold >person? Seems like in a busy call center.. it would be more efficient >to have 1 stream going to every caller, rather then multiple streams. > >Matt, Before switching our system from the rawplayer method to native MOH, I consulted Kevin Fleming. He said the impact on the system would be "not much, more memory usage though." <http://lists.digium.com/pipermail/asterisk-users/2006-February/141180.h tml> Right now we have seventy calls waiting in queues (all with native MOH) and 120 calls connected to agents. The box is jumping between 50%-60% idle. "ps auxm" shows 241 threads for Asterisk, but none of them take more than 0.8% CPU. Personally, I wouldn't mind seeing an option that allowed native MOH to pull from a single thread for each class. It would probably yield lower CPU utilization, but I'm not sure how difficult it would be to implement. If enough people are interested in this feature, it should be submitted through Mantis as a feature request. Matthew Roth InterMedia Marketing Solutions Software Engineer and Systems Developer _______________________________________________ --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/