[Asterisk-Users] can't get musiconhold to work
The Traveller
traveler at xs4all.nl
Sat Jul 26 03:46:19 MST 2003
Hey AJ,
On Fri, Jul 25, 2003 at 19:23:50 -0400, firedude at shorelinuxsolutions.com wrote:
> I can't seem to get musiconhold to work. I'm running asterisk on a RH9
> box, I have the mpg123 package installed. In my zapata.conf file I have
> the line MusicOnHold=default . In my musiconhold.conf file, in the
> classes section I uncommented default and loud. In my extensions.conf
> file I have a set musiconhold line. However if I get a call and I either
> put it on hold or hit flash I get no music. The sample mp3 file is in the
> mohmp3 directory. Does anyone know what I might be doing wrong or how I
> might be able to correct it?
>
> Also I have tried assigning a extension with the MusicOnHold application
> and it still doesn't seem to work.
I'm running RH9 here as well and came across the same problem. RH9
seems to use mpg321 by default and, when you run `up2date' or a
similar tool, that will supercede mpg123 and replace it with mpg321.
To add to the confusion, RH9's mpg321-package also symlinks mpg321 to mpg123.
I solved it by putting the real mpg123 in "/usr/local/bin/" and changing
the path accordingly in "apps/app_mp3.c" and "res/res_musiconhold.c".
Grtz,
Oliver
More information about the asterisk-users
mailing list