asterisk-mod-func.lua 995 B

1234567891011121314151617181920212223242526272829
  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. cbimap = Map("asterisk", "asterisk", "")
  5. module = cbimap:section(TypedSection, "module", "Modules", "")
  6. module.anonymous = true
  7. func_callerid = module:option(ListValue, "func_callerid", "Caller ID related dialplan functions", "")
  8. func_callerid:value("yes", "Load")
  9. func_callerid:value("no", "Do Not Load")
  10. func_callerid:value("auto", "Load as Required")
  11. func_callerid.rmempty = true
  12. func_enum = module:option(ListValue, "func_enum", "ENUM Functions", "")
  13. func_enum:value("yes", "Load")
  14. func_enum:value("no", "Do Not Load")
  15. func_enum:value("auto", "Load as Required")
  16. func_enum.rmempty = true
  17. func_uri = module:option(ListValue, "func_uri", "URI encoding / decoding functions", "")
  18. func_uri:value("yes", "Load")
  19. func_uri:value("no", "Do Not Load")
  20. func_uri:value("auto", "Load as Required")
  21. func_uri.rmempty = true
  22. return cbimap