This is an old revision of the document!
Quickstart
Home >
Installation
[Enter content here]
Setup
Be careful, respect the order for starting and stopping the full VoiceXML modules :
To start the platform orderly:
- Start Dahdi (optional)
- Start VXI
- Start Asterisk
To stop it, orderly :
- Stop Asterisk
- Stop VXI
- Stop Dahdi (optional)
Start Dahdi deamon
To start the dahdi driver:
# /etc/init.d/dahdi start
To stop the dahdi driver:
# /etc/init.d/dahdi stop
Start Vxi deamon
The VoiceXML browser software is installed in /usr/sbin and /usr/lib/openvxi. The VoiceXML browser setup script on Linux is /etc/init.d/openvxi. The openvxi script calls the /usr/sbin/safe_openvxi executable that functions as a monitor and auto-loader for your VoiceXML browser system. This safe_openvxi starts VoiceXML browser and monitors it to make sure it is still running. If the VoiceXML browser process dies, the script will attempt to restart it.
# /etc/init.d/openvxi start
To stop the VXI* deamon:
# /etc/init.d/openvxi stop
NOTE:
This startup script runs only for Debian/Ubuntu Linux distributions, please modify or install a correct this script file to launch correctly Vxi from other Linux systems. We provide a script to start the actual, AsteriskNOW linux distribution from Digium.
Start Asterisk deamon
For production setups, we use safe_asterisk wrapper to catch any asterisks error, avoiding to restart asterisk manualy. This script will start a new asterisk instance when asterisk process is missing. So if you really want to stop asterisk, you must stop safe_asterisk script first.
Start asterisk: (just call the wrapper)
#safe_asterisk
Stop asterisk:
#killall -9 safe_asterisk && asterisk -x 'core stop gracefully'
NOTE:
On production server there can be a CRON command line restarting asterisk automatically each morning, using safe_asterisk is mandatory. Check with ā#crontab -lā, if there is any asterisk killall commands related with asterisk.