Hello,
Well, I've re-encoded all of my files with lame just like it says to for
Constant Bitrate:
prompt$ lame -b 128 -F file1.wav file1.mp3
but I'm still getting the error at Asterisk start time:
[res_musiconhold.so] => (Music On Hold Resource)
== Parsing '/etc/asterisk/musiconhold.conf': Found
Warning, flexibel rate not heavily tested!
Warning, flexibel rate not heavily tested!
== Registered application 'MusicOnHold'
== Registered application 'WaitMusicOnHold'
== Registered application 'SetMusicOnHold'
No crashes yet, but that doesn't usually happen for a day or so, any ideas?
Thanks,
MATT---
-----Original Message-----
From: Ken Godee [mailto:ken@perfect-image.com]
Sent: Monday, November 17, 2003 11:05 AM
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] mpg123 causing Asterisk Freeze?
mattf wrote:
> Hello,
>
> I am currently using MusicOnHold(mpg123), and it works just fine, but
every> once in a while I will get a flurry of warnings in the CLI like those
below> and Asterisk will freeze completely, and the only way to come out of it is
> with a kill -9 . Is mpg123 causing my problem? Is there a specific format
of> MP3 that should be used/avoided to not have errors like these? Any help
> would be greatly appreciated.
>
> Thanks,
>
> MATT---
>
> ERRORS:
>
> Skipped RIFF header!
> Warning, flexibel rate not heavily tested!
> Warning, flexibel rate not heavily tested!
> Warning, flexibel rate not heavily tested!
> Warning, flexibel rate not heavily tested!
> -- Started music on hold, class 'default', on Zap/4-1
> Junk at the beginning 52494646
> Skipped RIFF header!
> Warning, flexibel rate not heavily tested!
> -- Stopped music on hold on Zap/4-1
> Warning, flexibel rate not heavily tested!
> Junk at the beginning 49443303
> Warning, flexibel rate not heavily tested!
> Warning, flexibel rate not heavily tested!
I'll throw a guess on this one.....
Sounds like the mp3 your playing is "variable rate encoded" (most
mp3's
are) and * doesn't like it.
Convert the mp3 to nonvariable rate encoding, try like 128b, there's
plenty of tools around to do it.
I can't remember for sure, but the last time I tried a variable rate
encoded mp3 it didn't work at all and had to convert it.
That is if your mp3 is variable rate encoded.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users