[Asterisk-Dev] Voicemail -> new feature request

Roy Sigurd Karlsbakk roy at karlsbakk.net
Sun Oct 16 04:13:45 MST 2005


well

adding this to voicemailmain will be silly IMHO

you can do this with, say, something like this, giving the user an  
option of enabling voicemail by typing *91# and waiting for the tone,  
and turning it off with #91#. More error checking would be  
appropriate, though......

exten => *91#,1,Set(DB(vm/${CALLERID(number)})=1)
exten => *91#,2,Playtones(dialrecall)
exten => *91#,3,Wait(5)
exten => *91#,4,Hangup

exten => #91#,1,DBdel(vm/${CALLERID(number)})
exten => #91#,2,Playtones(dialrecall)
exten => #91#,3,Wait(5)
exten => #91#,4,Hangup

exten => _X.,1,Dial(${EXTEN})
exten => _X.,2,GotoIf($[ ${DB(vm/${EXTEN})} = 1 ]?voicemail:hangup)
exten => _X.,3(hangup),Hangup
exten => _X.,4(voicemail),NoOp(send user to voicemail, busy or  
unavail...)

On 14. okt. 2005, at 15.35, Kib Eki wrote:

> Hi,
>
> I don't if was yet an issue.
>
> It really would be nice if each user is able to active/deactivate  
> the mail forwarding of his voicemail via the VoiceMailMenu.
>
> Regard
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>




More information about the asterisk-dev mailing list