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

Lee Archer lee.archer at pentagon-systems.com
Sat Apr 1 07:07:41 MST 2006


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 at lists.digium.com
[mailto:asterisk-users-bounces at 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 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


###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/



More information about the asterisk-users mailing list