Hello, We are Helping Hand India NGO, working In India for poor student’s education.
We are using Asterisk 20 with vosk STT multilingual transcription English and Hindi, everything is working good, We need real time (always-on) STT within our Asterisk environment. An Expert already helped us in past to making it Multilingual. I am sharing here existing content to understand.
same => n,SpeechCreate(vosk^en)
same => n,SpeechCreate(vosk^hi)
same => n,SpeechCreate(vosk^enin)
;same => n,SpeechBackground(silence1,4,p,en^hi^enin)
same => n,SpeechBackground(quizivr/2025/${LSelect}Main-Menu-April25E,0,p,en^hi^enin)
same => n,Verbose(0,Result was ${SPEECH_TEXT(0^en)})
same => n,Verbose(0,Result was ${SPEECH_TEXT(0^hi)})
same => n,Verbose(0,Result was ${SPEECH_TEXT(0^enin)})
same => n,Set(EnglishVoice=${SPEECH_TEXT(0^en)})
same => n,Set(HindiVoice=${SPEECH_TEXT(0^hi)})
same => n,Set(EnglishVoice2=${SPEECH_TEXT(0^enin)})
same => n,SpeechDestroy(vosk^en)
same => n,SpeechDestroy(vosk^hi)
same => n,SpeechDestroy(vosk^enin)
cat /etc/asterisk/res_speech_vosk.conf
[general]
[en]
type=horse
url = ws://localhost:2702
[hi]
type=horse
url = ws://localhost:2700
[enin]
type=horse
url = ws://localhost:2701
docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3eb6ceef0959 alphacep/kaldi-en-in:latest “python3 ./asr_serve…” 3 hours ago Up 3 hours 0.0.0.0:2701->2700/tcp, :::2701->2700/tcp sleepy_spence
860d807f84a8 alphacep/kaldi-en:latest “python3 ./asr_serve…” 3 hours ago Up 3 hours 0.0.0.0:2702->2700/tcp, :::2702->2700/tcp brave_bassi
b08767cb1e33 alphacep/kaldi-hi:latest “python3 ./asr_serve…” 3 hours ago Up 3 hours 0.0.0.0:2700->2700/tcp, :::2700->2700/tcp funny_austin
You can reply/quote with your charges on our email.
office@helpinghandindiango.org