System menu that permits Pana users to access Asterisk features


The system menu


* From extensions.conf

;
; A Panasonic handset user can get access to the system menu by
; picking up CO3 or CO4 and dialing Operator (zero). This is provided
; in the contexts co3out and co4out.
;
; see Force VoicePulse or BroadVoice outbound if user selects CO3 or CO4 for example
;
;
;********************************************************************
; BEGIN - System Menu
;********************************************************************
;
[system-menu-main]
;
; provide user access to their voice mail inbox
; let user leave voice mail for another user
; provide user access to find me
;
; prompts to record
; custom/system-menu = tell them where they are
; custom/your-voicemail = let them choose to check their vm
; custom/leave-voicemail = let them choose to leave vm for someone
; custom/find-me = let them choose to track someone down
;
exten => s,1,Background(custom/system-menu)
exten => s,2,Wait(1)
exten => s,3,Background(custom/your-voicemail)
exten => s,4,Background(custom/leave-voicemail)
exten => s,5,Background(custom/find-me)
exten => s,6,Background(custom/system-menu-diag)
exten => s,7,Background(custom/2repeat) ; play the menu messages
exten => s,8,Background(custom/2hangup) ; play the menu messages
exten => s,9,DigitTimeout,1 ; give them 1 seconds between digits
exten => s,10,ResponseTimeout,60 ; give them 60 seconds to make a choice
;
exten => _1,1,Macro(system-get-vmail)
exten => _1,2,Goto(s,1)
;
exten => _2,1,Macro(leave-voicemail)
exten => _2,2,Goto(s,1)
;
exten => _3,1,Macro(system-findme)
exten => _3,2,Goto(s,1)
;
exten => _4,1,Goto(menu-diag,s,1)
;
; Repeat the previous menu
exten => *,1,Goto(s,1)
;
; #=hangup
exten => #,1,Background(goodbye)
exten => #,2,NoOp
exten => #,3,Hangup
;
exten => t,1,Goto(i,1) ; If they take too long, give up
;
exten => i,1,Background(custom/is-invalid) ; "That's not valid, try again"
exten => i,2,Wait(1)
exten => i,3,Goto(s,1)
;
;
[menu-diag]
;
;
exten => s,1,Background(custom/system-menu-diag)
exten => s,2,Wait(1)
exten => s,3,Background(custom/menu-selections)
exten => s,4,NoOp
exten => s,5,NoOp
exten => s,6,NoOp
exten => s,7,Background(custom/2repeat) ; play the menu messages
exten => s,8,Background(custom/2hangup) ; play the menu messages
exten => s,9,DigitTimeout,1 ; give them 1 seconds between digits
exten => s,10,ResponseTimeout,60 ; give them 60 seconds to make a choice
;
exten => _1,1,Goto(house-menu,s,1)
;
exten => _2,1,Goto(house-day,s,1)
;
exten => _3,1,Goto(house-night,s,1)
;
exten => _4,1,Goto(office-menu,s,1)
;
exten => _5,1,Goto(office-holiday,s,1)
;
exten => _6,1,Goto(office-closed,s,1)
;
exten => _7,1,Goto(office-open,s,1)
;
exten => _8,1,Goto(office-emergency,s,1)
;
; Repeat the previous menu
exten => *,1,Goto(s,1)
;
; #=hangup
exten => #,1,NoOp
exten => #,2,NoOp
;
exten => t,1,Goto(i,1) ; If they take too long, give up
;
exten => i,1,Background(custom/is-invalid) ; "That's not valid, try again"
exten => i,2,Wait(1)
exten => i,3,Goto(s,1)
;
;
;********************************************************************
; END - System Menu
;********************************************************************



The system menu


* From extensions.conf

;
; A Panasonic handset user can get access to the system menu by
; picking up CO3 or CO4 and dialing Operator (zero). This is provided
; in the contexts co3out and co4out.
;
; see Force VoicePulse or BroadVoice outbound if user selects CO3 or CO4 for example
;
;
;********************************************************************
; BEGIN - System Menu
;********************************************************************
;
[system-menu-main]
;
; provide user access to their voice mail inbox
; let user leave voice mail for another user
; provide user access to find me
;
; prompts to record
; custom/system-menu = tell them where they are
; custom/your-voicemail = let them choose to check their vm
; custom/leave-voicemail = let them choose to leave vm for someone
; custom/find-me = let them choose to track someone down
;
exten => s,1,Background(custom/system-menu)
exten => s,2,Wait(1)
exten => s,3,Background(custom/your-voicemail)
exten => s,4,Background(custom/leave-voicemail)
exten => s,5,Background(custom/find-me)
exten => s,6,Background(custom/system-menu-diag)
exten => s,7,Background(custom/2repeat) ; play the menu messages
exten => s,8,Background(custom/2hangup) ; play the menu messages
exten => s,9,DigitTimeout,1 ; give them 1 seconds between digits
exten => s,10,ResponseTimeout,60 ; give them 60 seconds to make a choice
;
exten => _1,1,Macro(system-get-vmail)
exten => _1,2,Goto(s,1)
;
exten => _2,1,Macro(leave-voicemail)
exten => _2,2,Goto(s,1)
;
exten => _3,1,Macro(system-findme)
exten => _3,2,Goto(s,1)
;
exten => _4,1,Goto(menu-diag,s,1)
;
; Repeat the previous menu
exten => *,1,Goto(s,1)
;
; #=hangup
exten => #,1,Background(goodbye)
exten => #,2,NoOp
exten => #,3,Hangup
;
exten => t,1,Goto(i,1) ; If they take too long, give up
;
exten => i,1,Background(custom/is-invalid) ; "That's not valid, try again"
exten => i,2,Wait(1)
exten => i,3,Goto(s,1)
;
;
[menu-diag]
;
;
exten => s,1,Background(custom/system-menu-diag)
exten => s,2,Wait(1)
exten => s,3,Background(custom/menu-selections)
exten => s,4,NoOp
exten => s,5,NoOp
exten => s,6,NoOp
exten => s,7,Background(custom/2repeat) ; play the menu messages
exten => s,8,Background(custom/2hangup) ; play the menu messages
exten => s,9,DigitTimeout,1 ; give them 1 seconds between digits
exten => s,10,ResponseTimeout,60 ; give them 60 seconds to make a choice
;
exten => _1,1,Goto(house-menu,s,1)
;
exten => _2,1,Goto(house-day,s,1)
;
exten => _3,1,Goto(house-night,s,1)
;
exten => _4,1,Goto(office-menu,s,1)
;
exten => _5,1,Goto(office-holiday,s,1)
;
exten => _6,1,Goto(office-closed,s,1)
;
exten => _7,1,Goto(office-open,s,1)
;
exten => _8,1,Goto(office-emergency,s,1)
;
; Repeat the previous menu
exten => *,1,Goto(s,1)
;
; #=hangup
exten => #,1,NoOp
exten => #,2,NoOp
;
exten => t,1,Goto(i,1) ; If they take too long, give up
;
exten => i,1,Background(custom/is-invalid) ; "That's not valid, try again"
exten => i,2,Wait(1)
exten => i,3,Goto(s,1)
;
;
;********************************************************************
; END - System Menu
;********************************************************************


Created by: ghendershot, Last modification: Mon 18 of Oct, 2004 (01:13 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+