mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 10:43:49 +00:00
Fixed a bug with IVR Menu where it reached the max failures +1 before moving onto the timeout action.
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
freeswitch.consoleLog("notice", "[ivr_menu] dtmf_digits: " .. dtmf_digits .. "\n");
|
||||
menu_options(session, dtmf_digits);
|
||||
else
|
||||
if (tries <= tonumber(ivr_menu_max_failures)) then
|
||||
if (tries < tonumber(ivr_menu_max_failures)) then
|
||||
--log the dtmf digits
|
||||
if (debug["tries"]) then
|
||||
freeswitch.consoleLog("notice", "[ivr_menu] tries: " .. tries .. "\n");
|
||||
|
||||
Reference in New Issue
Block a user