Remove broken Copilot code that would install wrong Asterisk version

Removed:
- install_easy_asterisk() function that installed Ubuntu Asterisk packages
- configure_easy_asterisk() function for non-existent addon
- Menu option 1 "Install Easy Asterisk" (broken implementation)
- Menu option 5 "Configure Easy Asterisk" (broken implementation)

The removed code would have:
- Installed default Ubuntu Asterisk (apt-get install asterisk)
- Created fake local config files
- Conflicted with actual Easy Asterisk from GitHub repo

Updated:
- Menu renumbered: Intercom is now option 1 (was option 2)
- Configure Intercom is now option 4 (was option 6)
- Updated README to reflect new menu numbers
- Updated error messages with correct option references

Result: Clean implementation with only the working GitHub-based
Easy Asterisk Intercom installer that properly manages versions
and preserves configurations.
This commit is contained in:
Claude
2025-12-10 12:52:26 +00:00
parent 62e4a906b9
commit 38e732b976
2 changed files with 19 additions and 124 deletions
+2 -2
View File
@@ -410,7 +410,7 @@ The Easy Asterisk Intercom addon provides voice communication capabilities to yo
```bash
./install_kiosk_v0.9.9.sh
# Select: 2) Manage Addons
# Then: 2) Install/Update Intercom (Easy Asterisk)
# Then: 1) Install/Update Intercom (Easy Asterisk)
```
**Features:**
@@ -439,7 +439,7 @@ systemctl restart asterisk
# Configure intercom
./install_kiosk_v0.9.9.sh
# Select: 2) Manage Addons → 6) Configure Intercom
# Select: 2) Manage Addons → 4) Configure Intercom
```
**Installation location:**