You have to call Dial with ||m option to have music-on-hold while transfering
Read the "show application dial" Martin On 1 Jul 2003, Fabrice Tereszkiewicz wrote: > 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 <[EMAIL PROTECTED]> > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
