Welcome to an introduction to text-to-speech and speech-to-text for Asterisk! With how popular speech recognition is becoming, we decided to take on the initiative of integrating these services with Asterisk. In the past, this was usually handled by C modules or AGI. We wanted this experience to be more seamless and easier for developers to use. Let’s take a look at how it’s going to work.
How will it work?
This new functionality will be accessed via dialplan functions. A configuration will need to be set up and passed into the dialplan function, which will then go through the above process. Results will get passed back so that you know what happened and can act accordingly. It’s important to note that you will need to create an external application or use an existing one, as well as know which speech service you want to use. The goal is to take submissions for different applications that offer support for various speech services to grow the pool over time, so be thinking of which service you want to use!
A more detailed description of the project can be found here. The wiki page will be updated as development continues, and we’re open to suggestions for improvements or potential lack of coverage, so leave a comment!