installation_guide:raspbx

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
Last revisionBoth sides next revision
installation_guide:raspbx [2016/11/03 10:55] borjainstallation_guide:raspbx [2016/11/05 14:47] – [Use a GSM/USB dongle (option)] borja
Line 1: Line 1:
-====== Install on the RasPBX ======+====== Install on the RasPBX (Asterisk for Raspberry Pi) ======
  
 {{:installation_guide:raspberry:cropped-winter_pic_small1.jpg?300|}} {{:installation_guide:raspberry:cropped-winter_pic_small1.jpg?300|}}
Line 7: Line 7:
  
 Get it from : Get it from :
-[[http://www.raspberry-asterisk.org/downloads/|Downloads (from raspberry-asterisk.org)]]+  *[[http://www.raspberry-asterisk.org/downloads/|Downloads (from raspberry-asterisk.org)]]
  
 The latest image available for download is based on Raspbian (Debian 8 / Jessie) and includes: The latest image available for download is based on Raspbian (Debian 8 / Jessie) and includes:
-  * Image name raspbx-22-09-2016.zip+  * SD Image name raspbx-22-09-2016.zip (for 4Go microSD)
   * Asterisk 13.11.2   * Asterisk 13.11.2
   * FreePBX 13.0.188.8   * FreePBX 13.0.188.8
  
-Follow those instruction : +==== Install the RasPBX suite ====
-[[https://www.raspberrypi.org/documentation/installation/installing-images/README.md|Flash Image (from raspberrypi.org)]]+
  
-RasPBX already install Asterisk with FreePBX so you only need to complete your installation with the Voximal package +Follow those instruction to flash the SD image 
- +  [[https://www.raspberrypi.org/documentation/installation/installing-images/README.md|Flash Image (from raspberrypi.org)]]
-Get it from  [[http://downloads.voximal.com/voximal/raspbian8/armhf/latest.tar.gz|lastes Voximal for Raspbian package]]+
  
 Connect to SSH (raspbx/raspberry) to complete the installation with the Voximal installer package. The default login acces is : Connect to SSH (raspbx/raspberry) to complete the installation with the Voximal installer package. The default login acces is :
Line 125: Line 123:
 root@raspbx:~# root@raspbx:~#
 </code> </code>
 +
 +==== Install the Voximal module ====
 +
 +RasPBX already install Asterisk with FreePBX so you only need to complete your installation with the Voximal package :
 +
 +Get it from  : 
 +  * [[http://downloads.voximal.com/voximal/raspbian8/armhf/latest.tar.gz|Lastest Voximal/Rasberry package]]
  
 You can directly download the Voximal package with the wget tool : You can directly download the Voximal package with the wget tool :
Line 146: Line 151:
 <code> <code>
 root@raspbx:~# tar xfz latest.tar.gz root@raspbx:~# tar xfz latest.tar.gz
-root@raspbx:~# cd voximal_14.0_20160913_0voximal144raspbian8_armhf+root@raspbx:~# cd voximal_14.0_2016xxxx_0voximalxxxraspbian8_armhf
-root@raspbx:~/voximal_14.0_20160913_0voximal144raspbian8_armhf# ./install.sh +root@raspbx:~/voximal_14.0_2016xxxx_0voximalxxxraspbian8_armhf# ./install.sh 
-Current Asterisk : '11.23.0.' +Compatible module found : app_voximal.so.asterisk_v13.11.2
-Module found: app_voximal.so.asterisk_v11.23.0 +
-Asterisk 11.23.0 installed. +
-| core             | 13.0.57   | Enabled |+
 --- Voximal V14.0 Installation --- --- Voximal V14.0 Installation ---
-Creating directories... +Creating directories 
-Installing binaries... +Installing binaries 
-Installing a vxml sample /var/lib/voximal/helloworld.vxml +Installing VoiceXML examples 
-Installing default voximal.conf... +Installing default voximal.conf 
-Installing libraries... +Installing libraries 
-Installing app vxml for asterisk 11... +Installing Voximal module for asterisk 
-Installing sounds...+Installing additional sounds 
 +User asterisk exists, set permissions 
 +Restarting asterisk............................................... 
 +Configuring VoiceXML examples 
 +Installing Voximal FreePBX module 
 +Configuring Voximal FreePBX module 
 +Adding accounts... 
 + - Account "helloworld" added 
 + - Extension 8965 added 
 +Wildcard extension added 
 +Voximal license updated 
 +Voximal configuration updated 
 +Voximal TTS configuration parsed 
 +Generating CSS...Done 
 +Module voximal successfully installed 
 +Updating Hooks...Done 
 +Reloading FreePBX 
 +Successfully reloaded 
 +--- Voximal V14.0 installation has finished ---
 </code> </code>
  
  
 +==== Connect with WIFI (option) ====
 +
 +If you want to connect you raspberry with Wifi, please follow those steps :
 +  * [[https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md|Configure Wifi (from raspberrypi.org)]]
 +
 +
 +==== Use a GSM/USB dongle (option) ====
 +
 +A highly affordable GSM access can be obtained using Huawei E155X or compatible USB modems and chan_dongle, providing both inbound and outbound calls on GSM/3G networks.
 +
 +Chan_dongle is able to work with many different USB modems from Huawei, such as K3715, E169 / K3520, E155X, E175X, K3765 and others. 
 +
 +  * [[https://github.com/bg111/asterisk-chan-dongle/wiki/Requirements-and-Limitations|Compatibility list]]
 +  * [[http://www.raspberry-asterisk.org/documentation/gsm-voip-gateway-with-chan_dongle|More information]]
 +
 +You can use the integrated dongle channel to get calls from a plug.
 +
 +<code>
 +root@raspbx:~# install-dongle
 +Installing GSM VoIP gateway with chan_dongle.
 +Please read the documentation at http://raspbx.org/dongle
 +
 +Please enter the phone number of your SIM card
 +(defaults to +1234567890 if left blank):
 +Send incoming SMS to email address
 +(leave empty to disable SMS forwarding):
 +Forward incoming SMS to mobile phone number (via dongle0)
 +(leave empty to disable):
 +Reading package lists... Done
 +Building dependency tree
 +Reading state information... Done
 +The following extra packages will be installed:
 +  libjim0.75 usb-modeswitch-data
 +
 +...
 +
 +Would you like to install a webpage for sending SMS with
 +chan_dongle? (http://raspbx/sms/) [y/N] n
 +
 +Please wait...
 +
 +!!!!amportal is depreciated. Please use fwconsole!!!!
 +forwarding all commands to 'fwconsole'
 +Running FreePBX shutdown...
 +
 +Shutting down Asterisk Gracefully. Will forcefully kill after 30 seconds.
 +Press C to Cancel
 +Press N to shut down NOW
 +[============================] 1 sec
 +Running FreePBX startup...
 +Starting Asterisk...
 +[============================] 57 secs
 +Asterisk Started
 +Your configuration has been saved successfully to these files:
 +/etc/asterisk/dongle.conf
 +
 +root@raspbx:~#
 +</code>
  
 +You will need to configure and **inband route** to link the incomming calls to the Voximal application and account. 
  
  • installation_guide/raspbx.txt
  • Last modified: 2016/11/07 09:43
  • by borja