From a488321357a6043467a77c28aeda192ef2592caa Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 2 Aug 2021 19:21:46 -0400 Subject: [PATCH 1/4] Update roles/pbx/README.rst, warning about PHP 7.4 etc! --- roles/pbx/README.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/roles/pbx/README.rst b/roles/pbx/README.rst index 22d83d4d6..82d7c74a7 100644 --- a/roles/pbx/README.rst +++ b/roles/pbx/README.rst @@ -4,7 +4,11 @@ PBX README This 'pbx' playbook adds `Asterisk `_ and `FreePBX `_ to Internet-in-a-Box (IIAB) for VoIP and SIP functionality e.g. for rural telephony. -This initial release (for IIAB 6.7 in February 2019) supports Ubuntu 18.04, Debian 9 "Stretch" — and experimentally supports Raspberry Pi: `#1467 `_ +The initial release (for IIAB 6.7 in February 2019) supported Ubuntu 18.04, Debian 9 "Stretch" — and experimentally supported Raspberry Pi: `#1467 `_ + +*2021-08-02 GOOD NEWS: IIAB has upgraded from Asterisk 16.x to 18.x* (`docs `_). + +*2021-08-02 BAD NEWS: The latest versions of Ubuntu (20.04, 20.10, 21.04), Debian 11 "Bullseye" and the imminent Raspberry Pi OS 11 "Bullseye" all include PHP 7.4 — which does not work with FreePBX 15 — so we could use some help looking into 2021-06-21's FreePBX 16.0 Beta:* `#2897 `_ What Asterisk & FreePBX Do -------------------------- @@ -34,7 +38,7 @@ You can monitor the FreePBX service with command:: Raspberry Pi Known Issue ------------------------ -As of 2019-02-14, "systemctl restart freepbx" fails more than 50% of the time when run on a `BIG-sized `_ install of IIAB 6.7 on RPi 3 or RPi 3 B+. +As of 2019-02-14, "systemctl restart freepbx" failed more than 50% of the time when run on a `BIG-sized `_ install of IIAB 6.7 on RPi 3 or RPi 3 B+. It is possible that FreePBX restarts much more reliably when run on a MIN-sized install of IIAB? Please `contact us `_ if you can assist here in any way: `#1493 `_ From e2fb603600294ae8748e932dffb78b1bb08d9d5a Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 2 Aug 2021 19:34:35 -0400 Subject: [PATCH 2/4] Quick cleanup of roles/pbx/README.rst --- roles/pbx/README.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/roles/pbx/README.rst b/roles/pbx/README.rst index 82d7c74a7..f995caba7 100644 --- a/roles/pbx/README.rst +++ b/roles/pbx/README.rst @@ -2,9 +2,9 @@ PBX README ========== -This 'pbx' playbook adds `Asterisk `_ and `FreePBX `_ to Internet-in-a-Box (IIAB) for VoIP and SIP functionality e.g. for rural telephony. +This "pbx" playbook adds `Asterisk `_ and `FreePBX `_ to Internet-in-a-Box (IIAB) for VoIP and SIP functionality e.g. for rural telephony. -The initial release (for IIAB 6.7 in February 2019) supported Ubuntu 18.04, Debian 9 "Stretch" — and experimentally supported Raspberry Pi: `#1467 `_ +The initial release (for IIAB 6.7 in February 2019) supported Ubuntu 18.04, Debian 9 "Stretch" — and experimentally, Raspberry Pi: `#1467 `_ *2021-08-02 GOOD NEWS: IIAB has upgraded from Asterisk 16.x to 18.x* (`docs `_). @@ -47,7 +47,9 @@ Raspberry Pi Zero W Warning Node.js applications like Asterisk/FreePBX, Node-RED and Sugarizer won't work on Raspberry Pi Zero W (ARMv6) if you installed Node.js while on RPi 3, 3 B+ (ARMv7) or RPi 4 (ARMv8). If necessary, run ``apt remove nodejs`` or ``apt purge nodejs`` then ``rm /etc/apt/sources.list.d/nodesource.list; apt update`` then (`attempt! `_) to `install Node.js `_ *on the Raspberry Pi Zero W itself* (a better approach than "cd /opt/iiab/iiab; ./runrole nodejs" is to try ``apt install nodejs`` or try installing the tar file mentioned at `#2082 `_). You might also need ``apt install npm``. Whatever versions of Node.js and npm you install, make sure ``/etc/iiab/iiab_state.yml`` contains the line ``nodejs_installed: True`` (add it if nec!) Finally, proceed to install Asterisk/FreePBX, Node-RED and/or Sugarizer. `#1799 `_ +Please also check the "Known Issues" at the bottom of `IIAB's latest release notes `_. + Attribution ----------- -This 'pbx' playbook was heavily inspired by Yannik Sembritzki's `Asterisk `_ and `FreePBX `_ Ansible work, Thank You! +This "pbx" playbook was heavily inspired by Yannik Sembritzki's `Asterisk `_ and `FreePBX `_ Ansible work, Thank You! From ba6251808c112b523219a8e3c4ec46aadf3c9b3e Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 2 Aug 2021 19:47:08 -0400 Subject: [PATCH 3/4] roles/pbx/README.rst: Tweaks --- roles/pbx/README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/pbx/README.rst b/roles/pbx/README.rst index f995caba7..ed31477c1 100644 --- a/roles/pbx/README.rst +++ b/roles/pbx/README.rst @@ -6,9 +6,9 @@ This "pbx" playbook adds `Asterisk `_ and `FreePBX `_ -*2021-08-02 GOOD NEWS: IIAB has upgraded from Asterisk 16.x to 18.x* (`docs `_). +*2021-08-02 GOOD NEWS: IIAB has upgraded from Asterisk 16.x (released 2018-10-09) to 18.x (released 2020-10-20*, `docs `_). -*2021-08-02 BAD NEWS: The latest versions of Ubuntu (20.04, 20.10, 21.04), Debian 11 "Bullseye" and the imminent Raspberry Pi OS 11 "Bullseye" all include PHP 7.4 — which does not work with FreePBX 15 — so we could use some help looking into 2021-06-21's FreePBX 16.0 Beta:* `#2897 `_ +*2021-08-02 BAD NEWS: The latest versions of Ubuntu (20.04, 20.10, 21.04), Debian 11 "Bullseye" and the imminent Raspberry Pi OS 11 "Bullseye" all include PHP 7.4 — which does not work with FreePBX 15 — so we could use some help looking into 2021-06-21's FreePBX 16 Beta:* `#2897 `_ What Asterisk & FreePBX Do -------------------------- From c19b1bdfc28ec0a4aa71c918ebd3d77ebfc8c8fe Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 3 Aug 2021 11:07:42 -0400 Subject: [PATCH 4/4] pbx/README.rst: Phase 1...Asterisk 18 + FreePBX 16 transition now underway --- roles/pbx/README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/pbx/README.rst b/roles/pbx/README.rst index ed31477c1..bb36e9c81 100644 --- a/roles/pbx/README.rst +++ b/roles/pbx/README.rst @@ -6,9 +6,9 @@ This "pbx" playbook adds `Asterisk `_ and `FreePBX `_ -*2021-08-02 GOOD NEWS: IIAB has upgraded from Asterisk 16.x (released 2018-10-09) to 18.x (released 2020-10-20*, `docs `_). +*2021-08-02 GOOD NEWS: IIAB has upgraded from Asterisk 16.x (released 2018-10-09) to 18.x (released 2020-10-20*, `docs `_): `PR #2896 `_ -*2021-08-02 BAD NEWS: The latest versions of Ubuntu (20.04, 20.10, 21.04), Debian 11 "Bullseye" and the imminent Raspberry Pi OS 11 "Bullseye" all include PHP 7.4 — which does not work with FreePBX 15 — so we could use some help looking into 2021-06-21's FreePBX 16 Beta:* `#2897 `_ +*2021-08-02 WORK IN PROGRESS: The latest versions of Ubuntu (20.04, 20.10, 21.04), Debian 11 "Bullseye" and the imminent Raspberry Pi OS 11 "Bullseye" all include PHP 7.4 — which does not work with FreePBX 15 — so we're now making the transition to FreePBX 16 who Beta emerged on 2021-06-21:* `#2897 `_, `PR #2899 `_ What Asterisk & FreePBX Do --------------------------