Fix direct dial for IVR using the xml handler.

This commit is contained in:
markjcrane 2016-03-19 18:13:49 -06:00
parent efe12b1f4f
commit 2a280afea9
1 changed files with 1 additions and 1 deletions

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