summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-asterisk/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-03-21 05:05:45 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-03-21 05:05:45 +0000
commit6286d3a09a1fe7512da30d1dac9ea3ec7fe3e612 (patch)
tree50573dc4b3490ba573b59dae1b7b6dd49a4dba7c /applications/luci-asterisk/luasrc/model
parent80691e427cb10b1e7c7da3a01d80694fb237a9d6 (diff)
applications/luci-asterisk: remove hostname column from trunk overview
Diffstat (limited to 'applications/luci-asterisk/luasrc/model')
-rw-r--r--applications/luci-asterisk/luasrc/model/cbi/asterisk/trunks.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/applications/luci-asterisk/luasrc/model/cbi/asterisk/trunks.lua b/applications/luci-asterisk/luasrc/model/cbi/asterisk/trunks.lua
index 3a993da45..a4d112d7d 100644
--- a/applications/luci-asterisk/luasrc/model/cbi/asterisk/trunks.lua
+++ b/applications/luci-asterisk/luasrc/model/cbi/asterisk/trunks.lua
@@ -69,15 +69,6 @@ end
user = sip_table:option(DummyValue, "username", "Username")
-host = sip_table:option(DummyValue, "host", "Hostname")
-function host.cfgvalue(self, s)
- if sip_peers[s] and sip_peers[s].info.address then
- return "%s:%i" %{ sip_peers[s].info.address, sip_peers[s].info.port }
- else
- return "n/a"
- end
-end
-
context = sip_table:option(DummyValue, "context", "Dialplan")
context.href = luci.dispatcher.build_url("admin", "asterisk", "dialplan")
function context.cfgvalue(...)