summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-lqtapifoss/luasrc/model/cbi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-02-14 15:17:14 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-02-14 15:17:14 +0000
commitdfd302bb1c2f0557921dcfb4330dbeaaa4ae427c (patch)
tree69bd9fd4ebbacd597663fff1914693d5481da34b /applications/luci-lqtapifoss/luasrc/model/cbi
parent63a75c6ea924120273f27a297fae4978ab81d83f (diff)
applications: drop luci-lqtapifoss
Diffstat (limited to 'applications/luci-lqtapifoss/luasrc/model/cbi')
-rw-r--r--applications/luci-lqtapifoss/luasrc/model/cbi/luci_lqvoip/account.lua30
-rw-r--r--applications/luci-lqtapifoss/luasrc/model/cbi/luci_lqvoip/config.lua29
-rw-r--r--applications/luci-lqtapifoss/luasrc/model/cbi/luci_lqvoip/contact.lua25
3 files changed, 0 insertions, 84 deletions
diff --git a/applications/luci-lqtapifoss/luasrc/model/cbi/luci_lqvoip/account.lua b/applications/luci-lqtapifoss/luasrc/model/cbi/luci_lqvoip/account.lua
deleted file mode 100644
index e1cccebfd7..0000000000
--- a/applications/luci-lqtapifoss/luasrc/model/cbi/luci_lqvoip/account.lua
+++ /dev/null
@@ -1,30 +0,0 @@
---[[
-LuCI - Lua Configuration Interface
-
-Copyright 2010 John Crispin <blogic@openwrt.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-]]--
-
-m = Map("telephony", translate("VoIP"))
-m.on_after_commit = function() luci.sys.call("/etc/init.d/telephony restart") end
-
-s = m:section(NamedSection, "account", "account", translate("Account"),
- translate("Here You can specify the SIP account that you want to use."))
-s.anonymous = false
-
-s:option(Value, "realm", translate("Realm"))
-s:option(Value, "username", translate("Username"))
-s:option(Value, "password", translate("Password"))
-s:option(Value, "stun", translate("STUN Server"))
-stun_port = s:option(Value, "stun_port", translate("STUN Port"))
-stun_port.default = "3478"
-sip_port = s:option(Value, "sip_port", translate("SIP Port"))
-sip_port.default = "5060"
-
-return m
diff --git a/applications/luci-lqtapifoss/luasrc/model/cbi/luci_lqvoip/config.lua b/applications/luci-lqtapifoss/luasrc/model/cbi/luci_lqvoip/config.lua
deleted file mode 100644
index 614bf4524f..0000000000
--- a/applications/luci-lqtapifoss/luasrc/model/cbi/luci_lqvoip/config.lua
+++ /dev/null
@@ -1,29 +0,0 @@
---[[
-LuCI - Lua Configuration Interface
-
-Copyright 2010 John Crispin <blogic@openwrt.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-]]--
-
-m = Map("telephony", translate("VoIP"))
-
-s = m:section(NamedSection, "config", "config", "Config", "Here You can specify the generic Configuration.")
-m.on_after_commit = function() luci.sys.call("/etc/init.d/telephony restart") end
-
-s:option(Value, "netdev", translate("Network"))
-
-e = s:option(ListValue, "fw_dl", translate("Download firmware"))
-e:value("0", translate("No"))
-e:value("1", translate("Yes"))
-e.default = "0"
-
-e = s:option(Value, "fw_url", translate("Firmware path"))
-e:depends("fw_dl", 1)
-
-return m
diff --git a/applications/luci-lqtapifoss/luasrc/model/cbi/luci_lqvoip/contact.lua b/applications/luci-lqtapifoss/luasrc/model/cbi/luci_lqvoip/contact.lua
deleted file mode 100644
index 09ee84c0e1..0000000000
--- a/applications/luci-lqtapifoss/luasrc/model/cbi/luci_lqvoip/contact.lua
+++ /dev/null
@@ -1,25 +0,0 @@
---[[
-LuCI - Lua Configuration Interface
-
-Copyright 2010 John Crispin <blogic@openwrt.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-]]--
-
-m = Map("telephony", translate("VoIP"))
-m.on_after_commit = function() luci.sys.call("/etc/init.d/telephony reload") end
-
-s = m:section(TypedSection, "contact", translate("Contact"), translate("Here You can specify the SIP contacts that you want to use."))
-s.anonymous = true
-s.addremove = true
-s.template = "cbi/tblsection"
-
-s:option(Value, "number", translate("Number"))
-s:option(Value, "identifier", translate("Identifier"))
-
-return m