installation_guide:raspbx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
installation_guide:raspbx [2016/09/13 15:47] – created borjainstallation_guide:raspbx [2016/11/05 14:38] borja
Line 1: Line 1:
-====== Option with Raspbx version ======+====== 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:
-  * Asterisk 11.21.0 +  * SD Image name raspbx-22-09-2016.zip (for 4Go microSD) 
-  * FreePBX 13.0.74 +  * Asterisk 13.11.2 
-  * Torrent raspbx-06-03-2016.zip.torrent +  * FreePBX 13.0.188.8
-  * HTTP raspbx-06-03-2016.zip +
-  * SHA-1 38665490e4ca3771ef39623c72019737d979e988 +
  
 +==== Install the RasPBX suite ====
  
- +Follow those instruction to flash the SD image 
-Follow those instruction : +  [[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)]] +
- +
-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|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 130: Line 124:
 </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 :
  
 <code> <code>
-[root]# ./voxibot_1.x.xx_2016xxxx_0voximalxxcentos6_all.run+root@raspbx:~wget http://downloads.voximal.com/voximal/raspbian8/armhf/latest.tar.gz 
 +--2016-09-13 16:52:21--  http://downloads.voximal.com/voximal/raspbian8/armhf/latest.tar.gz 
 +Resolving downloads.voximal.com (downloads.voximal.com)... 84.246.228.252, 2a02:23e0:0:4:9458:e0ff:feb7:e457 
 +Connecting to downloads.voximal.com (downloads.voximal.com)|84.246.228.252|:80... connected. 
 +HTTP request sent, awaiting response... 200 OK 
 +Length: 7819312 (7.5M) [application/x-gzip] 
 +Saving to: ‘latest.tar.gz’
  
-[root]#+latest.tar.gz       100%[=====================>  7.46M  3.34MB/  in 2.2s 
 + 
 +2016-09-13 16:52:23 (3.34 MB/s) - ‘latest.tar.gz’ saved [7819312/7819312]
 </code> </code>
  
 +Untar and execute the installation script :
 +
 +<code>
 +root@raspbx:~# tar xfz latest.tar.gz
 +root@raspbx:~# cd voximal_14.0_2016xxxx_0voximalxxxraspbian8_armhf/
 +root@raspbx:~/voximal_14.0_2016xxxx_0voximalxxxraspbian8_armhf# ./install.sh
 +Compatible module found : app_voximal.so.asterisk_v13.11.2
 +--- Voximal V14.0 Installation ---
 +Creating directories
 +Installing binaries
 +Installing VoiceXML examples
 +Installing default voximal.conf
 +Installing libraries
 +Installing Voximal module for asterisk
 +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>
 +
 +
 +==== 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)]]
 +
 +
 +==== Add a 3G dongle (option) ====
 +
 +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
 +Suggested packages:
 +  comgt wvdial
 +The following NEW packages will be installed:
 +  asterisk13-chandongle libjim0.75 usb-modeswitch usb-modeswitch-data
 +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
 +Need to get 259 kB of archives.
 +After this operation, 778 kB of additional disk space will be used.
 +Get:1 http://repo.raspbx.org/apt/debian/ jessie/main asterisk13-chandongle all 1.1-34 [67.4 kB]
 +Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main libjim0.75 armhf 0.75-1 [98.3 kB]
 +Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main usb-modeswitch-data all 20150115-1 [41.5 kB]
 +Get:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main usb-modeswitch armhf 2.2.0+repack0-2 [51.4 kB]
 +Fetched 259 kB in 0s (286 kB/s)
 +Selecting previously unselected package libjim0.75:armhf.
 +(Reading database ... 49894 files and directories currently installed.)
 +Preparing to unpack .../libjim0.75_0.75-1_armhf.deb ...
 +Unpacking libjim0.75:armhf (0.75-1) ...
 +Selecting previously unselected package asterisk13-chandongle.
 +Preparing to unpack .../asterisk13-chandongle_1.1-34_all.deb ...
 +Unpacking asterisk13-chandongle (1.1-34) ...
 +Selecting previously unselected package usb-modeswitch-data.
 +Preparing to unpack .../usb-modeswitch-data_20150115-1_all.deb ...
 +Unpacking usb-modeswitch-data (20150115-1) ...
 +Selecting previously unselected package usb-modeswitch.
 +Preparing to unpack .../usb-modeswitch_2.2.0+repack0-2_armhf.deb ...
 +Unpacking usb-modeswitch (2.2.0+repack0-2) ...
 +Processing triggers for man-db (2.7.0.2-5) ...
 +Setting up libjim0.75:armhf (0.75-1) ...
 +Setting up asterisk13-chandongle (1.1-34) ...
 +Setting up usb-modeswitch-data (20150115-1) ...
 +Setting up usb-modeswitch (2.2.0+repack0-2) ...
 +Processing triggers for libc-bin (2.19-18+deb8u6) ...
 +Saving previous contents of /etc/asterisk/extensions_custom.conf to /etc/asterisk/extensions_custom.conf.orig
 +Storing received SMS in /var/log/asterisk/sms.txt
 +
 +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>
  
  
  
  • installation_guide/raspbx.txt
  • Last modified: 2016/11/07 09:43
  • by borja