Update my email addresses in the license headers
[project/luci.git] / applications / luci-app-asterisk / luasrc / model / cbi / asterisk-mod-func.lua
1 -- Copyright 2008 Steven Barth <steven@midlink.org>
2 -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
3 -- Licensed to the public under the Apache License 2.0.
4
5 cbimap = Map("asterisk", "asterisk", "")
6
7 module = cbimap:section(TypedSection, "module", "Modules", "")
8 module.anonymous = true
9
10 func_callerid = module:option(ListValue, "func_callerid", "Caller ID related dialplan functions", "")
11 func_callerid:value("yes", "Load")
12 func_callerid:value("no", "Do Not Load")
13 func_callerid:value("auto", "Load as Required")
14 func_callerid.rmempty = true
15
16 func_enum = module:option(ListValue, "func_enum", "ENUM Functions", "")
17 func_enum:value("yes", "Load")
18 func_enum:value("no", "Do Not Load")
19 func_enum:value("auto", "Load as Required")
20 func_enum.rmempty = true
21
22 func_uri = module:option(ListValue, "func_uri", "URI encoding / decoding functions", "")
23 func_uri:value("yes", "Load")
24 func_uri:value("no", "Do Not Load")
25 func_uri:value("auto", "Load as Required")
26 func_uri.rmempty = true
27
28
29 return cbimap