applications/luci-asterisk: cross-reference dialplan mgmnt in sip extension config
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 21 Mar 2009 05:00:40 +0000 (05:00 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 21 Mar 2009 05:00:40 +0000 (05:00 +0000)
applications/luci-asterisk/luasrc/model/cbi/asterisk/phone_sip.lua

index dffb8182b1281a266a235b1b7562d7226461167a..49d3a077639af99baa2f1b5abc43e5697bd92228 100644 (file)
@@ -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