diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-03-21 05:00:40 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-03-21 05:00:40 +0000 |
commit | 80691e427cb10b1e7c7da3a01d80694fb237a9d6 (patch) | |
tree | eecba87f4184e01d4379eeb08520388b15de18d3 | |
parent | e71de60f1d1bd594a715338d7f9dbc62a5626c2e (diff) |
applications/luci-asterisk: cross-reference dialplan mgmnt in sip extension config
-rw-r--r-- | applications/luci-asterisk/luasrc/model/cbi/asterisk/phone_sip.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 |