forked from SimplesIP/pabx-app
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
812 B
47 lines
812 B
2 years ago
|
; 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
|
||
|
timelenopt1=1ms
|
||
|
timelenopt2=1s
|
||
|
timelenopt3=1m
|
||
|
timelenopt4=1h
|
||
|
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
|
||
|
timelenopt1=1
|
||
|
timelenopt2=1
|
||
|
timelenopt3=1
|
||
|
timelenopt4=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]
|