Remove the back slash from ivr_menu.lua. http://jira.freeswitch.org/browse/FS-6059 thanks Travis for the bug fix.
This commit is contained in:
@@ -200,9 +200,9 @@
|
|||||||
regex = string.find(row.ivr_menu_option_digits, "(", 0, true);
|
regex = string.find(row.ivr_menu_option_digits, "(", 0, true);
|
||||||
if (regex) then
|
if (regex) then
|
||||||
--get the regex result
|
--get the regex result
|
||||||
result = trim(api:execute("regex", "m:~"..digits.."~"..row.ivr_menu_option_digits.."~\$1"));
|
result = trim(api:execute("regex", "m:~"..digits.."~"..row.ivr_menu_option_digits.."~$1"));
|
||||||
if (debug["regex"]) then
|
if (debug["regex"]) then
|
||||||
freeswitch.consoleLog("notice", "[ivr_menu] regex m:~"..digits.."~"..row.ivr_menu_option_digits.."~\$1\n");
|
freeswitch.consoleLog("notice", "[ivr_menu] regex m:~"..digits.."~"..row.ivr_menu_option_digits.."~$1\n");
|
||||||
freeswitch.consoleLog("notice", "[ivr_menu] result: "..result.."\n");
|
freeswitch.consoleLog("notice", "[ivr_menu] result: "..result.."\n");
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user