From 820f11932f548182ebb32704e1df83b78e69b19e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 17 Jul 2009 20:27:05 +0000 Subject: [PATCH] add tools to scan network for any device, or for sip devices, and output device information, thanks cshore --- .../controller/luci_voice/luci_voice_diag.lua | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 applications/luci-voice-diag/luasrc/controller/luci_voice/luci_voice_diag.lua (limited to 'applications/luci-voice-diag/luasrc/controller/luci_voice') diff --git a/applications/luci-voice-diag/luasrc/controller/luci_voice/luci_voice_diag.lua b/applications/luci-voice-diag/luasrc/controller/luci_voice/luci_voice_diag.lua new file mode 100644 index 0000000000..e0dccb051c --- /dev/null +++ b/applications/luci-voice-diag/luasrc/controller/luci_voice/luci_voice_diag.lua @@ -0,0 +1,25 @@ +--[[ + +Luci Voice Core +(c) 2009 Daniel Dickinson + +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 + +]]-- + + +module("luci.controller.luci_voice.luci_voice_diag", package.seeall) + +function index() + require("luci.i18n") + luci.i18n.loadc("voice_diag") + + local e = entry({"admin", "voice", "diag"}, template("luci_voice/diag_index") , luci.i18n.translate("l_v_d_admindiag"), 90) + e.index = true + e.i18n = "voice_diag" + e.dependent = true +end -- cgit v1.2.3