[Asterisk-Users] can't get musiconhold to work

firedude at shorelinuxsolutions.com firedude at shorelinuxsolutions.com
Sun Jul 27 07:05:27 MST 2003


So you mean a just simple blank line at the end of the musiconhold.conf 
file or the extensions.conf file?  
Second question, though it might seem a bit stupid, do I perhaps need a 
sound card on the box that asterisk is running on?  I don't think this 
should be the case but I'm just wondering.
Is there anything I can do to manually make it run with asterisk?  I guess 
what I'm trying to say here is in ps aux I see no example of mpg123 
running that tells me it has not been executed.  What is the process that 
asterisk uses to execute it?  Is it executed each time a caller is put on 
hold or are instances started in the background when asterisk begins 
(listen state)?
AJ



On Sat, 26 Jul 2003, WipeOut . wrote:

> Only things I can suggest is..
> 
> 1. Execute it from a command line and make sure it runs.. If not you may hevr to compile it from source..
> 
> 2. Make sure you have a new line at the end of your .conf file cos * often freaks out about that..
> 
> Other than that I don't know why its not working for you..
> 
> 
> > No instances of it running when I look at processes.
> > AJ
> > 
> > 
> > 
> > 
> > On Sat, 26 Jul 2003, WipeOut . wrote:
> > 
> > > Sorry I though you had compiled from source...
> > > 
> > > When * is running do "ps-aux | grep mpg123" and make sure it is actually running..
> > > 
> > > Later..
> > > 
> > > > Wipeout
> > > > I'm using the exact mpg123 binary that you sent me.  When I execute a 
> > > > "whereis mpg123" it returns /usr/bin.  To take it a step further I've done 
> > > > "whereis mpg321" and "rpm -q mpg321" just to make sure mpg321 is not on 
> > > > the system.  The one thing that's confusing the heck out of me is the fact 
> > > > that the rpm that I installed seems to have installed in /usr/bin whereas 
> > > > everybody else's installed in /usr/local/bin.  Any other ideas?  I'm 
> > > > growing very frustrated.
> > > > AJ
> > > > 
> > > > 
> > > > 
> > > > On Sat, 26 Jul 2003, WipeOut . wrote:
> > > > 
> > > > > IIRC I had the same problem becasue the package will install the mpg123 binary to /usr/local/bin and * seems to look in /usr/bin so just copy the mpg123 executable to /usr/bin and it should work..
> > > > > 
> > > > > Later..
> > > > > 
> > > > > > 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.
> > > > > > AJ
> > > > > > 
> > > > > > _______________________________________________
> > > > > > Asterisk-Users mailing list
> > > > > > Asterisk-Users at lists.digium.com
> > > > > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > > 
> > > > > 
> > > > 
> > > > _______________________________________________
> > > > Asterisk-Users mailing list
> > > > Asterisk-Users at lists.digium.com
> > > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > 
> > > 
> > 
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 




More information about the asterisk-users mailing list