diff --git a/README.md b/README.md index d3e65d5..947bfeb 100644 --- a/README.md +++ b/README.md @@ -2,27 +2,43 @@ Prebuilt **`.deb`** and **`.rpm`** packages for **[pbx_sat](https://git.sa7aux.se/bjorne/pbx-sat)**, the direct PBX ↔ SVXReflector -bridge channel driver (`chan_pbx_sat`) — no AllStar in the path. +bridge (`chan_pbx_sat`) — no AllStar in the path. Install these to build your own +PBX ↔ SVX trunk. This repo holds **only built packages**, no source. The source lives in the -private `pbx-sat` repo. +private `pbx-sat` repo. **x86_64 only** (PBX boxes are x86). -## Debian / Ubuntu / Raspberry Pi (`debs/`) +Two packages: + +- **`chan-pbx-sat`** — the driver (`chan_pbx_sat.so`) + a sample + `/etc/asterisk/pbx_sat.conf` and the setup guide. Works on any Asterisk box. +- **`pbxsat-freepbx`** — the **FreePBX web GUI** (admin module *Connectivity → + PBX ⇄ SVX* + a dashboard status widget). Install it **too** on a FreePBX box; + it deploys into the web root via `fwconsole` and depends on `chan-pbx-sat`. + Not needed on a plain-Asterisk box (configure `pbx_sat.conf` by hand). + +## Debian 12 / 13 (`debs/`) ```sh -sudo apt install ./debs/chan-pbx-sat_~_.deb +# the driver (required): +sudo apt install ./debs/chan-pbx-sat_~_amd64.deb +# the FreePBX GUI (on a FreePBX box): +sudo apt install ./debs/pbxsat-freepbx_~_all.deb ``` -`` is `bookworm` or `trixie`, `` is `amd64` (x86-64) or `arm64` -(Raspberry Pi). Built against Asterisk 22. +`` is `bookworm` (Debian 12) or `trixie` (Debian 13). Built against the +box's Asterisk. -## CentOS / RHEL (`rpms/`, x86_64) +## CentOS / RHEL 7 / 8 / 9 (`rpms/`) ```sh +# the driver (required): sudo dnf install ./rpms/chan-pbx-sat-...x86_64.rpm +# the FreePBX GUI (on a FreePBX box): +sudo dnf install ./rpms/pbxsat-freepbx-...noarch.rpm ``` -One RPM per (distro, Asterisk major): +One driver RPM per (distro, Asterisk major): | File | Distro | Asterisk | |------|--------|----------| @@ -31,4 +47,14 @@ One RPM per (distro, Asterisk major): | `…ast18.el7…` | CentOS Linux 7 | 18 | | `…ast16.el7…` | CentOS Linux 7 | 16 | -See the source repo for setup and the design write-up. +## After install + +The driver does not load until you enable it: + +1. `cp /etc/asterisk/pbx_sat.conf.sample /etc/asterisk/pbx_sat.conf` and edit it + (or use the FreePBX GUI if you installed `pbxsat-freepbx`). +2. Uncomment `load = chan_pbx_sat.so` in `/etc/asterisk/modules.conf`. +3. Point a dialplan route at `PBXSAT//`. +4. `asterisk -rx "core restart now"` then `asterisk -rx "pbxsat show"`. + +Full guide: `/usr/share/doc/chan-pbx-sat/HOWTO.md`. diff --git a/debs/chan-pbx-sat_0.1.0~bookworm_amd64.deb b/debs/chan-pbx-sat_0.1.0~bookworm_amd64.deb index 4d8ec7e..08f6ac1 100644 Binary files a/debs/chan-pbx-sat_0.1.0~bookworm_amd64.deb and b/debs/chan-pbx-sat_0.1.0~bookworm_amd64.deb differ diff --git a/debs/chan-pbx-sat_0.1.0~trixie_amd64.deb b/debs/chan-pbx-sat_0.1.0~trixie_amd64.deb index 64e02a3..98e415a 100644 Binary files a/debs/chan-pbx-sat_0.1.0~trixie_amd64.deb and b/debs/chan-pbx-sat_0.1.0~trixie_amd64.deb differ diff --git a/debs/pbxsat-freepbx_0.1.0~bookworm_all.deb b/debs/pbxsat-freepbx_0.1.0~bookworm_all.deb new file mode 100644 index 0000000..3c7224d Binary files /dev/null and b/debs/pbxsat-freepbx_0.1.0~bookworm_all.deb differ diff --git a/debs/pbxsat-freepbx_0.1.0~trixie_all.deb b/debs/pbxsat-freepbx_0.1.0~trixie_all.deb new file mode 100644 index 0000000..b1a1b9b Binary files /dev/null and b/debs/pbxsat-freepbx_0.1.0~trixie_all.deb differ diff --git a/rpms/chan-pbx-sat-0.1.0-1.ast16.el7.x86_64.rpm b/rpms/chan-pbx-sat-0.1.0-1.ast16.el7.x86_64.rpm index 9cf50dc..4001510 100644 Binary files a/rpms/chan-pbx-sat-0.1.0-1.ast16.el7.x86_64.rpm and b/rpms/chan-pbx-sat-0.1.0-1.ast16.el7.x86_64.rpm differ diff --git a/rpms/chan-pbx-sat-0.1.0-1.ast18.el7.x86_64.rpm b/rpms/chan-pbx-sat-0.1.0-1.ast18.el7.x86_64.rpm index 9c75962..13a3287 100644 Binary files a/rpms/chan-pbx-sat-0.1.0-1.ast18.el7.x86_64.rpm and b/rpms/chan-pbx-sat-0.1.0-1.ast18.el7.x86_64.rpm differ diff --git a/rpms/chan-pbx-sat-0.1.0-1.ast22.el8.x86_64.rpm b/rpms/chan-pbx-sat-0.1.0-1.ast22.el8.x86_64.rpm index 4b2a179..a3c892f 100644 Binary files a/rpms/chan-pbx-sat-0.1.0-1.ast22.el8.x86_64.rpm and b/rpms/chan-pbx-sat-0.1.0-1.ast22.el8.x86_64.rpm differ diff --git a/rpms/chan-pbx-sat-0.1.0-1.ast22.el9.x86_64.rpm b/rpms/chan-pbx-sat-0.1.0-1.ast22.el9.x86_64.rpm index 1863b05..20136d0 100644 Binary files a/rpms/chan-pbx-sat-0.1.0-1.ast22.el9.x86_64.rpm and b/rpms/chan-pbx-sat-0.1.0-1.ast22.el9.x86_64.rpm differ diff --git a/rpms/pbxsat-freepbx-0.1.0-1.ast16.el7.noarch.rpm b/rpms/pbxsat-freepbx-0.1.0-1.ast16.el7.noarch.rpm new file mode 100644 index 0000000..68e5ec8 Binary files /dev/null and b/rpms/pbxsat-freepbx-0.1.0-1.ast16.el7.noarch.rpm differ diff --git a/rpms/pbxsat-freepbx-0.1.0-1.ast18.el7.noarch.rpm b/rpms/pbxsat-freepbx-0.1.0-1.ast18.el7.noarch.rpm new file mode 100644 index 0000000..fe3b201 Binary files /dev/null and b/rpms/pbxsat-freepbx-0.1.0-1.ast18.el7.noarch.rpm differ diff --git a/rpms/pbxsat-freepbx-0.1.0-1.ast22.el8.noarch.rpm b/rpms/pbxsat-freepbx-0.1.0-1.ast22.el8.noarch.rpm new file mode 100644 index 0000000..a68c96b Binary files /dev/null and b/rpms/pbxsat-freepbx-0.1.0-1.ast22.el8.noarch.rpm differ diff --git a/rpms/pbxsat-freepbx-0.1.0-1.ast22.el9.noarch.rpm b/rpms/pbxsat-freepbx-0.1.0-1.ast22.el9.noarch.rpm new file mode 100644 index 0000000..c329a53 Binary files /dev/null and b/rpms/pbxsat-freepbx-0.1.0-1.ast22.el9.noarch.rpm differ