I've been trying to play the default music on hold file, but no luck yet. here is my configuration: extensions.conf [incoming] exten => s,1,Dial,Zap/2|10 exten => s,2,Voicemail,u34 exten => s,102,Voicemail,b34 exten => 34,1,SetMusicOnHold,default Musiconhold.conf [classes] default => quietmp3:/var/lib/asterisk/mohmp3 ;loud => mp3:/var/lib/asterisk/mohmp3 ;random => quietmp3:/var/lib/asterisk/mohmp3,-z ;unbuffered => mp3nb:/var/lib/asterisk/mohmp3 ;quietunbuf => quietmp3nb:/var/lib/asterisk/mohmp3 zapata.conf musiconhold=default Any solution to this issue? Thanks
It's obvious you've at least tried to figure it out since you've used the SetMusicOnHold app, so I'll be nice. Try MusicOnHold() http://www.voip-info.org/wiki-Asterisk+cmd+MusicOnHold -----Original Message----- From: leonardo [mailto:leonardomateo@optonline.net] Sent: Sunday, May 09, 2004 9:03 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Help!! Music On Hold I've been trying to play the default music on hold file, but no luck yet. here is my configuration: extensions.conf [incoming] exten => s,1,Dial,Zap/2|10 exten => s,2,Voicemail,u34 exten => s,102,Voicemail,b34 exten => 34,1,SetMusicOnHold,default Musiconhold.conf [classes] default => quietmp3:/var/lib/asterisk/mohmp3 ;loud => mp3:/var/lib/asterisk/mohmp3 ;random => quietmp3:/var/lib/asterisk/mohmp3,-z ;unbuffered => mp3nb:/var/lib/asterisk/mohmp3 ;quietunbuf => quietmp3nb:/var/lib/asterisk/mohmp3 zapata.conf musiconhold=default Any solution to this issue? Thanks _______________________________________________ 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
On Sunday 09 May 2004 02:02 pm, leonardo wrote:> I've been trying to play the default music on hold file, but no luck yet. > > here is my configuration: > > extensions.conf > > [incoming] > exten => s,1,Dial,Zap/2|10 > exten => s,2,Voicemail,u34 > exten => s,102,Voicemail,b34 > exten => 34,1,SetMusicOnHold,defaultadd here: exten => 34,2,Dial,Zap/2 or some other channel Than, when you get a call on (for example) extension 34, hit the "Hold" button on your phone, and happiness should ensue. Anon