[asterisk-users] change moh during a call?

Eric "ManxPower" Wieling eric at fnords.org
Mon Jun 11 13:31:56 CDT 2007


"r" should never be used on the Dial line.

Anthony Francis wrote:
> Add a r option with that extension so that way when it is called it will 
> ring and then when you put it on hold it will play your moh. You can 
> also set the MOH in sip.conf, but you will still get the same behavior 
> you have now.
> 
> Thomas Stein wrote:
>> Hello.
>>
>> Is it possible to change the defined moh sound file within an extension?
>>
>> I have:
>>
>> exten => 18,1,Answer
>> exten => 18,n,Wait(3)
>> exten => 18,n,SetMusicOnHold(durchwahl)
>> exten => 18,n,Dial(SIP/118,15,m)
>> exten => 18,n,Hangup
>>
>> Now i have the situation someone calls and my phone is ringing while 
>> moh (durchwahl) is playing. When i pickup the call and press the hold 
>> button during the call moh (durchwahl) is playing as moh. Thats not 
>> what i want. Can i define another file within this extension?
>> regards
>> t.
>>   
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 



More information about the asterisk-users mailing list