vxi_installation_guide:quickstart:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
vxi_installation_guide:quickstart:start [2014/02/12 23:01] ivanvxi_installation_guide:quickstart:start [2014/02/16 19:24] ivan
Line 1: Line 1:
 ====== Quickstart ====== ====== Quickstart ======
 +
 +[[:vxi_installation_guide:start|Home]] >
  
 ===== Installation ===== ===== Installation =====
Line 7: Line 9:
 ===== Setup ===== ===== Setup =====
  
-[Enter content here]+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: 
 + 
 +<code> 
 +# /etc/init.d/dahdi start 
 +</code> 
 + 
 +To stop the dahdi driver: 
 + 
 +<code> 
 +# /etc/init.d/dahdi stop 
 +</code> 
 + 
 +===== 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. 
 + 
 +<code> 
 +# /etc/init.d/openvxi start 
 +</code> 
 + 
 +To stop the VXI* deamon: 
 + 
 +<code> 
 +# /etc/init.d/openvxi stop 
 +</code> 
 + 
 +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) 
 + 
 +<code> 
 +#safe_asterisk 
 +</code> 
 + 
 +Stop asterisk: 
 +<code> 
 +#killall -9 safe_asterisk && asterisk -x 'core stop gracefully' 
 +</code> 
 + 
 +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. 
 + 
 + 
  
  • vxi_installation_guide/quickstart/start.txt
  • Last modified: 2017/07/31 16:17
  • by javier