IVR menu for the HOUSE line


House line menu



;********************************************************************
; BEGIN - House IVR Menu
;********************************************************************
;
;
[house-day]
;
;
exten => s,1,Wait(20)
exten => s,2,Answer
exten => s,3,zapateller ; torture telemarketers
;
; menu diag enter here
;
exten => s,4,NoOp
exten => s,5,Background(custom/welcome-hend) ; play the intro message
exten => s,6,NoOp
;
exten => s,7,Background(custom/this-is-daytime-menu)
exten => s,8,Background(custom/appologise)
;
; loops should return here
;
exten => s,9,SetGlobalVar(FLOWCONTROL=house-day,s,9)
exten => s,10,NoOp
exten => s,11,NoOp

exten => s,12,Background(custom/if-you-know-ext)
;
exten => s,13,Background(silence/1)
exten => s,14,Background(custom/if-emergency)
exten => s,15,Background(custom/press-the)
exten => s,16,Background(custom/nine-key)
exten => s,17,Background(silence/1)
;
exten => s,18,Background(custom/will-trans-to-default)
exten => s,19,Background(silence/1)
;
exten => s,20,Background(custom/2repeat) ; play the menu messages
exten => s,21,Background(custom/2hangup) ; play the menu messages
;
exten => s,22,DigitTimeout,2 ; give them 2 seconds between digits
exten => s,23,ResponseTimeout,30 ; give them 30 seconds to make a choice
;
include => pana-trans
include => internal-svc
;
; Repeat the previous menu
exten => *,1,Goto(s,9)
;
; #=hangup
exten => #,1,Background(goodbye)
exten => #,2,Hangup
;
exten => t,1,VoiceMail(u${DEFVM})
exten => t,2,Hangup
;
exten => i,1,Background(pbx-invalid) ; "That's not valid, try again"
exten => i,2,Wait(1)
exten => i,3,Goto(s,9)
;
;
[house-night]
;
;
exten => s,1,Wait(10)
exten => s,2,Answer
exten => s,3,zapateller ; torture telemarketers
;
; menu diag enter here
;
exten => s,4,NoOp
exten => s,5,Background(custom/welcome-hend) ; play the intro message
exten => s,6,NoOp
;
exten => s,7,Background(custom/this-is-afterhours-menu)
exten => s,8,Background(custom/direct-to-vmail-is-active)
;
; loops should return here
;
exten => s,9,NoOp
exten => s,10,NoOp
exten => s,11,SetGlobalVar(FLOWCONTROL=house-night,s,9)
exten => s,12,Background(custom/if-you-know-ext)
exten => s,13,Background(silence/1)
;
exten => s,14,Background(custom/if-emergency)
exten => s,15,Background(custom/press-the)
exten => s,16,Background(custom/nine-key)
exten => s,17,Background(silence/1)
;
exten => s,18,Background(custom/will-trans-to-default)
exten => s,19,Background(silence/1)
;
exten => s,20,Background(custom/2repeat) ; play the menu messages
exten => s,21,Background(custom/2hangup) ; play the menu messages
;
exten => s,22,DigitTimeout,2 ; give them 2 seconds between digits
exten => s,23,ResponseTimeout,30 ; give them 30 seconds to make a choice
;
;
include => vmail-by-ext
include => vmail-by-name
include => internal-svc
;
; Repeat the previous menu
exten => *,1,Goto(s,9)
;
; #=hangup
exten => #,1,Background(goodbye)
exten => #,2,Hangup
;
exten => t,1,VoiceMail(u${DEFVM})
exten => t,2,Hangup
;
exten => i,1,Background(pbx-invalid) ; "That's not valid, try again"
exten => i,2,Wait(1)
exten => i,3,Goto(s,9)
;
;
;********************************************************************
; END - House IVR Menu
;********************************************************************
;
;


House line menu



;********************************************************************
; BEGIN - House IVR Menu
;********************************************************************
;
;
[house-day]
;
;
exten => s,1,Wait(20)
exten => s,2,Answer
exten => s,3,zapateller ; torture telemarketers
;
; menu diag enter here
;
exten => s,4,NoOp
exten => s,5,Background(custom/welcome-hend) ; play the intro message
exten => s,6,NoOp
;
exten => s,7,Background(custom/this-is-daytime-menu)
exten => s,8,Background(custom/appologise)
;
; loops should return here
;
exten => s,9,SetGlobalVar(FLOWCONTROL=house-day,s,9)
exten => s,10,NoOp
exten => s,11,NoOp

exten => s,12,Background(custom/if-you-know-ext)
;
exten => s,13,Background(silence/1)
exten => s,14,Background(custom/if-emergency)
exten => s,15,Background(custom/press-the)
exten => s,16,Background(custom/nine-key)
exten => s,17,Background(silence/1)
;
exten => s,18,Background(custom/will-trans-to-default)
exten => s,19,Background(silence/1)
;
exten => s,20,Background(custom/2repeat) ; play the menu messages
exten => s,21,Background(custom/2hangup) ; play the menu messages
;
exten => s,22,DigitTimeout,2 ; give them 2 seconds between digits
exten => s,23,ResponseTimeout,30 ; give them 30 seconds to make a choice
;
include => pana-trans
include => internal-svc
;
; Repeat the previous menu
exten => *,1,Goto(s,9)
;
; #=hangup
exten => #,1,Background(goodbye)
exten => #,2,Hangup
;
exten => t,1,VoiceMail(u${DEFVM})
exten => t,2,Hangup
;
exten => i,1,Background(pbx-invalid) ; "That's not valid, try again"
exten => i,2,Wait(1)
exten => i,3,Goto(s,9)
;
;
[house-night]
;
;
exten => s,1,Wait(10)
exten => s,2,Answer
exten => s,3,zapateller ; torture telemarketers
;
; menu diag enter here
;
exten => s,4,NoOp
exten => s,5,Background(custom/welcome-hend) ; play the intro message
exten => s,6,NoOp
;
exten => s,7,Background(custom/this-is-afterhours-menu)
exten => s,8,Background(custom/direct-to-vmail-is-active)
;
; loops should return here
;
exten => s,9,NoOp
exten => s,10,NoOp
exten => s,11,SetGlobalVar(FLOWCONTROL=house-night,s,9)
exten => s,12,Background(custom/if-you-know-ext)
exten => s,13,Background(silence/1)
;
exten => s,14,Background(custom/if-emergency)
exten => s,15,Background(custom/press-the)
exten => s,16,Background(custom/nine-key)
exten => s,17,Background(silence/1)
;
exten => s,18,Background(custom/will-trans-to-default)
exten => s,19,Background(silence/1)
;
exten => s,20,Background(custom/2repeat) ; play the menu messages
exten => s,21,Background(custom/2hangup) ; play the menu messages
;
exten => s,22,DigitTimeout,2 ; give them 2 seconds between digits
exten => s,23,ResponseTimeout,30 ; give them 30 seconds to make a choice
;
;
include => vmail-by-ext
include => vmail-by-name
include => internal-svc
;
; Repeat the previous menu
exten => *,1,Goto(s,9)
;
; #=hangup
exten => #,1,Background(goodbye)
exten => #,2,Hangup
;
exten => t,1,VoiceMail(u${DEFVM})
exten => t,2,Hangup
;
exten => i,1,Background(pbx-invalid) ; "That's not valid, try again"
exten => i,2,Wait(1)
exten => i,3,Goto(s,9)
;
;
;********************************************************************
; END - House IVR Menu
;********************************************************************
;
;

Created by: ghendershot, Last modification: Fri 29 of Oct, 2004 (02:34 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+