[Asterisk-Users] 1.2.6 doesn't use mpg123?

Andre Ruiz andre.ruiz at gmail.com
Mon Apr 3 07:28:09 MST 2006


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 at 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 at 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 at lists.digium.com
> > [mailto:asterisk-users-bounces at 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 at 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 at lists.digium.com
> > > [mailto:asterisk-users-bounces at 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 at 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 at pentagon-systems.com>
> > > > To:     "Asterisk Users Mailing List - Non-Commercial Discussion"
> > > <asterisk-users at 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 at lists.digium.com
> > > > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Matt
> > > > Sent: 31 March 2006 22:36
> > > > To: jnovack at 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 at 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 at gmail.com>
Curitiba, PR, Brasil



More information about the asterisk-users mailing list