Commit Graph
3 Commits
Author SHA1 Message Date
Claude 26cec84c56 Add VLAN configuration support to prevent call drops
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.
2025-12-08 20:17:48 +00:00
outis1one d9fb51161a Update easy-asterisk-v0.9.8.7.sh 2025-12-06 18:37:31 -05:00
outis1one c8dc3d1e7c Add files via upload 2025-12-06 11:05:52 -05:00