applications/luci-asterisk: add the first few bits of reworked webif code
[project/luci.git] / applications / luci-asterisk / luasrc / controller / asterisk.lua
index 541c67ef3e3320131a1011471c9cff2f1ca274f5..8200ce2e5c666ed4342972f2b17c7da8ac14fc28 100644 (file)
@@ -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