[asterisk-users] muscionhold error message

Jonathan Addleman jonathan.addleman at mail.mcgill.ca
Fri May 11 20:08:50 MST 2007


pedro noticioso wrote:
> hi there guys!
> 
> how can I eliminate this message?
> 
> [May 11 11:00:46] WARNING[7039]: res_musiconhold.c:506
> monmp3thread: Unable to spawn mp3player
> [May 11 11:09:06] WARNING[7039]: res_musiconhold.c:424
> spawn_mp3: Found no files in
> '/var/lib/asterisk/mohmp3'

I'm no expert, but haven't seen other replies here, so I'll throw out my
suggestions.

I don't have that package (still using testing's 1.2 package) but I
expect the /etc/asterisk/musiconhold.conf uses mp123 to process the
music on hold files. That's not Free software though (and isn't really
maintained anymore, I think...), so I don't believe it's included in
Debian, though you can get it from http://www.debian-multimedia.org/ if not.

You could also just change the musiconhold.conf file I expect.

> This is on debian etch 4.0
> asterisk 1.4, it happens quite often everyday and I
> have to scroll a lot to try to find other error
> messages.
> 
> btw can I just put some musica wav files in
> /var/lib/asterisk/mohmp3 ? that would be great to
> leave asterisk's processor alone

You can use pretty much anything, since you can define a decoder in the
musiconhold.conf file.
http://www.voip-info.org/wiki-Asterisk+config+musiconhold.conf has some
more info, though it's pretty confusing since it has info for different
versions of asterisk, and some discussion interspersed...

-- 
Jon-o Addleman - http://www.redowl.ca


More information about the asterisk-users mailing list