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
installation_guide:raspbx [2016/11/05 14:21] borjainstallation_guide:raspbx [2016/11/07 09:43] (current) – [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 13: Line 13:
   * Asterisk 13.11.2   * Asterisk 13.11.2
   * FreePBX 13.0.188.8   * FreePBX 13.0.188.8
 +
 +==== Install the RasPBX suite ====
  
 Follow those instruction to flash the SD image : Follow those instruction to flash the SD image :
   * [[https://www.raspberrypi.org/documentation/installation/installing-images/README.md|Flash Image (from raspberrypi.org)]]   * [[https://www.raspberrypi.org/documentation/installation/installing-images/README.md|Flash Image (from raspberrypi.org)]]
- 
-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)]] 
- 
-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]] 
  
 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 129: 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 182: Line 183:
  
  
 +==== 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. 
 +
 +==== Test your installation ====
 +
 +You have two simple ways to test and validate your installation :
 +
 +  * With a soft phone : [[installation_guide:softphone:start|Soft Phone connection]] 
 +  * With the test numbers : [[installation_guide:test:start|Call the test service]]
  
  
  • installation_guide/raspbx.1478355704.txt.gz
  • Last modified: 2016/11/05 14:21
  • by borja