Thanks from me as well.  I had the same error but just gave up on that mp3
and used another one that worked.  Now I know how to fix it.

As for replies like:
"Learn to create a new thread.

Make sure the file is i the correct directory. The error message says
the file doesn't exist."

They offer no help whatsoever and really start to get on my nerves.


----- Original Message ----- 
From: "Adams, Gavin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 23, 2003 10:02 AM
Subject: RE: [Asterisk-Users] error message playing .mp3


> -----Original Message-----
> From: Steven Critchfield [mailto:[EMAIL PROTECTED]
> On Tue, 2003-09-23 at 07:31, listas iPfone wrote:
> > Hi All
> >
> > Somebody knows why asterisk gives me that error wile playing .mp3
files?
> >
> > The files play well but the message aperas any way:


> Make sure the file is i the correct directory. The error message says
> the file doesn't exist.

How would * be able to play the file if it didn't exist? MP3 playing
code is touchy on more... "robust" MP3 files. Gavin's helpful hints:

1) Capture or down-convert to <= 160Kbps data rate
2) Mono
3) Remove all ID3 tags
4) Remove extraneous information such as album art, etc.

Basically, use sox and LAME to strip the MP3 file to bare minimum.

Also, I've found that some of the auto-magic Music-on-Hold (MOH) playing
code doesn't always work, or throws exceptions/core dumps in the mohmp3
directory. I use the following bits in my extensions.conf to insure
proper playback:

exten => s,1,Answer
exten => s,2,SetMusicOnHold,random    ; or whatever MOH defined in
musiconhold.conf
exten => s,3,Dial ; or other commands after that

[snip - top-posting response deleted]

Regards,

--- Gavin
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to