This update adds comprehensive VLAN support to prevent the common
issue of calls dropping after 30 seconds in multi-VLAN environments.
Changes:
- Added new menu item "Configure VLAN Subnets" in Server Settings
- Created configure_vlan_subnets() function to manage VLAN configuration
- Updated pjsip.conf generation to include multiple local_net entries
- Added server IP address as comment in transport sections for reference
- Persist VLAN settings (HAS_VLANS, VLAN_SUBNETS) in config file
- Updated script version to v0.9.8.8
Technical details:
- The generate_pjsip_conf() function now builds multiple local_net
entries when VLANs are configured
- Each VLAN subnet is added as a separate local_net line in the
transport configuration
- Server IP is detected and documented in transport sections
- Transports continue to bind to 0.0.0.0 for all-interface listening
This fixes the issue where Asterisk would treat devices on different
VLANs as external connections, causing NAT issues and call drops.