Integrate Easy Asterisk Intercom into v0.9.8 installer

Added to install_kiosk_v0.9.8.sh:
- SECTION 14.5: Easy Asterisk Intercom addon functions
- get_latest_easy_asterisk_version() - Fetches latest version from GitHub API
- get_installed_easy_asterisk_version() - Checks installed version
- backup_easy_asterisk_configs() - Backs up configs before updates
- restore_easy_asterisk_configs() - Restores configs after install
- download_and_install_easy_asterisk() - Downloads and runs installer
- addon_easy_asterisk_intercom() - Main menu function with update logic

- Added option 4 "Easy Asterisk Intercom" to Addons menu
- Updated show_addon_status() to display Intercom installation status
- Integration uses stable v0.9.8 as base (v0.9.9 was broken)

README updates:
- Fixed all references from v0.9.9 to v0.9.8
- Updated menu paths (2) Addons → (4) Easy Asterisk Intercom
- Corrected version number throughout
- Updated Quick Install section

Features:
- Downloads latest easy-asterisk-v*.sh from GitHub repo
- Automatic version detection and update checking
- Configuration preservation during updates/reruns
- Safe to run multiple times
- User prompts for install/update/rerun decisions
This commit is contained in:
Claude
2025-12-10 22:32:22 +00:00
parent 38e732b976
commit 234dd900f6
2 changed files with 276 additions and 17 deletions
+15 -14
View File
@@ -48,9 +48,9 @@ Home/office kiosk for reusing old hardware, displaying:
# Enable SSH during installation
# Download and run installer
wget https://github.com/outis1one/ubk/raw/main/install_kiosk_v0.9.9.sh
chmod +x install_kiosk_v0.9.9.sh
./install_kiosk_v0.9.9.sh
wget https://github.com/outis1one/ubk/raw/main/install_kiosk_v0.9.8.sh
chmod +x install_kiosk_v0.9.8.sh
./install_kiosk_v0.9.8.sh
```
The installer will guide you through configuration during setup.
@@ -393,7 +393,7 @@ smb://WORKGROUP/COMPUTER/PrinterName
```bash
# Run installer script again to access menu
./install_kiosk_0.9.9.sh
./install_kiosk_v0.9.8.sh
# Menu structure:
# 1. Core Settings - Sites, WiFi, schedules, passwords, full reinstall, complete uninstall
@@ -408,9 +408,9 @@ The Easy Asterisk Intercom addon provides voice communication capabilities to yo
**Access the addon menu:**
```bash
./install_kiosk_v0.9.9.sh
# Select: 2) Manage Addons
# Then: 1) Install/Update Intercom (Easy Asterisk)
./install_kiosk_v0.9.8.sh
# Select: 2) Addons
# Then: 4) Easy Asterisk Intercom
```
**Features:**
@@ -437,9 +437,9 @@ asterisk -rvvv
# Restart Asterisk
systemctl restart asterisk
# Configure intercom
./install_kiosk_v0.9.9.sh
# Select: 2) Manage Addons → 4) Configure Intercom
# Configure intercom (rerun installation to update)
./install_kiosk_v0.9.8.sh
# Select: 2) Addons → 4) Easy Asterisk Intercom
```
**Installation location:**
@@ -972,12 +972,13 @@ See the LICENSE file in the repository for full terms.
## Project Status & Future Plans
**Current Version:** 0.9.9 - Easy Asterisk Intercom Integration
**Current Version:** 0.9.8 - Named Sites & Easy Asterisk Intercom
**Recent Updates (v0.9.9):**
**Recent Updates (v0.9.8):**
- Easy Asterisk Intercom addon with automatic updates
- Smart version detection and configuration preservation
- Enhanced addon management system
- Named websites feature for user-friendly site identification
- Navigation menu with key icon
**Planned Features:**
- Web-based GUI configuration interface
@@ -1019,4 +1020,4 @@ Special thanks to the maintainers of all upstream projects that make UBK possibl
---
*Last Updated: December 10, 2025*
*Version: 0.9.9*
*Version: 0.9.8*