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 [2015/02/03 21:16] – [Setup] borja | vxi_installation_guide:quickstart:start [2015/02/06 21:19] – [Install Asterisk with Dahdi support (optional)] borja | ||
---|---|---|---|
Line 7: | Line 7: | ||
==== Install Asterisk ==== | ==== Install Asterisk ==== | ||
- | We provide a free and compiled Asterisk installation package. | + | We provide a free and compiled Asterisk installation package. |
+ | |||
+ | NOTE: | ||
+ | |||
+ | You can choose to install a standard Asterik package from any distribution. | ||
+ | We support full integrated solutions like FreePBX, Elastix, AsteriskNow, | ||
+ | In this case you can directly install the VoiceXML 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. | ||
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: | host: | ||
</ | </ | ||
+ | ==== Install Asterisk with Dahdi support (optional) ==== | ||
NOTE: | 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. | ||
+ | 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, | 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, | ||
Line 189: | Line 190: | ||
# ./ | # ./ | ||
</ | </ | ||
+ | |||
+ | 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 226: | ||
</ | </ | ||
- | ==== Start VoiceXML deamon ==== | + | ==== Start VoiceXML |
The VoiceXML browser software is installed in /usr/sbin and / | The VoiceXML browser software is installed in /usr/sbin and / | ||
Line 241: | Line 247: | ||
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 : | ||
+ | < | ||
+ | # | ||
+ | EXEC="/ | ||
+ | # | ||
+ | </ | ||
+ | |||
Start asterisk: (just call the wrapper) | Start asterisk: (just call the wrapper) |