From 80691e427cb10b1e7c7da3a01d80694fb237a9d6 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 21 Mar 2009 05:00:40 +0000 Subject: [PATCH] applications/luci-asterisk: cross-reference dialplan mgmnt in sip extension config --- .../luci-asterisk/luasrc/model/cbi/asterisk/phone_sip.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/luci-asterisk/luasrc/model/cbi/asterisk/phone_sip.lua b/applications/luci-asterisk/luasrc/model/cbi/asterisk/phone_sip.lua index dffb8182b..49d3a0776 100644 --- a/applications/luci-asterisk/luasrc/model/cbi/asterisk/phone_sip.lua +++ b/applications/luci-asterisk/luasrc/model/cbi/asterisk/phone_sip.lua @@ -139,6 +139,7 @@ elseif arg[1] then linekey:value("call", "Call Appearance") dialplan = peer:option(ListValue, "context", "Assign Dialplan") + dialplan.titleref = luci.dispatcher.build_url("admin", "asterisk", "dialplans") for _, v in ipairs(find_outgoing_contexts(cbimap.uci)) do dialplan:value(unpack(v)) end -- 2.25.1