Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
installation_guide:voximal [2017/06/23 11:49] – [Change the running user] borja | installation_guide:voximal [2017/12/15 09:21] – borja | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Voximal : Voximal Module Installation | + | ===== Voximal : Voximal Module Installation |
- | + | ||
- | {{: | + | |
The Voximal module package install : | The Voximal module package install : | ||
Line 17: | Line 15: | ||
Dependencies | Dependencies | ||
- | * Asterisk | + | * Asterisk |
* FreePBX 12-13 for the GUI/Web configuration interface) | * FreePBX 12-13 for the GUI/Web configuration interface) | ||
- | * Xivo (tests) | + | * Isaabel |
- | * Elsatix | + | |
Note : You need to disable linuxSE (if you already installed Asterisk it should already done). | Note : You need to disable linuxSE (if you already installed Asterisk it should already done). | ||
Line 31: | Line 28: | ||
- Enter in the directory voximal* created. | - Enter in the directory voximal* created. | ||
- Execute the install.sh script and follow the instructions (generaly answer ' | - Execute the install.sh script and follow the instructions (generaly answer ' | ||
- | - Restart | + | - Check if the script already restarted your Asterisk, if not start your Asterisk,. |
- | - When done, you see a new application (CLI> voximal show version). | + | - When done, you see a new application, or and updated version |
- If you use FreePBX you will see a new items in the web interface to manage the Voximal Application. | - If you use FreePBX you will see a new items in the web interface to manage the Voximal Application. | ||
Line 49: | Line 46: | ||
Restarting asterisk............................................... | Restarting asterisk............................................... | ||
--- Voximal V14.0 installation has finished --- | --- Voximal V14.0 installation has finished --- | ||
+ | </ | ||
+ | |||
+ | ==== Extended features of the install script ==== | ||
+ | |||
+ | < | ||
+ | # ./ | ||
+ | Usage: ./ | ||
+ | -d : install directory default is root / | ||
+ | -g : do not install gui modules | ||
+ | -u : do not generate uid.txt | ||
+ | -U : user for files permissions | ||
+ | -h : this help | ||
</ | </ | ||
==== Change the user and group for Asterisk ==== | ==== Change the user and group for Asterisk ==== | ||
- | If you want to run Asterisk without using the standard asterisk user follow thos steps. | + | The best option is to use the option -U in the installation script : |
< | < | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | If you want to run Asterisk without using the standard asterisk user, and doing that yourself, follow those steps. | ||
+ | |||
+ | < | ||
+ | [root]# chown -R user:group / | ||
[root]# chown -R user:group / | [root]# chown -R user:group / | ||
[root]# chown -R user:group / | [root]# chown -R user:group / | ||
[root]# chown -R user:group / | [root]# chown -R user:group / | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | [root]# chown -R user:group / | ||
+ | [root]# chown -R user:group / | ||
+ | [root]# chown -R user:group / | ||
+ | [root]# chown -R user:group / | ||
+ | </ | ||
+ | |||
+ | Check the deamon script and charge the reference to asterisk: | ||
+ | |||
+ | Example (with Centos 7 script) : | ||
+ | |||
+ | < | ||
+ | [Unit] | ||
+ | Description=Asterisk PBX and telephony daemon | ||
+ | Wants=network.target | ||
+ | After=network.target | ||
+ | |||
+ | [Service] | ||
+ | Type=simple | ||
+ | User=user | ||
+ | Group=group | ||
+ | Environment=HOME=/ | ||
+ | WorkingDirectory=/ | ||
+ | ExecStart=/ | ||
+ | ExecStop=/ | ||
+ | ExecReload=/ | ||
+ | |||
+ | # safe_asterisk emulation | ||
+ | Restart=always | ||
+ | RestartSec=10 | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | </ | ||
+ | |||
+ | |||
==== Configure Voximal from the Web interface ==== | ==== Configure Voximal from the Web interface ==== |