- Newest
- Most votes
- Most comments
Based on your description, this appears to be an integration issue between AudioCodes VoiceAI and Amazon Lex rather than a problem with your Lex configuration itself. Since the same flow works correctly in the Lex console simulator but fails when using AudioCodes, the issue is likely on the AudioCodes side.
The behavior you're describing suggests that AudioCodes might be implementing its own retry logic or session management that's interfering with Lex's native retry mechanism. After two "Repeat" inputs, AudioCodes may be incorrectly handling the session state or not properly forwarding the third input to Lex.
Here are some potential areas to investigate:
-
Check if AudioCodes has any specific timeout settings or retry limitations in its Lex integration configuration. The issue might be related to how AudioCodes handles speech timeouts or session management.
-
Verify if there are any session attributes being set by AudioCodes that might be affecting the conversation flow. Session attributes can influence how inputs are processed.
-
Examine the AudioCodes logs to see if the third input is being recognized but not forwarded to Lex due to some internal logic or error.
-
Consider adjusting your Lambda function to include specific session attributes that might help control the flow between AudioCodes and Lex, particularly around retry handling.
Since the issue doesn't occur in the Lex console, your Lex configuration (maximum retries set to 1, Lambda validation enabled) appears to be working as expected. The problem is more likely in how AudioCodes is managing the conversation session or forwarding inputs to Lex after multiple retries.
Sources
How to get out of the RETRY loop for Lex Slot Confirmation | AWS re:Post
Amazon Connect Lex Integration – Need Control Over Lex Timeout for Spelling Inputs | AWS re:Post
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
