When i try to detect dtmf answers with playAndGetDigits, it behaves weird. For instance i’m accepting 3 - 4 digits, when i press 42 it plays error sound as usual, but after then when i press 4256, it continues to play error sound.
When i checked detected tones i get strange results. Sometimes it detects 4256 as 426 or 456 with skipping digits. Sometimes it merges with failed digits like 12425
what can be possibly cause this. I couldn’t find any solution.
My related python script codes are below.
gather_result = session.playAndGetDigits(
int(min_digits),
int(max_digits),
int(max_attempts)
gather_timeout,
"#",
ask_sound,
error_sound,
)
if gather_result:
session.setVariable(variable_name), gather_result)
session_vars_list.append(variable_name + "=" + session.getVariable("appvar_"+str(arguments["variable_name"])))
Regards.