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
vxi_installation_guide:quickstart:start [2015/02/03 21:16] – [Setup] borjavxi_installation_guide:quickstart:start [2017/07/31 16:17] (current) – ↷ Links adapted because of a move operation javier
Line 1: Line 1:
 ====== Quickstart ====== ====== Quickstart ======
  
-[[:vxi_installation_guide:start|Home]] >+[[vxi_installation_guide:start|Home]] >
  
 ===== Installation ===== ===== Installation =====
Line 7: Line 7:
 ==== Install Asterisk ==== ==== Install Asterisk ====
  
-We provide a free and compiled Asterisk installation package.  The install package contains a minimal amount of default configuration files to get started, and provides an efficient way to get your Asterisk system up and running.+We provide a free and compiled Asterisk installation package. 
 + 
 + 
 +You can choose to install a standard Asterik package from any distribution. 
 +We support full integrated solutions like FreePBX, Elastix, AsteriskNow, IncrediblePBX too. 
 +In this case you can directly install the VoiceXML package. 
 + 
 +Use root to install the Asterisk PBX binaries. 
 +The install package contains a minimal amount of default configuration files to get started, and provides an efficient way to get your Asterisk system up and running.
  
 First, unzip/untar the Asterisk package by using the command: First, unzip/untar the Asterisk package by using the command:
Line 29: Line 37:
 host:~/asterisk_Vx.x.x_date# host:~/asterisk_Vx.x.x_date#
 </code> </code>
- +==== Install Asterisk with Dahdi support (optional) ====
-NOTE: +
- +
-If your Asterisk is already installed or you are installing from sources please check your are using: +
- +
-    * Asterisk 1.2              Vxi 1.4 packages (discontinued) +
-    * Asterisk 1.4 Vxi 3.X, 4.X, 5.X, 6.X packages +
-    * Asterisk 1.6 Vxi 3.X, 4.X, 5.X, 6.X, 7.X, 8.X packages +
-    * Asterisk 1.8 Vxi 6.X, 7.X, 8.X packages (stable) +
- +
-==== Install Dahdi (optional) ====+
  
 If you don't use a TDM board, please skip this section. If you don't use a TDM board, please skip this section.
  
 +This section add Dahdi support to our Asterisk PBX binaries.
 +Use root to install Dahdi driver and Dahdi tools.
 If your system use a TDM card, you must install first Dadhi drivers to manage T1/E1 interface. The Dadhi drivers and tools should be compiled in the server. You need to install a building environment (compiler, binutils and kernel headers). For the Debian distribution, install the packages : linux-headers-`uname -r`, make, gcc. If your system use a TDM card, you must install first Dadhi drivers to manage T1/E1 interface. The Dadhi drivers and tools should be compiled in the server. You need to install a building environment (compiler, binutils and kernel headers). For the Debian distribution, install the packages : linux-headers-`uname -r`, make, gcc.
  
Line 189: Line 189:
 # ./install.sh # ./install.sh
 </code> </code>
 +
 +NOTE :
 +
 +If detected, the package will install the **FreePBX** and **Elastix** modules.
 +You will need to finish the VoiceXML FreePBX module manually.
 +   * Enable unsigned application to avoid the message warning (for recent FreePBX versions).
 +   * Install the local module form the 'Admin modules'
  
 ===== Setup ===== ===== Setup =====
Line 220: Line 227:
 </code> </code>
  
-==== Start VoiceXML deamon ====+==== Start VoiceXML browser deamon ====
  
-The VoiceXML browser software is installed in /usr/sbin and /usr/lib/vxml. The VoiceXML browser setup script on Linux is /etc/vxmld.conf (older verions: /etc/init.d/openvxi). The vxml script calls the /usr/sbin/vxmld executable that is the VoiceXML browser engine. If the VoiceXML browser process dies, the Asterisk module can be configured to detect it and force the VoiceXML browser and the Asterisk to restart using the safe_asterisk script.+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 vxml script calls the /usr/sbin/openvxi executable that is the VoiceXML browser engine. If the VoiceXML browser process dies, the Asterisk module can be configured to detect it and force the VoiceXML browser and the Asterisk to restart using the safe_asterisk script.
  
 <code> <code>
-# /etc/init.d/vxml start+# /etc/init.d/openvxi start
 </code> </code>
  
Line 231: Line 238:
  
 <code> <code>
-# /etc/init.d/vxml stop+# /etc/init.d/openvxi stop
 </code> </code>
  
Line 241: Line 248:
  
 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. 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.
 +It is better to modify the safe_asterisk script to restart the VoiceXML browser when the safe_asterisk script restart the Asterisk.
 +Edit the script and add :
 +<code>
 +#NOTIFY=ben@alkaloid.net         # Who to notify about crashes
 +EXEC="/etc/init.d/vxml restart"  # Run this command if Asterisk crashes
 +#LOGFILE=/path/to/logfile        # Where to place the normal logfile (disabled if blank)
 +</code>
 +
  
 Start asterisk: (just call the wrapper) Start asterisk: (just call the wrapper)
  • vxi_installation_guide/quickstart/start.1422998193.txt.gz
  • Last modified: 2017/07/28 22:29
  • (external edit)