planetWayne.com - Forums
Rants and Raves and Generally Anything
Voice Mail Selection menu

 
Post new topic   Reply to topic    planetWayne.com - Forums Forum Index -> VoIP
View previous topic :: View next topic  
Author Message
planetWayne
Site Admin


Joined: 30 Jan 2003
Posts: 280

PostPosted: Sun Sep 19, 2004 7:26 pm    Post subject: Voice Mail Selection menu Reply with quote

Remember this is mainly aimed at a small house set up and you can see where I'm coming from.

Although each phone has its own personal voice mail (a standard Asterisk feature) we also have a mailbox for the 'house' - more like an answering machine type thing realy.

The Cisco phones have a 'messages' key, which can be assigned to dial a number. So, as we now have two voice mail boxes to get to, we need a little menu to select where to go. This is where the menu comes into play.

Again another menu generated from Rhetorical.com
Quote:
Voice mail selection,
Press 1 for general,
Press 2 for personal,
3 for the voice mail system,
4 to leave a message,
or # to exit.
(# in this case pronounced 'hash' not 'pound'!)

As you can see from that there are 2 other options.
3 for the voice mail system direct, meaning you get asked for your mailbox and password and
4 to leave a message in another mailbox.

Again a bit for the globals
Code:
[globals]
FamilyMailBox=150
VoiceMailExt=510

FamilyMailBox is the number of the mailbox set up and used as the houses 'answering machine'
VoiceMailExt is the number that you dial to get to the menu (and is programmed in the Cisco's config as the number dialed when you press the messages button)

This bit goes in the context where your phones are - so you can dial the menu.
Code:
exten => ${VoiceMailExt},1,goto(voicemailselect,s,1)


And this is the menu system itself.

Code:
; This ones to give you a selection when going into the voicemail system from the phone.
; other than the quit '#' or timeouts - each section gets you back into our voicemail selection menu again.
[voicemailselect]
; play the intro
exten => s,1,Answer
exten => s,2,wait(0.5)
exten => s,3,background(aa-VoiceMailSelect)

; if you press '1' then goto the shared mailbox
exten => 1,1,wait(0.5)
exten => 1,2,Voicemailmain(s${FamilyMailBox})
exten => 1,3,goto(s,1)

; press '2' for your 'personal' or phone mailbox
exten => 2,1,wait(0.5)
exten => 2,2,Voicemailmain(s${CALLERIDNUM})
exten => 2,3,goto(s,1)

; press '3' to get to the main voicemail system - lets you pick the mailbox you want to get to.
exten => 3,1,wait(0.5)
exten => 3,2,Voicemailmain()
exten => 3,3,goto(s,1)

; press '4' to leave a message in a voicemail box
exten => 4,1,wait(0.5)
exten => 4,2,voicemail()
exten => 4,3,goto(s,1)

; press '#' to quit
exten => #,1,goto(t,1)

; or if you 'time out' then quit and hangup.
exten => t,1,playback(goodbye)
exten => t,2,Hangup


aa-VoiceMailSelect is the name of the file that we created with Rhetorical

This menu will keep repeating untill you either time out (dont press anything) or press # to exit.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    planetWayne.com - Forums Forum Index -> VoIP All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group