summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2012-06-01 16:33:25 +0000
committerTerry Wilson <twilson@digium.com>2012-06-01 16:33:25 +0000
commitd54717c39e62f4cc8b290ac4836c4d4469d87c24 (patch)
tree5a765e82be880f3b8c2407133fbcc15c4b4349d0 /configs
parent463f9d729aed1a5ed538aa3deed1a3fed9462111 (diff)
Add new config-parsing framework
This framework adds a way to register the various options in a config file with Asterisk and to handle loading and reloading of that config in a consistent and atomic manner. Review: https://reviewboard.asterisk.org/r/1873/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/app_skel.conf.sample27
1 files changed, 27 insertions, 0 deletions
diff --git a/configs/app_skel.conf.sample b/configs/app_skel.conf.sample
new file mode 100644
index 000000000..ada8461e3
--- /dev/null
+++ b/configs/app_skel.conf.sample
@@ -0,0 +1,27 @@
+[general]
+games=3
+cheat=no
+
+[sounds]
+prompt=please-enter-your,number,queue-less-than
+wrong_guess=vm-pls-try-again
+right_guess=auth-thankyou
+too_high=high
+too_low=low
+lose=vm-goodbye
+
+[easy]
+max_number=10
+max_guesses=4
+
+[medium]
+max_number=100
+max_guesses=6
+
+[hard]
+max_number=1000
+max_guesses=7
+
+[nightmare]
+max_number=1000
+max_guesses=1