[asterisk-users] How to set MWI

Michiel van Baak michiel at vanbaak.info
Mon Aug 28 12:41:55 MST 2006


On 13:12, Mon 28 Aug 06, Michael Sampson wrote:
> This is what I have so far
> 
> [app-set-mwi]
> exten => *35,1,Answer
> exten => *35,n,Wait(1)
> exten => *35,n,Playback(please-enter-your&extension)
> exten => *35,n,Read(fromext,then-press-pound,,)
> exten => *35,n,Wait(1)
> exten => *35,n,system(touch 
> /var/spool/asterisk/voicemail/default/${fromext}/INBOX/msg0001.txt);
> exten => *35,n,Macro(hangupcall,)
> 
> ; end of [app-set-mwi]
> 
> For some reason I get a busy signal when I dial *35 from an ext.
> I did some playing around and found that if I changed the heading to 
> look like this
> 
> [app-cf-busy-off]
> exten => *35,1,Answer
> exten => *35,n,Wait(1)
> exten => *35,n,Playback(please-enter-your&extension)
> exten => *35,n,Read(fromext,then-press-pound,,)
> exten => *35,n,Wait(1)
> exten => *35,n,system(touch 
> /var/spool/asterisk/voicemail/default/${fromext}/INBOX/msg0001.txt);
> exten => *35,n,Macro(hangupcall,)
> 
> ; end of [app-cf-busy-off]
> 
> It works fine. I'm pretty new to editing the extensions.conf files, why 
> can't I make a new app and have it work?

did you do
include => app-set-mwi
in the context where the phone is?
I guess not, so the phone wont know about *35
-- 
Michiel van Baak
michiel at vanbaak.eu
http://michiel.vanbaak.eu
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD

"Why is it drug addicts and computer afficionados are both called users?"




More information about the asterisk-users mailing list