In theory, no; but I'd be curious to see if this snippet "fixes" the OP's problem: >> exten => 315,1,Answer >> exten => 315,2,SetMusicOnHold(default) >> exten => 315,3,Dial(SIP/315,25,mw)
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Garth van Sittert Sent: Tuesday, November 03, 2009 3:18 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] MusicOnHold works Externally,but not internally Do you not have to answer the channel before the MOH can happen? Joseph wrote: > No, the same happens when I use SIP phone, no music on internal call. > > -- > Joseph > > > On 11/03/09 13:10, Danny Nicholas wrote: > >> I suspect that IAX is the culprit... >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Joseph >> Sent: Tuesday, November 03, 2009 12:25 PM >> To: Asterisk Users Mailing List - Non-Commercial Discussion >> Subject: Re: [asterisk-users] MusicOnHold works Externally, but not >> internally >> >> 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: [email protected] >>> [mailto:[email protected]] On Behalf Of Joseph >>> Sent: Tuesday, November 03, 2009 11:28 AM >>> To: [email protected] >>> 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 >> > > _______________________________________________ > -- 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 > _______________________________________________ -- 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 _______________________________________________ -- 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
