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

Jeremy McNamara jj at indie.org
Sat Jul 26 06:56:32 MST 2003


3)  someone needs to hack the playing of precompressed .gsm files for 
MusicOnHold.  This would save a tremendous amount of resources just to 
play frigging music.


Jeremy McNamara

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