[Asterisk-Users] Odd MOH problem...

Patrick Friedel pfriedel at copweb.com
Tue Jul 12 15:07:31 MST 2005


There don't appear to be any running after asterisk dies, while asterisk 
is alive I have this:

voip:/etc/asterisk# ps aux | grep mpg
root     15785  0.0  0.2  2316 1032 pts/1    S+   16:55   0:00 /bin/sh 
/usr/local/bin/mpg123 -q -s --mono -r 8000 -b 2048 -f 4096 -z [a whole 
load of the right filenames here]

  Upon investigation, though, I find /usr/local/bin/mpg123 to be, in 
fact, this:

voip:/etc/asterisk# cat /usr/local/bin/mpg123
#!/bin/sh

cat /home/ats/test.wav

  Hmm.  *sigh*  Thanks for making me use my brain muscle.


Bryce Chidester wrote:

> When you restarted Asterisk, did you kill the mpg123 processes?
>
>
> -Bryce
> bryce at rhinoequipment.com
>
>
> NOTICE: The views expressed in this e-mail do not neccesarily reflect  
> those of my employer. This is a personal e-mail and as such, the  
> opinions expressed are my own.
>
> On Jul 12, 2005, at 11:52, Patrick Friedel wrote:
>
>> So I decided, for the formal asterisk rollout, to change over to  
>> less commercially-infringing MOH than the prior admin had thrown on  
>> the server.  (plus: it was blown out and nasty sounding over the  
>> phones.  Ew.)  I changed the files in /var/lib/asterisk/mohmp3 to  
>> something else (can't dig up the link, but it was from the voip- info 
>> wiki).  My musiconhold.conf looks like this:
>>
>> ;
>> ; Music on hold class definitions
>> ;
>> [classes]
>> default => quietmp3:/var/lib/asterisk/mohmp3,-z
>>
>>  When I put a phone on hold, I get this in the console:
>>
>>    -- Started music on hold, class 'default', on SIP/pjf-51af
>>
>>  And yet, the MOH is still the same old song from before when I put  
>> a caller on hold.  Asterisk has restarted, the phones (snom 360s)  
>> don't have their personalized SIP MOH settings set, the offending  
>> file has been deleted from the filesystem, I can't find anything  
>> else that sets the MOH to a different class, umm.  Any ideas?
>>
>>  Out of curiousity, I tried setting up this:
>>
>> exten => 6101,1,Answer
>> exten => 6101,2,MusicOnHold(default)
>>
>>  Same results.
>> _______________________________________________
>> Asterisk-Users mailing list
>> Asterisk-Users at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>> To UNSUBSCRIBE or update options visit:
>>   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
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list