[Asterisk-Dev] PLAY MP3 IN EAGI IS DOWN !!!

Steven Critchfield critch at basesys.com
Wed Nov 5 05:15:38 MST 2003


On Wed, 2003-11-05 at 05:28, Areski wrote:
> In the future, Asterisk project to support mp3 ?
> Is there so many problems with mp3 support, the fews test, 
> that I did with the old version, seemed conclusive !!!
> 
> Actually, Is there any tricks to stream mp3 ?

mp3 is more cpu intensive than needed for the medium you are working in.
Basically when you know the frequency range and the sample size and
sample rate, you can drop quite a bit of information from the stream
without it ever being missed. Then you can compress. 

Of course if you are playing the whole file and not going to allow some
DTMF interruption other than #, you can use 
"exec mp3play /var/lib/asterisk/mohmp3/03"

> On Tue, 2003-11-04 at 20:22, Steven Critchfield wrote:
> > On Tue, 2003-11-04 at 12:49, Areski wrote:
> > > Hello all,
> > > 
> > > 
> > > I just update the cvs version and the mp3 playing doesn't work !!!
> > > 
> > > 
> > > What's I m getting with asterisk:
> > > 
> > > WARNING[21517]: File file.c, Line 446 (ast_openstream): File 
> > > /var/lib/asterisk/mohmp3/03 does not exist in any format
> > > WARNING[21517]: File app_agi.c, Line 322 (handle_streamfile): Unable to
> > > open /var/lib/asterisk/mohmp3/03
> > > 
> > > 
> > > 
> > > What I m trying to do in an EAGI script ?
> > > 
> > > STREAM FILE /var/lib/asterisk/mohmp3/03
> > > 
> > > 
> > > That was working before on my old asterisk but not with the new cvs
> > > version ;( Anyone have an idea ?!?
> > 
> > Informational;
> > When it says it can't find it in any format, asterisk has gone through a
> > linked list of file suffixes that it knows how to play and checked to
> > see if they exist. 
> > 
> > Guess;
> > It looks like Mark removed the mp3 codec last night around 8:14pm CST.
> > This might have removed the mp3 file extension from the list of known
> > file types. If so, then that would explain the change.
> > 
> > [copy of Asterisk-cvs mailing list message]
> > Update of /usr/cvsroot/asterisk/codecs/mp3
> > In directory mongoose.digium.com:/tmp/cvs-serv12608/codecs/mp3
> > 
> > Removed Files:
> >         Makefile 
> > Log Message:
> > Remove really broken MP3 stuff in favor of G.726 in the near future
> > 
> > 
> > --- Makefile DELETED ---
> > 
> > 
> 
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
-- 
Steven Critchfield <critch at basesys.com>




More information about the asterisk-dev mailing list