v1.27: Fix ICE configuration to be scenario-aware
FIXES: - ICE support now conditionally enabled only for FQDN/internet calling - LAN-only setups (Quick Local Setup) no longer have ICE enabled - pjsip.conf endpoints: ice_support only added when DOMAIN_NAME is set - rtp.conf: icesupport only enabled when DOMAIN_NAME is configured SCENARIOS SUPPORTED: 1. LAN only (Quick Local) - NO ICE, NO STUN, NO TURN ✓ 2. FQDN with VPN - ICE enabled (DOMAIN_NAME set) ✓ 3. FQDN without VPN, with COTURN - ICE + TURN ✓ 4. FQDN without VPN, without COTURN - ICE (optional STUN) ✓ This ensures proper protocol configuration for all installation modes.
This commit is contained in: