Answer the question
In order to leave comments, you need to log in
Is there an open source solution for voice IVR?
Please tell me if there is an opensource solution for this problem.
You need something like a voice IVR for both incoming and outgoing calls, using technologies such as:
Dialers themselves: Asterisk or Freeswitch
Voice recognition: Mozilla Deepspeech, Vosk, etc.
We use pre-recorded audio files to respond to clients.
---------------------------- Config
example
Recognizable keywords: hello, listen, Associated
audio file: Hello.wav
Recognizable keywords: once, behind the wheel, type later
Associated audio file: Farewell.wav
----------------------------
That is: we run what the client says through any of these systems: Mozilla Deepspeech, Vosk, in real time.
If, during recognition, we catch the keyword specified in the config, then we play a pre-recorded audio file associated with the keyword in the config.
Answer the question
In order to leave comments, you need to log in
The module for wax and asterisk can be downloaded here:
https://github.com/alphacep/vosk-asterisk
, build according to the instructions. The logic with playing the file is implemented in 3 lines in the dialplan:
[internal]
exten = 1,1,Answer
same = n,Wait(1)
same = n,SpeechCreate
same = n,SpeechBackground(hello)
same = n,GotoIf($["${SPEECH_TEXT(0)}}" = "привет мир"]? true : false)
same => n(true),Playback(phrase)
same => n(false),Hangup()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question