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

Low, Adam ALow at Prioritytelecom.com
Mon Jul 28 01:24:00 MST 2003


I've not got a sound card in my RH9 * box and music on hold works great as long as you have mpg123 in /usr/bin


> -----Original Message-----
> From: wipeout at linuxmail.org [mailto:wipeout at linuxmail.org] 
> Sent: 27 July 2003 20:08
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] can't get musiconhold to work
> 
> 
> Yes always end your conf files with blank lines otherwise you 
> may get weird results from asterisk..
> 
> as for the sond card requirement I don't know all my systems 
> have onboard sound..
> 
> 
> > 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
> > > 
> > > 
> > 
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> -- 
> ______________________________________________
> http://www.linuxmail.org/
> Now with e-mail forwarding for only US$5.95/yr
> 
> Powered by Outblaze
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 


********* DISCLAIMER ********* 

This message and any attachment are confidential and may be privileged or otherwise protected from disclosure and may include proprietary information. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person 





More information about the asterisk-users mailing list