[Asterisk-Users] Unable to get SetMusicOnHold working...

Fabrice Tereszkiewicz fabrice.tz at eikonex.net
Tue Jul 1 03:58:21 MST 2003


Hello, 

I'm trying to do something really easy : transfer a PSTN call to a H323
client. This works great. Now I'm trying to use the SetMusicOnHold
function. I din't find any doc about it, I've just seen some mails in
the list archive, but it still doesn't work.

That's my extension.conf :

[incoming]
exten => s,1,SetMusicOnHold,default
exten => s,2,Dial(OH323/192.168.1.215)

really short...
my musiconhold.conf :

[classes]
default => mp3:/var/lib/asterisk/mohmp3/

and there are mp3's in my /var/lib/asterisk/mohmp3/ directory. I can
hear music when I use :

exten => s,4,MP3Player(/var/lib/asterisk/mohmp3/rem.mp3)

So I don't know what to try, thanks for your help
-- 
Fabrice Tereszkiewicz <fabrice.tz at eikonex.net>




More information about the asterisk-users mailing list