In our Linux packages, there's an application called SimpleSREClient that tests to make sure that the software has been installed and licensed properly. The program takes a predefined grammar and audio utterance and passes them to the Engine to get a decode.
To build run the program:
Loaded Grammar!
Loaded Audio!
Decode returned!
Alternative 1:
Interpretation 1 of 1:
Grammar Label : 1
Input Sentence : EIGHT FIVE EIGHT SEVEN O SEVEN O SEVEN O SEVEN
Interpretation String: 8587070707
Interpretation Score : 918
Alternative 2:
Interpretation 1 of 1:
Grammar Label : 1
Input Sentence : EIGHT FIVE EIGHT SEVEN O SEVEN O SEVEN O SEVEN EIGHT
Interpretation String: 85870707078
Interpretation Score : 914
Alternative 3:
Interpretation 1 of 1:
Grammar Label : 1
Input Sentence : EIGHT FIVE EIGHT SEVEN O SEVEN O SEVEN O SEVEN TWO
Interpretation String: 85870707072
Interpretation Score : 909
Once you have verified that the Speech Engine is running correctly, you can ensure the LumenVox-Asterisk connection is successful by running a simple speech recognition application. The following Dial Plan* context will allow you to call in to your machine and say "Yes" or "No" at the beep and get a recognition, returned as either "true" or "false." You will need to have the Asterisk console open and have its verbosity set to at least 1 in order to see the results.
Please see our Known Issues page for known issues with the LumenVox-Asterisk integration.
Once you have the installation working, see Getting Started for basic information on developing Asterisk speech recognition applications.