Yes, your sample works! So why this below isn't working: exten => 315,1,SetMusicOnHold(default) exten => 315,2,Dial(SIP/315,25,mw)
It works only when I dial IN from PSTN line, dial locally directly 315 - there is no music. -- Joseph On 11/03/09 11:45, Danny Nicholas wrote: >Try this: >exten => 315,1,Answer >exten => 315,2,SetMusicOnHold(default) >exten => 315,n,WaitMusicOnHold(20) >exten => 315,n,Background(vm-goodbye) >exten => 315,n,Hangup > >-----Original Message----- >From: asterisk-users-boun...@lists.digium.com >[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Joseph >Sent: Tuesday, November 03, 2009 11:28 AM >To: asterisk-users@lists.digium.com >Subject: [asterisk-users] MusicOnHold works Externally, but not internally > > MusicOnHold works only when I dial IN from PSTN line (Externally), when I >dial local extension there is no music.. > >exten => 315,1,Dial(${family},25,m(penguin)w) > >There are no error messages: > >- Accepting DIAL from 10.0.0.108, formats = 0x4 >- Executing [...@internal:1] Dial("IAX2/iaxy-322-14962", >"SIP/218|25|m(penguin)w") in new stack >- Called 218 >- Started music on hold, class 'penguin', on IAX2/iaxy-322-14962 >- SIP/218-00770c40 is ringing _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users