Voice Recognition IVR Is It Possible?
Hello list, I was wondering if it were possible for asterisk to do a voice recognition type IVR?
Like you know how most banks and stuff do, where they ask you to say your selection or key it in?
If this is possible, how can I set this up? I’m using FreePBX 2.11 on Linux, CentOS 6.7 32-bit, asterisk version 1.8.32.3. Thanks.
18 thoughts on - Voice Recognition IVR Is It Possible?
I saw Lumenvox offering Speech Recognition for asterisk at a past Astricon.
http://www.lumenvox.com/partners/digium/Asterisk.aspx
Thanks for the link. Are there no free alternatives for speech recognition?
Daniel,
try this http://zaf.github.io/asterisk-speech-recog/.
I have tested it myself, it works very well.
Daniel
Thanks, this looks promising. I was wondering if there’s an easier way to get this to work inside FreePBX?
I have all of the dependencies installed for it, but now I want to know if there’s a mod I can use in FreePBX to get it setup?
I think I saw an old page on the voip-info wiki on how to use CMU Sphinx with asterisk.
http://www.voip-info.org/wiki/view/Sphinx
IMHO It’s not going to be anywhere as good as a commercial product without a lot of work.
I use FreePBX as well. There is no module for speech recognition. You have too create a custom destination.
Ok. Where I am now is, I copied the speech-recog.agi to the agi-bin directory. Where do I go from here?
Read README, check the requirements and get the google speech api key.
Then add a custom destination in FreePBX and edit your extensions_custom.conf.
CMU Sphinx is really good if you know what sentences you want to recognise
I am not sure how well it works with random stuff but if you have a list of common phrasings then you can do really well (having used it recently) – although I would say its much better at recognising North American speech than NZ. I think there are different language options too.
Cheers Duncan
Hi Daniel
I wanted to try it, but I obtain the following error message:
“speech-recog.agi,en-US: API key is missing. Aborting. “
🙁
What am I missing? Any hint?
Frank
———-
Yes… OK… but… where and how can I obtain this API Key?
Where and how do I install it into my Asterisk box?
Google?…
Steve
Yeah… searched “google voice recognition api asterisk”, browsed though various results. Nothing helpful for a beginner, very confusing bla bla…
Thanks anyway for your help.
F.
if i remember correctly nerdvittles has a article
“google speech recognition api asterisk” brings results
Hello Frank,
google indeed makes it very hard to figure out how to enable the speech API and get a key. I guess it is intentional since they still consider is a technology preview. Anyway have a look here on how to get there:
https://github.com/zaf/asterisk-speech-recog/issues/9#issuecomment-44586754
Hope that helps,
Lefteris
February 23 2016 6:57 PM, “Frank” wrote:
You can check https://github.com/antirek/voicer
I see only today and not tested now.
For enable API Key you need do it by Google Console and enabled the service for voice (not remember the name exactly)
https://console.developers.google.com
Regards,
—
Rodrigo Ramírez Norambuena http://www.rodrigoramirez.com
—
I really appreciated your hint. Many thanks!
At the end, after checking several web sites, I gave up since everything seems a little too complicated for something I just wanted to try as a test.
Thanks again!
Frank
🙂