Extension 6000 is an extension that i created to try MusicOnHold, and the 2391 is the caller of rxtensions 6000.
I have the problem with two sip client, if one of them set on hold the other one, i can't hear any sounds also if i see "Started music on Hold clasess....". I also tryied this extensions and works fine: exten => 7000,1,Answer exten => 7000,2,MP3Player(/var/lib/asterisk/mohmp3/fpm-calm-river.mp3) Any ideas ? Giordano -----Messaggio originale----- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Joseph Inviato: mercoledì 29 giugno 2005 20.09 A: Asterisk Users Mailing List - Non-Commercial Discussion Oggetto: Re: [Asterisk-Users] Music oh hold On Wed, 2005-06-29 at 19:35 +0200, Giordano Grandis wrote: > Sorry, i also tried this: > > exten => 6000,1,Answer > exten => 6000,2,MusicOnHold(default) > > and i got this result: > > *CLI> -- Executing Answer("SIP/2391-8cdd", "") in new stack > -- Executing MusicOnHold("SIP/2391-8cdd", "default") in new stack > Jun 29 19:33:47 WARNING[1616]: res_musiconhold.c:354 moh0_exec: Unable > to start music on hold (class 'default') on channel SIP/2391-8cdd > == Spawn extension (local, 6000, 2) exited non-zero on > 'SIP/2391-8cdd' You put "MusicOnHold(default)" in exten 6000 and you are dialing 2391. Why don't you put "MusicOnHold(default)" in exten 2391 as well. -- #Joseph _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
