summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-asterisk/luasrc/controller/asterisk.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-01-11 03:05:01 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-01-11 03:05:01 +0000
commit1b989e556af2e018744dd9f875a01a0e5ea27ded (patch)
treec83a0595ed723c5b6e616f3178e4b604e29a983a /applications/luci-asterisk/luasrc/controller/asterisk.lua
parentd17e770dc561eee09a9c7c0b741b1a8993bd4c11 (diff)
applications/luci-asterisk: add the first few bits of reworked webif code
Diffstat (limited to 'applications/luci-asterisk/luasrc/controller/asterisk.lua')
-rw-r--r--applications/luci-asterisk/luasrc/controller/asterisk.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/applications/luci-asterisk/luasrc/controller/asterisk.lua b/applications/luci-asterisk/luasrc/controller/asterisk.lua
index 541c67ef3e..8200ce2e5c 100644
--- a/applications/luci-asterisk/luasrc/controller/asterisk.lua
+++ b/applications/luci-asterisk/luasrc/controller/asterisk.lua
@@ -39,4 +39,10 @@ function index()
entry({"admin", "services", "asterisk", "mod", "res", "feature"},
cbi("asterisk-mod-res-feature"), "Feature Module Configuration", 9 )
+
+ entry({"admin", "asterisk"}, cbi("asterisk/main"), "Asterisk", 99).i18n = "asterisk"
+ entry({"admin", "asterisk", "trunks"}, cbi("asterisk/trunks"), "Trunks", 1)
+ entry({"admin", "asterisk", "trunks", "sip"}, cbi("asterisk/trunk_sip"), "SIP", 1).leaf = true
+
+
end