Robust Affordable Speech Recognition
Plug-in Installation FAQ:
Asterisk for Linux

The following FAQ has been designed for plug-in installation for Asterisk for Linux.
- What operating systems does the plug-in support?
- What GNU/Linux distributions does the plug-in support?
- What formats of the installation package are available?
- What does the name of the installation file represent?
- Is there any prerequisite software that should be installed before the plug-in installation?
- How can I check whether the plug-in is correctly installed?
- I modified modules.conf to add the VASRE plug-in to Asterisk module list. How can I check if it is actually added?
- I modified extensions.conf and made a call to Asterisk to test the VASRE sample dialplan. But it doesn't respond.
- I placed a call to the pizza demo. It never listens to me, but keeps prompting something.
- Is there any way to choose a proper value of VadAmpThres?
1. What operating systems does the plug-in support?
The VASRE plug-in for Asterisk supports GNU/Linux only.
2. What GNU/Linux distributions does the plug-in support?
The VASRE plug-in for Asterisk supports Debian, Ubuntu, OpenSUSE, SUSE Linux Enterprise, Fedora Core, CentOS, RedHat Enterprise. Other distributions will also be covered soon.
3. What formats of the installation package are available?
The installation package of the plug-in is provided in two formats: .deb and .rpm.
4. What does the name of the installation file represent?
The name of the Asterisk plug-in installation file is:
vasre-se-ast_astver-plugin-version-arch
where astver, version, and arch represent the version of Asterisk, the version of VASRE, and the supported architecture. For example, the installation file of the plug-in for Asterisk 1.4 would be:
vasre-se-ast_1.4-plugin-1.0.0~Centos_5-i386
5. Is there any prerequisite software that should be installed before the plug-in installation?
You must install the VASER SE and Asterisk first before installing the plug-in.
6. How can I check whether the plug-in is correctly installed?
You can check whether the following files and directories exist:
Run module show command from the Asterisk Command Line Interface (CLI) to see whether res_speech.so and res_speech_vasre.so are listed. If they are not in the list, run module reload and retry.
8. I modified extensions.conf and made a call to Asterisk to test the VASRE sample dialplan. But it doesn't respond.
Double-check whether extensions.conf is correctly modified as described in the Asterisk Integration Guide. Run dialplan reload from the Asterisk CLI to apply the changes.
9. I placed a call to the pizza demo. It never listens to me, but keeps prompting something.
This usually happens when background noise or the prompt message are fed to the recognition server as speech inputs. Open /opt/VestecASRE/Samples/Dialplan/vasre-demo.conf and search for the line setting the value of VadAmpThres. Increase the value of this parameter by 1000 and retry. Repeat this procedure until the dialplan listens to your speech.
10. Is there any way to choose a proper value of VadAmpThres?
Open /opt/VestecASRE/Samples/Dialplan/vasre-demo.conf and search for the line setting the value of CompMaxAmp. Assign one to this parameter, and reload the dialplan. The Asterisk CLI will output the maximum amplitude of speech just detected. If noise or echo was falsely detected, make VadAmpThres slightly higher than the maximum amplitude output.
The VASRE plug-in for Asterisk supports GNU/Linux only.
2. What GNU/Linux distributions does the plug-in support?
The VASRE plug-in for Asterisk supports Debian, Ubuntu, OpenSUSE, SUSE Linux Enterprise, Fedora Core, CentOS, RedHat Enterprise. Other distributions will also be covered soon.
3. What formats of the installation package are available?
The installation package of the plug-in is provided in two formats: .deb and .rpm.
4. What does the name of the installation file represent?
The name of the Asterisk plug-in installation file is:
vasre-se-ast_astver-plugin-version-arch
where astver, version, and arch represent the version of Asterisk, the version of VASRE, and the supported architecture. For example, the installation file of the plug-in for Asterisk 1.4 would be:
vasre-se-ast_1.4-plugin-1.0.0~Centos_5-i386
5. Is there any prerequisite software that should be installed before the plug-in installation?
You must install the VASER SE and Asterisk first before installing the plug-in.
6. How can I check whether the plug-in is correctly installed?
You can check whether the following files and directories exist:
- /usr/lib/asterisk/modules/res_speech_vasre.so
- /opt/VestecASRE/Samples/Dialplan/
- /etc/VestecASRE/
Run module show command from the Asterisk Command Line Interface (CLI) to see whether res_speech.so and res_speech_vasre.so are listed. If they are not in the list, run module reload and retry.
8. I modified extensions.conf and made a call to Asterisk to test the VASRE sample dialplan. But it doesn't respond.
Double-check whether extensions.conf is correctly modified as described in the Asterisk Integration Guide. Run dialplan reload from the Asterisk CLI to apply the changes.
9. I placed a call to the pizza demo. It never listens to me, but keeps prompting something.
This usually happens when background noise or the prompt message are fed to the recognition server as speech inputs. Open /opt/VestecASRE/Samples/Dialplan/vasre-demo.conf and search for the line setting the value of VadAmpThres. Increase the value of this parameter by 1000 and retry. Repeat this procedure until the dialplan listens to your speech.
10. Is there any way to choose a proper value of VadAmpThres?
Open /opt/VestecASRE/Samples/Dialplan/vasre-demo.conf and search for the line setting the value of CompMaxAmp. Assign one to this parameter, and reload the dialplan. The Asterisk CLI will output the maximum amplitude of speech just detected. If noise or echo was falsely detected, make VadAmpThres slightly higher than the maximum amplitude output.