VoiceXML is a technology used to recognize speech patterns in web oriented content delivery IVR applications. For example if a site xyz.com, a site that provide all kind of information about a state. We can create a application so that when a user call to a number lets say 1234, call will be landed to the site xyz.com. Since xyz.com provide contents of a particular state you can ask temperature of the particular state by saying a keyword “temperature”. The user get temperature of the particular state as response.
We can build IVR using asterisk IVR framework with-in 5 minutes. What if we can integrate the voice pattern for IVR flow, its cool idea ? A lot of software are there but almost all are very costly and not much simple. Here is a solution for this, The SpeakRight Framework.
SpeakRight Framework is an open source java framework. We can develop speech recognition applications. Using this framework we can build voice based IVR application in asterisk IVR framework. We can use both the SpeakRight framework and phpagi to build voice based IVR with asterisk. The framework use code based approaches. Let me explain what is code based approach with an example. A lot of IVR application are UI based applications so that a normal user can define the IVR logic by simply drag dropping components. But when the IVR logic become complicated its very hard to understand if we develop using visual programming languages. But we can simply develop any complicated IVR using dailplan. The dialplan use code based approach since we do code the IVR logic using simple functions. Like wise SpeakRight are also using same logic for recognizing speech patterns.
Let me explain how to integrate in the architecture diagram below.
I will soon come back with the implementation 🙂