Fix direct dial for IVR using the xml handler.

This commit is contained in:
markjcrane
2016-03-19 18:13:49 -06:00
parent ee7f8c08d7
commit 57e212ff42

View File

@@ -266,7 +266,7 @@
--direct dial
if (ivr_menu_direct_dial == "true") then
table.insert(xml, [[<entry action="menu-exec-app" digits="/(^(\d{2,5}))$/" param="transfer $1 XML features" description="direct dial"/>\n]]);
table.insert(xml, [[<entry action="menu-exec-app" digits="/^(\d{2,5})$/" param="transfer $1 XML ]]..domain_name..[[" description="direct dial"/>\n]]);
end
--close the extension tag if it was left open