summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--contrib/package/asterisk-xip/files/uci/voicemenu.txt22
1 files changed, 20 insertions, 2 deletions
diff --git a/contrib/package/asterisk-xip/files/uci/voicemenu.txt b/contrib/package/asterisk-xip/files/uci/voicemenu.txt
index bc01b8877..ee87e2c5e 100644
--- a/contrib/package/asterisk-xip/files/uci/voicemenu.txt
+++ b/contrib/package/asterisk-xip/files/uci/voicemenu.txt
@@ -1,19 +1,37 @@
+voicemenu
+ greeting - Greeting (not repeated) at the start
+ timeoutlen - Length of timeout between repeats of menus
+ timeoutsmax - Number of timeouts
+ invalidmax - Number of invalid keypresses allowed.
+ includelocal - Include a context for direct dial of local numbers
+ localmenu - Menu to say for direct dial of local numbers
+
+config voiceoption
+ voicemenu - Name of menu the option applies to
+ digit - Digit to press for option
+ menu - What to include in menu for this option (use & to sep files and exclude extension)
+ dial - Extension to dial
+ goto - (or) Context to jump to
+
+Example
+
config voicemenu autoattendmenu
option greeting greet/autogreet
option timeoutlen 5
option timeoutsmax 3
option invalidmax 3
option includelocal extensions
+ option 'localmenu' 'misc/dialextension'
config voiceoption
option voicemenu autoattendmenu
option digit 1
- option menu misc/press&digit/1&digit/for&misc/operator
+ option menu misc/press&digits/1&misc/for&misc/operator
option dial SIP/101
config voiceoption
option voicemenu autoattendmenu
option digit 2
- option menu misc/press&digit/2&digit/for&misc/sales
+ option menu misc/press&digits/2&misc/for&misc/sales
option goto salesmenu