Fix version display and remove remaining COTURN status line

- Updated header from 'Easy Asterisk v1.23' to 'v0.9.9'
- Updated pjsip.conf comment from v1.23 to v0.9.9
- Removed 'COTURN: Not installed' status line from main menu
- All COTURN references now completely removed from UI

User-visible changes:
- Main menu now correctly shows 'Easy Asterisk v0.9.9'
- Status section only shows Server and Client (no COTURN line)
- pjsip.conf generated with correct version comment
This commit is contained in:
Claude
2025-12-08 20:55:50 +00:00
parent 541d2ab22d
commit 663314a801
+3 -4
View File
@@ -2460,7 +2460,7 @@ ${all_local_nets}"
fi fi
cat > "$conf_file" << EOF cat > "$conf_file" << EOF
; Easy Asterisk v1.23 ; Easy Asterisk v0.9.9
[global] [global]
type=global type=global
user_agent=EasyAsterisk user_agent=EasyAsterisk
@@ -3255,14 +3255,13 @@ uninstall_menu() {
show_main_menu() { show_main_menu() {
clear clear
print_header "Easy Asterisk v1.23" print_header "Easy Asterisk v0.9.9"
load_config load_config
echo " Status:" echo " Status:"
if [[ -f "$CONFIG_FILE" ]]; then if [[ -f "$CONFIG_FILE" ]]; then
[[ "$INSTALLED_SERVER" == "y" ]] && echo -e " Server: ${GREEN}Installed${NC}" || echo -e " Server: ${YELLOW}Not installed${NC}" [[ "$INSTALLED_SERVER" == "y" ]] && echo -e " Server: ${GREEN}Installed${NC}" || echo -e " Server: ${YELLOW}Not installed${NC}"
[[ "$INSTALLED_CLIENT" == "y" ]] && echo -e " Client: ${GREEN}Installed${NC}" || echo -e " Client: ${YELLOW}Not installed${NC}" [[ "$INSTALLED_CLIENT" == "y" ]] && echo -e " Client: ${GREEN}Installed${NC}" || echo -e " Client: ${YELLOW}Not installed${NC}"
[[ "$INSTALLED_COTURN" == "y" ]] && echo -e " COTURN: ${GREEN}Installed${NC}" || echo -e " COTURN: ${YELLOW}Not installed${NC}"
[[ -n "$DOMAIN_NAME" ]] && echo -e " Domain: ${DOMAIN_NAME}" [[ -n "$DOMAIN_NAME" ]] && echo -e " Domain: ${DOMAIN_NAME}"
else else
echo -e " ${YELLOW}Not configured${NC}" echo -e " ${YELLOW}Not configured${NC}"