Skip to content

Updated the behaviour of timeout and interDigitTimeout handling#1336

Open
dmitrikozlov wants to merge 1 commit intojambonz:mainfrom
dmitrikozlov:interDigitTimeout
Open

Updated the behaviour of timeout and interDigitTimeout handling#1336
dmitrikozlov wants to merge 1 commit intojambonz:mainfrom
dmitrikozlov:interDigitTimeout

Conversation

@dmitrikozlov
Copy link
Copy Markdown

@dmitrikozlov dmitrikozlov commented Aug 22, 2025

I aligned the behaviour with the VXML specification, which reflects industry practice.

The VXML 2.0 standard: https://www.w3.org/TR/voicexml20/
Appendix D — Timing Properties
D.1. DTMF Grammars
The "grammar" here is the rules defined by minDigits , maxDigits and numDigits.
The only difference is that there is no separate termtimeout parameter. The code uses interDigitTimeout as interdigittimeout and termtimeout.

The current implementation:

  • keeps using timeout until minDigits reached
  • can return an invalid input where the number of digits is less than minDigits

…ign with the VXML specification, which reflects industry practice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant