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?

Michael Sampson
Information Systems Manager
Customer Contact Services
[EMAIL PROTECTED]
952-936-4000



Doug Lytle wrote:

Michael Sampson wrote:

another phone system is being used for voicemail. This system is hooked up to asterisk via a pri. it will dial into asterisk and set the code when there is a voicemail.

To turn MWI on:

touch /var/lib/voicemail/YourVMContextHere/${EXTEN}/INBOX/msg0000.txt

I'm not sure on how to turn it off, other then removing or moving the msg0000.txt out of the INBOX.

Doug

_______________________________________________
--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

Reply via email to