Skip to content

set speech channel timeout to a more realistic value #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stavroskladis
Copy link

@stavroskladis stavroskladis commented Sep 20, 2024

No one expects to wait 30 seconds for a response on their phone (because for example asterisk-unimrcp could not open a speech channel with the asr server).
In the real world, users will abandon an unresponsive system long before that.
A more realistic approach would be to set a minimum timeout to 2 seconds (or 1 second) allowing the next commands or the dialplan or the agi script (or agi-java) to transfer the call.
This can go unnoticed even from very experienced developers (real case scenario) for years (because no one expects that the default value of the minimum timeout of a real time system will be 30 seconds )...

So, my suggestion is 2 seconds of minimum speech channel timeout.

@stavroskladis stavroskladis marked this pull request as ready for review September 20, 2024 23:35
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