====== RaspPBX ====== [[vxi_installation_guide:start|Home]] > {{:vxi_installation_guide:raspbx:raspberrypi_logo.png|RaspberryPI}} * **Web site** : [[http://http://www.raspberry-asterisk.org/|http://www.raspberry-asterisk.org/]] * **Forum** : [[http://www.raspberry-asterisk.org/forum/|Forum]] This project is dedicated to Asterisk and FreePBX running on the Raspberry Pi. For any information related to Raspberry Pi, check the original website at raspberrypi.org. ===== RaspPBX Installation ===== http://www.raspberry-asterisk.org/downloads/ http://sourceforge.net/projects/win32diskimager/ ===== RaspPBX Upgrade ===== root@raspbx:~# raspbx-upgrade RasPBX upgrade tool Run "raspbx-upgrade --help" for additional options Base version: 22-02-2015 Installed upgrade: 19 Local upgrade available: 19 Online upgrade available: 20 Running apt-get update && apt-get dist-upgrade. Get:1 http://repo.raspbx.org wheezy InRelease [1,443 B] Get:2 http://archive.raspbian.org jessie InRelease [15.0 kB] Get:3 http://repo.raspbx.org wheezy/main armhf Packages [2,140 B] Get:4 http://archive.raspbian.org jessie/main Sources [7,726 kB] Ign http://repo.raspbx.org wheezy/main Translation-en_GB Ign http://repo.raspbx.org wheezy/main Translation-en Get:5 http://archive.raspbian.org jessie/main armhf Packages [8,960 kB] Ign http://archive.raspbian.org jessie/main Translation-en_GB Ign http://archive.raspbian.org jessie/main Translation-en Fetched 16.7 MB in 1min 14s (225 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: apache2 apache2-bin apache2-data apache2-utils apt asterisk11 ... systemd-sysv sysv-rc sysvinit sysvinit-utils tzdata udev util-linux 195 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 133 MB of archives. After this operation, 1,449 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://repo.raspbx.org/apt/debian/ wheezy/main raspi-config all 20150131-1 [12.1 kB] ... Setting up asterisk11 (11.17.0-1) ... Setting up raspbx-upgrade (1.0-30) ... Processing triggers for libc-bin (2.19-18) ... Installing upgrade 20. -------------------------------------------------------------------------- Adding new RasPBX repository for Debian Jessie based images -------------------------------------------------------------------------- Finishing RasPBX upgrades installation, installed version is now: 20 root@raspbx:~# ===== FreePBX Upgrade ===== ===== Dongle Install ===== root@raspbx:~# apt-get install lsusb For the Modem model HUAWEI 1550 : root@raspbx:~# usb_modeswitch -v 0x12d1 -p 0x1446 -V 0x12d1 -P 0x140c -m 0x01 -M "55534243123456780000000000000011060000000000000000000000000000" root@raspbx:~# apt-get update Get:1 http://repo.raspbx.org jessie InRelease [1,443 B] Get:2 http://archive.raspbian.org jessie InRelease [15.0 kB] Get:3 http://repo.raspbx.org jessie/main armhf Packages [2,342 B] Get:4 http://archive.raspbian.org jessie/main Sources [7,726 kB] Ign http://repo.raspbx.org jessie/main Translation-en_GB Ign http://repo.raspbx.org jessie/main Translation-en Get:5 http://archive.raspbian.org jessie/main armhf Packages [8,960 kB] Ign http://archive.raspbian.org jessie/main Translation-en_GB Ign http://archive.raspbian.org jessie/main Translation-en Fetched 16.7 MB in 1min 13s (226 kB/s) Reading package lists... Done 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): +33695191410 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 libusb-1.0-0 usb-modeswitch-data Suggested packages: comgt wvdial The following NEW packages will be installed: asterisk11-chandongle libjim0.75 libusb-1.0-0 usb-modeswitch usb-modeswitch-data 0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded. Need to get 472 kB of archives. After this operation, 1,245 kB of additional disk space will be used. Get:1 http://archive.raspbian.org/raspbian/ jessie/main libusb-1.0-0 armhf 2:1.0.19-1 [42.4 kB] ... Setting up asterisk11-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) ... 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] Please wait... STOPPING ASTERISK Waiting for Asterisk to Stop Gracefully... Asterisk Stopped SETTING FILE PERMISSIONS...............Done Removing any dangling symlinks Dangling symlinks removed STARTING ASTERISK Asterisk Started Your configuration has been saved successfully to these files: /etc/asterisk/dongle.conf To be able to lunch Asterisk without time (without internet, because the time is got from the net), just edit the script /usr/local/sbin/amportal_delayed and uncomment these lines: #while [ `/bin/date +%s` -lt $MIN_START_TIME ] #do # sleep 10 #done