Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
vxi_installation_guide:quickstart:start [2014/02/14 22:55] – ivan | vxi_installation_guide:quickstart:start [2014/02/16 19:25] – ivan | ||
---|---|---|---|
Line 9: | 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: | ||
+ | |||
+ | < | ||
+ | # / | ||
+ | </ | ||
+ | |||
+ | To stop the dahdi driver: | ||
+ | |||
+ | < | ||
+ | # / | ||
+ | </ | ||
+ | |||
+ | ==== Start Vxi deamon ==== | ||
+ | |||
+ | The VoiceXML browser software is installed in /usr/sbin and / | ||
+ | |||
+ | < | ||
+ | # / | ||
+ | </ | ||
+ | |||
+ | To stop the VXI* deamon: | ||
+ | |||
+ | < | ||
+ | # / | ||
+ | </ | ||
+ | |||
+ | NOTE: | ||
+ | |||
+ | This startup script runs only for Debian/ | ||
+ | |||
+ | ==== 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) | ||
+ | |||
+ | < | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | 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. | ||
+ | |||
+ | |||