From 3d62b162595c9fe3e8147ba1363714cb43e8ab67 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 7 Apr 2023 13:30:30 -0600 Subject: [PATCH] xml.santize removed from direct_dial_regex This wasn't needed since direct_dial_regex is built from ivr_menu_option_digits that have a statement ensuring they are numeric. --- .../resources/scripts/configuration/ivr.conf.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/ivr.conf.lua b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/ivr.conf.lua index 47ade48e55..0800995945 100644 --- a/app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/ivr.conf.lua +++ b/app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/ivr.conf.lua @@ -295,11 +295,11 @@ negative_lookahead = "(?!^("..table.concat(direct_dial_exclude, "|")..")$)"; end local direct_dial_regex = string.format("/^(%s\\d{%s,%s})$/", negative_lookahead, direct_dial_digits_min, direct_dial_digits_max); - xml:append([[ \n]]); + xml:append([[ \n]]); --xml:append([[ \n]]); - xml:append([[ \n]]); + xml:append([[ \n]]); --xml:append([[ \n]]); - xml:append([[ \n]]); + xml:append([[ \n]]); end --close the extension tag if it was left open