From 730df06856936dc525c08ed95937368705fef7bd Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 3 Dec 2025 02:47:27 +0000 Subject: [PATCH] v1.25: Improve menu clarity and add progress indicator Menu Improvements: - Clarified "Quick Local Setup" as "Local LAN only - no internet/FQDN" - Renamed "Full" to "Full Setup (Server + Client + Internet)" - Added detailed descriptions for all install options - "Server Only" now explains it can optionally include FQDN/internet - "Client Only" clarifies it connects to existing server User Experience: - Added progress message during device addition: "Reloading Asterisk configuration (this may take a moment)..." - Prevents confusion when dialplan rebuild causes brief delay - Users now see the script is working, not hanging This addresses user feedback about menu clarity and apparent hangs during device addition. --- easy-asterisk-interactive-v1.25.sh | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/easy-asterisk-interactive-v1.25.sh b/easy-asterisk-interactive-v1.25.sh index 9283dd6..226313e 100644 --- a/easy-asterisk-interactive-v1.25.sh +++ b/easy-asterisk-interactive-v1.25.sh @@ -969,11 +969,13 @@ max_contacts=5 remove_existing=yes qualify_frequency=60 EOF - + chown -R asterisk:asterisk /etc/asterisk + echo "" + print_info "Reloading Asterisk configuration (this may take a moment)..." asterisk -rx "pjsip reload" >/dev/null 2>&1 rebuild_dialplan - + echo "════════════════════════════════════════════════════════" echo " DEVICE ADDED" echo "════════════════════════════════════════════════════════" @@ -3071,12 +3073,15 @@ submenu_install() { clear print_header "Install" echo " ${BOLD}1) Quick Local Setup (Recommended)${NC}" - echo " └─ Local network, PTT, auto-answer - No internet needed" + echo " └─ Local LAN only - PTT, auto-answer, no internet/FQDN" echo "" echo " ${CYAN}Advanced Options:${NC}" - echo " 2) Full (server + client with internet setup)" - echo " 3) Server only" - echo " 4) Client only" + echo " 2) Full Setup (Server + Client + Internet)" + echo " └─ With FQDN, TLS certs, COTURN, internet calling" + echo " 3) Server Only" + echo " └─ Just Asterisk server (optionally with FQDN/internet)" + echo " 4) Client Only" + echo " └─ Just Baresip client (connect to existing server)" echo " 5) Uninstall" echo " 0) Back" read -p " Select: " choice