a8016462026d1c6290d6df771bd7889e4fd80e51
PROBLEM: Devices on VLANs couldn't connect to Asterisk server without inter-VLAN routing because SIP headers contained VLAN IPs that the server couldn't route back to. SOLUTION: Added toggleable VLAN/NAT traversal feature that: - Treats VLAN traffic like NAT traversal - Uses symmetric RTP (already in place at endpoint level) - Adds transport-level local_net configuration - Responds to source address instead of header IPs - Supports optional VLAN subnet configuration CHANGES: - New menu option: Server Tools > 8) VLAN/NAT traversal - New config vars: VLAN_NAT_TRAVERSAL, VLAN_SUBNETS - Modified rebuild_pjsip_config() to apply NAT settings when enabled - Updated version: v1.36 -> v1.37 - Backward compatible: defaults to disabled (flat network mode) FEATURES: ✓ Works with flat networks (disabled by default) ✓ Toggle on/off without breaking existing setup ✓ Optional VLAN subnet configuration ✓ Compatible with FQDN/external device modes ✓ No changes needed to existing endpoints USER TESTING: User can enable via: Server Tools > VLAN/NAT traversal > Enable Then optionally add VLAN subnets if basic mode doesn't work.
Languages
Shell
98.9%
Dockerfile
1.1%