Install on Debian Stretch 9.4 the fabulous Asterisk 14 + Freepbx 14

….I know…. there are other alternatives compared to FreePbx that are equally effective, but…. I know well FreePbx and I do not want to learn new Asterisk-GUI !

For this reason in this post I’ll write about FreePbx.

The very first step is to install Debian 9.1: below some critical points.

Disk Partition
My choice: Guided – use entire – all file in one partition
In my situation the device is equipped with a small SSD HD, and it is useless to create strange partition-geometries: the machine is used only for the Asterisk-PBX.

Software Selection
My choice: only SSH server & standard system utilities Continue reading

Fax & Voip – Part 3/3 – Baud Rate & Fax Relay

oldfaxmachineDecrease Baud Rate and turning off ECM
Packet loss, jitter, and latency all add up to corrupt a fax transmission in VoIP env
and unfortunately also in Asterisk PBX.

When a fax machine determines that some data is lost, it will shut down the entire fax transmission, even though you would still have a workable document.

By slowing down the transmission speed up to 9600 bps, you’ll increase the probability that all the faxes will be transmitted or received correctly.

To slowing down the BAUD rate to 9600 bps you need to check the parameteres of the fax device. Continue reading

Acer Revo M1-601: How to install Asterisk & Freepbx

acer-m1-601To begin you need to install Debian 8.1.

Critical step in the installation process.
Non-free firmware
When the installation process ask for “Some of you hardware needs non-free firmware  – the missing firmware files are rtl_nic/rtl8168g-2.fw”, you need to download from Debian Packaged web site package named firmware-realtek (see linkografia), uncompress it to an USB stick (using 7zip for example): after that you can insert USB key in your Acer and continue with installation process.

debianaskforfirmware
Disk Partition
My choice: Guided – use entire – all file in one partition

Software Selection
My choice: SSH server and standard system utilities

Root SSH Access
You need to permit root user to get via SSH in order to facilitate the configuration steps.

> sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config
> service sshd restart

Continue reading

Asterisk/FreePbx 12 – How to solve error Permission denied (13) in /var/www/html/admin/config.php on line 68

monkey-customer-serviceAfter upgrading to Asterisk/FreePbx 12 happenz the next error

PHP Warning:  session_start(): open(/var/lib/php/session/ failed.... Permission denied (13) in /var/www/html/admin/config.php on line 68

Praticaly when you login to freepbx web interface, and select any item in the menu, you will return to login page !

To solve

chown -R asterisk:asterisk /var/lib/php/session