Update index.lua (#5240)

This commit is contained in:
agree
2020-04-23 01:13:25 -04:00
committed by GitHub
parent e329674b03
commit 47de6eee03

View File

@@ -489,6 +489,8 @@
max_tries = 1;
digit_timeout = 5000;
pin_number = session:playAndGetDigits(min_digits, max_digits, max_tries, digit_timeout, "#", prompt_audio_file, "", "\\d+");
--remove non numerics
pin_number = pin_number:gsub("%p","")
end
--use the pin_number to find the conference room
if (pin_number ~= "") then