asterisk / aeap-speech-to-text

Asterisk external speech to text application
Apache License 2.0
42 stars 26 forks source link

Can't speak for more than 4 seconds: #3

Open scorpio1441 opened 1 year ago

scorpio1441 commented 1 year ago

GoogleProvider: result: {"text":"test test testing hear me I don't know what else to tell you","score":70} message: {"response":"set","id":"204bcf88-76a7-4e94-809c-f055e3726432"}

When I call and start speaking after "hello world" - it disconnects me after like 3-4 seconds.... How do I keep it permanent?

dcowan-london commented 11 months ago

I believe the current code ends the recognition after getting the first confident response from GoogleProvider. The recognition has to stop at some point to return to Asterisk - there isn't much point having it remain active indefinitely.