[asterisk-users] change moh during a call?

Thomas Stein thomas.stein at knowledgetools.de
Mon Jun 11 08:37:57 CDT 2007


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.
-- 
knowledgeTools®  ... managing complexity.
--------------------------------------------------
knowledgeTools International GmbH 
Wallstraße 15 / 15 a 
10179 Berlin 

Fon: +49 30 726 169 20
Fax: +49 30 726 169 249 

thomas.stein at knowledgetools.de 
www.knowledgetools.de 

Sitz  Berlin, AG Berlin-Charlottenburg, HRB 86378 
Geschäftsführer: Oliver Seyboldt, Reinhard Kunz
--------------------------------------------------

This eMail communication (and any attachment/s) may contain confidential or 
privileged information and is intended only for the individual(s) or entity 
named above and to others who have been specifically authorized to receive 
it. If you are not the intended recipient, please do not read, copy, use or 
disclose the contents of this communication to others. Please notify the 
sender that you have received this e-mail in error by reply e-mail, and 
delete the e-mail subsequently. Thank you.


More information about the asterisk-users mailing list