[PATCH] add tools to scan network for any device, or for sip devices, and output...
[project/luci.git] / applications / luci-voice-diag / luasrc / controller / luci_voice / luci_voice_diag.lua
1 --[[
2
3 Luci Voice Core
4 (c) 2009 Daniel Dickinson
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 ]]--
13
14
15 module("luci.controller.luci_voice.luci_voice_diag", package.seeall)
16
17 function index()
18    require("luci.i18n")
19    luci.i18n.loadc("voice_diag")
20
21    local e = entry({"admin", "voice", "diag"}, template("luci_voice/diag_index") , luci.i18n.translate("l_v_d_admindiag"), 90)
22    e.index = true
23    e.i18n = "voice_diag"
24    e.dependent = true
25 end