From cc63d51d24ef2f36945a7dc1f7789d1a835daf47 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 20 Jul 2026 18:20:41 +0000 Subject: [PATCH] Default new devices to mobile category and TLS transport MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both defaulted to whatever sorted/listed first (kiosks category, LAN/VPN UDP transport) — reasonable for a fixed intercom install, but the common case here is adding a phone over the internet. Default the category select to "mobile" specifically (not just first-in-list, so it survives category reordering) and make FQDN/Internet (TLS) the default transport option instead of LAN/VPN (UDP). Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_015X1jRGHwrvovz2qkhKfDZi --- vendor/easy-asterisk/easy-asterisk-v0.10.0.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vendor/easy-asterisk/easy-asterisk-v0.10.0.sh b/vendor/easy-asterisk/easy-asterisk-v0.10.0.sh index 4aad948..4aaba9c 100755 --- a/vendor/easy-asterisk/easy-asterisk-v0.10.0.sh +++ b/vendor/easy-asterisk/easy-asterisk-v0.10.0.sh @@ -5076,8 +5076,8 @@ HTML_TEMPLATE = '''
@@ -5314,9 +5314,11 @@ HTML_TEMPLATE = ''' devicesCache = devices; renderDevices(); - // Update category select in add device form + // Update category select in add device form. Most devices + // added day-to-day are phones, not fixed kiosks, so default + // to the "mobile" category instead of whichever sorts first. document.getElementById('category-select').innerHTML = categoriesCache.map(c => - `` + `` ).join(''); } catch (e) { showAlert('Failed to load devices', 'error'); @@ -5455,7 +5457,7 @@ HTML_TEMPLATE = ''' }).join(''); document.getElementById('category-select').innerHTML = categories.map(c => - `` + `` ).join(''); } catch (e) { showAlert('Failed to load categories', 'error');