applications/luci-asterisk: rework dialplan management
[project/luci.git] / applications / luci-asterisk / luasrc / model / cbi / asterisk / dialplan_out.lua
index c8538426cf88369b70bcd615f4125d08c10effd7..94bf7d4d5df24063f434be84344ffa43fc8f82cc 100644 (file)
@@ -114,7 +114,7 @@ if arg[1] then
 
        intl = entry:option(DynamicList, "international", "Intl. prefix matches (optional)")
 
-       trunk = entry:option(ListValue, "uses", "Used trunk")
+       trunk = entry:option(MultiValue, "uses", "Used trunk")
        for _, v in ipairs(find_trunks(cbimap.uci)) do
                trunk:value(unpack(v))
        end