[asterisk-users] MusicOnHold works Externally, but not internally
Joseph
syscon780 at gmail.com
Tue Nov 3 12:24:50 CST 2009
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-bounces at lists.digium.com
>[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joseph
>Sent: Tuesday, November 03, 2009 11:28 AM
>To: asterisk-users at 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 [315 at 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
More information about the asterisk-users
mailing list