[Asterisk-Users] Cisco phones and Messages and Forward ToVM keys

Brian lists001 at brianchristie.com
Thu Jul 15 14:14:41 MST 2004


; Below assumes you are using the same number for Voicemail boxes as
extensions

; if ${RDNIS} is blank then GotoIf will go to extension 2, otherwise it
will go to extension 102
exten => 8500,1,GoToIf($[X${RDNIS} = X]?2:102)
exten => 8500,2,VoiceMailMain(s${CALLERIDNUM})
exten => 8500,3,Hangup
exten => 8500,102,VoiceMail(u${RDNIS})
exten => 8500,103,Hangup

; you should now be able to press the "Messages" key and get Voicemail
man, and press the "ToVM" key when you have an incoming call and have
the call immediately forwarded to your voicemail with the unavailable
greeting.




More information about the asterisk-users mailing list