vxi_installation_guide:raspbx:start

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
vxi_installation_guide:raspbx:start [2015/05/16 13:58] – [RaspPBX Installation] borjavxi_installation_guide:raspbx:start [2017/07/31 16:17] (current) – ↷ Links adapted because of a move operation javier
Line 1: Line 1:
 ====== RaspPBX ====== ====== RaspPBX ======
  
-[[:vxi_installation_guide:start|Home]] >+[[vxi_installation_guide:start|Home]] >
  
 {{:vxi_installation_guide:raspbx:raspberrypi_logo.png|RaspberryPI}} {{:vxi_installation_guide:raspbx:raspberrypi_logo.png|RaspberryPI}}
Line 69: Line 69:
 ===== FreePBX Upgrade ===== ===== FreePBX Upgrade =====
  
 +===== Dongle Install =====
 +
 +<code>
 +root@raspbx:~# apt-get install lsusb
 +</code>
 +
 +For the Modem model HUAWEI 1550 :
 +
 +<code>
 +root@raspbx:~# usb_modeswitch -v 0x12d1 -p 0x1446 -V 0x12d1 -P 0x140c -m 0x01 -M "55534243123456780000000000000011060000000000000000000000000000"
 +</code>
 +
 +<code>
 +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
 +</code>
 +
 +<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): +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
 +</code>
 +
 +
 +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:
 +
 +<code>
 +#while [ `/bin/date +%s` -lt $MIN_START_TIME ]
 +#do
 +#  sleep 10
 +#done
 +</code>
  
  • vxi_installation_guide/raspbx/start.1431784723.txt.gz
  • Last modified: 2017/07/28 22:29
  • (external edit)