- Newest
- Most votes
- Most comments
Would you not look to add the DTMF end-timeout to the string and set it to lower value of millisecond than the default?
ie. "x-amz-lex:allow-dtmf-input:Repeat:Repeat_Slot": "True", "x-amz-lex:allow-audio-input:Repeat:Repeat_Slot": "True", "x-amz-lex:dtmf:max-length:Repeat:Repeat_Slot": "1", "x-amz-lex:allow-audio-input:Language_Selection:Lang_Select_Slot": "True", "x-amz-lex:allow-dtmf-input:Language_Selection:Lang_Select_Slot": "True", "x-amz-lex:dtmf:max-length:Language_Selection:Lang_Select_Slot": "1" "x-amz-lex:dtmf:end-timeout-ms:Language_Selection:Lang_Select_Slot": "2000"
answered 2 years ago
Is this on every call or just the first call? What region is your instance in?
David
answered 2 years ago
Hi Dmacias, The DTMF delay is for all the times and it's us-east-1 region.

Yes good answer. Session attribute of "x-amz-lex:dtmf:end-timeout-ms:Language_Selection:Lang_Select_Slot": "100" where 100 is milliseconds after the initial dtmf value is selected before the system moves on. Or even better: “x-amz-lex:dtmf:max-length:Language_Selection:Lang_Select_Slot” = "1" so the caller can only input x1 dtmf value before the system moves on to the next block in the flow - and then you don't even have to worry about the timeout value.