From: Jo-Philipp Wich Date: Sat, 21 Mar 2009 05:00:40 +0000 (+0000) Subject: applications/luci-asterisk: cross-reference dialplan mgmnt in sip extension config X-Git-Tag: 0.9.0~578 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=80691e427cb10b1e7c7da3a01d80694fb237a9d6;p=project%2Fluci.git applications/luci-asterisk: cross-reference dialplan mgmnt in sip extension config --- 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 dffb8182b1..49d3a07763 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