[Asterisk-Users] mpg123 causing Asterisk Freeze?
Ken Godee
ken at perfect-image.com
Mon Nov 17 09:04:34 MST 2003
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.
More information about the asterisk-users
mailing list