Hi all, I'm trying to make some simple MOH (Music On Hold) working. So far I've failed miserably - so I turn here for help. Basically I've been using the wiki and all the sample confs I could from there and via google. The queue system seems to work fine with my limited setup. Just 2 IAX2 clients where I keep Client B busy (by making it listen to mp3 via ext. 777) but logged into the queue. Client A then calls the queue (tried both ext. 7320 and 6320) and the announcements are fine ("you are next in line" etc.). When I make Client B not busy - it starts ringing like it should on the queue. But I never hear the MOH on Client A. Also - calling 777 does play the mp3 fine - like it should - looped :) Speaking of 777, I also did: chmod 755 /var/lib/asterisk/mohmp3/* It's not really stopping me from rolling out this system - but it would be very nice to have. Any help/pointers appriciated. Thanks! Various stuff that might be relevant... zapata.conf -SNIP- musiconhold=default -SNAP- musiconhold.conf -SNIP- [classes] default => mp3:/var/lib/asterisk/mohmp3 -SNAP- extensions.conf -SNIP- [macro-queue1] exten => s,1,Answer exten => s,2,Queue(${ARG1}) [macro-queue] exten => s,1,Answer exten => s,2,SetMusicOnHold(default) exten => s,3,DigitTimeout,2 exten => s,4,ResponseTimeout,3 exten => s,5,Background(groovy) exten => s,6,Queue(${ARG1}) [test] exten => 6320,1,Macro(queue,Q320) exten => 6330,1,Macro(queue,Q330) exten => 6340,1,Macro(queue,Q340) exten => 6350,1,Macro(queue,Q350) exten => 6510,1,Macro(queue,Q510) exten => 69000,1,Macro(queue,Q9000) exten => 7320,1,Macro(queue1,Q320) exten => 777,1,Answer exten => 777,2,MP3Player(/var/lib/asterisk/mohmp3/trickme.mp3) exten => 777,3,Goto(777,1) -SNAP- queues.conf -SNIP- [Q320] announce-frequency = 5 announce-holdtime = yes strategy = roundrobin music = default member => Agent/310,100 member => Agent/312,90 member => Agent/313,10 -SNAP- outtake from full logfile at http://relay.dk/~avizion/asterisk/paste1.txt PS: Should I attach this paste1.txt - or store it elsewhere? -- avizion on irc.freenode.org #asterisk
Hi all, I'm trying to make some simple MOH (Music On Hold) working. So far I've failed miserably - so I turn here for help. Basically I've been using the wiki and all the sample confs I could from there and via google. The queue system seems to work fine with my limited setup. Just 2 IAX2 clients where I keep Client B busy (by making it listen to mp3 via ext. 777) but logged into the queue. Client A then calls the queue (tried both ext. 7320 and 6320) and the announcements are fine ("you are next in line" etc.). When I make Client B not busy - it starts ringing like it should on the queue. But I never hear the MOH on Client A. Also - calling 777 does play the mp3 fine - like it should - looped :) Speaking of 777, I also did: chmod 755 /var/lib/asterisk/mohmp3/* It's not really stopping me from rolling out this system - but it would be very nice to have. Any help/pointers appriciated. Thanks! Various stuff that might be relevant... zapata.conf -SNIP- musiconhold=default -SNAP- musiconhold.conf -SNIP- [classes] default => mp3:/var/lib/asterisk/mohmp3 -SNAP- extensions.conf -SNIP- [macro-queue1] exten => s,1,Answer exten => s,2,Queue(${ARG1}) [macro-queue] exten => s,1,Answer exten => s,2,SetMusicOnHold(default) exten => s,3,DigitTimeout,2 exten => s,4,ResponseTimeout,3 exten => s,5,Background(groovy) exten => s,6,Queue(${ARG1}) [test] exten => 6320,1,Macro(queue,Q320) exten => 6330,1,Macro(queue,Q330) exten => 6340,1,Macro(queue,Q340) exten => 6350,1,Macro(queue,Q350) exten => 6510,1,Macro(queue,Q510) exten => 69000,1,Macro(queue,Q9000) exten => 7320,1,Macro(queue1,Q320) exten => 777,1,Answer exten => 777,2,MP3Player(/var/lib/asterisk/mohmp3/trickme.mp3) exten => 777,3,Goto(777,1) -SNAP- queues.conf -SNIP- [Q320] announce-frequency = 5 announce-holdtime = yes strategy = roundrobin music = default member => Agent/310,100 member => Agent/312,90 member => Agent/313,10 -SNAP- outtake from full logfile at http://relay.dk/~avizion/asterisk/paste1.txt PS: Should I attach this paste1.txt - or store it elsewhere? -- avizion on irc.freenode.org #asterisk
Hall, Eric M.
2004-Jul-28 18:33 UTC
[Asterisk-Users] Music On Hold - not working for me...
Have you tried to run * in debug mode? I have the same problem and I found that if I run * in debug (asterisk -vvvvvgcd) mode MOH works. I have no idea why but that is the only way I can get MOH to work for me. Good luck and please report back to the list if you find a fix! -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of avizion Sent: Wednesday, July 28, 2004 12:58 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Music On Hold - not working for me... Hi all, I'm trying to make some simple MOH (Music On Hold) working. So far I've failed miserably - so I turn here for help. Basically I've been using the wiki and all the sample confs I could from there and via google. The queue system seems to work fine with my limited setup. Just 2 IAX2 clients where I keep Client B busy (by making it listen to mp3 via ext. 777) but logged into the queue. Client A then calls the queue (tried both ext. 7320 and 6320) and the announcements are fine ("you are next in line" etc.). When I make Client B not busy - it starts ringing like it should on the queue. But I never hear the MOH on Client A. Also - calling 777 does play the mp3 fine - like it should - looped :) Speaking of 777, I also did: chmod 755 /var/lib/asterisk/mohmp3/* It's not really stopping me from rolling out this system - but it would be very nice to have. Any help/pointers appriciated. Thanks! Various stuff that might be relevant... zapata.conf -SNIP- musiconhold=default -SNAP- musiconhold.conf -SNIP- [classes] default => mp3:/var/lib/asterisk/mohmp3 -SNAP- extensions.conf -SNIP- [macro-queue1] exten => s,1,Answer exten => s,2,Queue(${ARG1}) [macro-queue] exten => s,1,Answer exten => s,2,SetMusicOnHold(default) exten => s,3,DigitTimeout,2 exten => s,4,ResponseTimeout,3 exten => s,5,Background(groovy) exten => s,6,Queue(${ARG1}) [test] exten => 6320,1,Macro(queue,Q320) exten => 6330,1,Macro(queue,Q330) exten => 6340,1,Macro(queue,Q340) exten => 6350,1,Macro(queue,Q350) exten => 6510,1,Macro(queue,Q510) exten => 69000,1,Macro(queue,Q9000) exten => 7320,1,Macro(queue1,Q320) exten => 777,1,Answer exten => 777,2,MP3Player(/var/lib/asterisk/mohmp3/trickme.mp3) exten => 777,3,Goto(777,1) -SNAP- queues.conf -SNIP- [Q320] announce-frequency = 5 announce-holdtime = yes strategy = roundrobin music = default member => Agent/310,100 member => Agent/312,90 member => Agent/313,10 -SNAP- outtake from full logfile at http://relay.dk/~avizion/asterisk/paste1.txt PS: Should I attach this paste1.txt - or store it elsewhere? -- avizion on irc.freenode.org #asterisk _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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