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

Michael Manousos manousos at inaccessnetworks.com
Tue Jul 1 09:00:17 MST 2003


Fabrice Tereszkiewicz wrote:
> 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... 

This happens because of a bug in asterisk-oh323 (chan_oh323).
I have found it and fixed it, so just wait for the next release :)


Michael.



> 
> 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
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list