-
Notifications
You must be signed in to change notification settings - Fork 39
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
Set Language #35
Comments
This feature is not implemented, we have pull request #8 about it. |
Does the pull request imply that the upstream Asterisk res_http_websocket.c be modified? Also there are "conflicts that need to be resolved" according to github. Is the code too old (almost 3 years old) as res_speech_vosk.c has been changed a year ago? Is the pull request overkill in that it does more than just select the language? Vosk works nicely from CLI. That's the only thing I've tried for now. |
It has to be both |
Novice follow-up question: since the vosk CLI commands "work fine for me", would there be a way to use them directly from Asterisk/AGI even if that probably is less efficient? |
@vieridipaola sure, you can use EAGI too, see example here: https://github.com/alphacep/vosk-server/tree/master/client-samples/asterisk |
The eagi sample script uses the Vosk server, so it doesn't solve the language selection issue. |
Allows multiple horses (URLs) for semi-concurrent processing. These horses could be multiple language models racing against each other. Requires additional patches to Asterisk. See [Asterisk #593](asterisk/asterisk#593) for further discussion and links to additional required patches. Resolves: alphacep#8, alphacep#35
Hello, where is the file or how i can change the language, i'm wondering if this file
res_speech_vosk.conf
does support this variable, but also is possible on dialplan something like that:
same = n,Set(SPEECH_ENGINE(VOSK_CONFIG)={"config" : { "languageCode" : es"} })
thanks for your help
The text was updated successfully, but these errors were encountered: