summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2012-06-01 18:20:44 +0000
committerTerry Wilson <twilson@digium.com>2012-06-01 18:20:44 +0000
commit6016094db7a6bc04dc4922b9dc36a7c65b5e53c7 (patch)
treed8ff220116422085d70e20231c15245530cf9beb /configs
parentd54717c39e62f4cc8b290ac4836c4d4469d87c24 (diff)
Add missing config for config API test
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/config_test.conf.sample32
1 files changed, 32 insertions, 0 deletions
diff --git a/configs/config_test.conf.sample b/configs/config_test.conf.sample
new file mode 100644
index 000000000..f03291cde
--- /dev/null
+++ b/configs/config_test.conf.sample
@@ -0,0 +1,32 @@
+; Config to test config parsing
+; global and item have values that differ from defaults
+; global_defaults and item_defualts are to show all defaults are set
+; there should be an option for every default type, and a custom type
+
+[global]
+intopt=-1
+uintopt=1
+doubleopt=0.1
+sockaddropt=1.2.3.4:1234
+boolopt=true
+acldenyopt=0.0.0.0/0
+aclpermitopt=1.2.3.4/32
+codecopt=!all,ulaw,g729
+stropt=test
+customopt=yes
+
+[global_defaults]
+
+[item]
+intopt=-1
+uintopt=1
+doubleopt=0.1
+sockaddropt=1.2.3.4:1234
+boolopt=true
+acldenyopt=0.0.0.0/0
+aclpermitopt=1.2.3.4/32
+codecopt=!all,ulaw,g729
+stropt=test
+customopt=yes
+
+[item_defaults]