From 1b989e556af2e018744dd9f875a01a0e5ea27ded Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 11 Jan 2009 03:05:01 +0000 Subject: applications/luci-asterisk: add the first few bits of reworked webif code --- applications/luci-asterisk/luasrc/controller/asterisk.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'applications/luci-asterisk/luasrc/controller/asterisk.lua') diff --git a/applications/luci-asterisk/luasrc/controller/asterisk.lua b/applications/luci-asterisk/luasrc/controller/asterisk.lua index 541c67ef3..8200ce2e5 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 -- cgit v1.2.3