[Asterisk-Users] Unable to get SetMusicOnHold working...
Fabrice Tereszkiewicz
fabrice.tz at eikonex.net
Tue Jul 1 07:37:06 MST 2003
There are my logs :
Asterisk Ready.
*CLI> -- Starting simple switch on 'Zap/1-1'
-- Executing SetMusicOnHold("Zap/1-1", "default") in new stack
-- Executing ResponseTimeout("Zap/1-1", "20") in new stack
-- Set Response Timeout to 20
-- Executing Dial("Zap/1-1", "OH323/192.168.1.215") in new stack
-- Called 192.168.1.215
Everything seems to be ok...
On Tue, 2003-07-01 at 12:58, 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
More information about the asterisk-users
mailing list