summaryrefslogtreecommitdiff
path: root/configs/samples/config_test.conf.sample
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-07-17 21:17:28 +0000
committerMatthew Jordan <mjordan@digium.com>2014-07-17 21:17:28 +0000
commitfc0fecb4768d696db3324bcf6dd03325bb4cd513 (patch)
tree12615f96e88382b2824d4901f6949571e41ea2e4 /configs/samples/config_test.conf.sample
parent1ce23d4534994fdd8bfb8ad3b9ca1884194097be (diff)
configs: Move sample config files into a subdirectory of configs
This moves all samples configs from configs/ to configs/samples. This allows for additional sets of sample configuration files to be added in the future. Review: https://reviewboard.asterisk.org/r/3804/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/samples/config_test.conf.sample')
-rw-r--r--configs/samples/config_test.conf.sample38
1 files changed, 38 insertions, 0 deletions
diff --git a/configs/samples/config_test.conf.sample b/configs/samples/config_test.conf.sample
new file mode 100644
index 000000000..2fff45ece
--- /dev/null
+++ b/configs/samples/config_test.conf.sample
@@ -0,0 +1,38 @@
+; 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
+boolflag1=true
+boolflag2=false
+boolflag3=true
+deny=0.0.0.0/0
+permit=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
+boolflag1=true
+boolflag2=false
+boolflag3=true
+acldenyopt=0.0.0.0/0
+aclpermitopt=1.2.3.4/32
+codecopt=!all,ulaw,g729
+stropt=test
+customopt=yes
+
+[item_defaults]