nethesis / ns8-nethvoice

NethVoice: an Asterisk based PBX
GNU General Public License v3.0
2 stars 4 forks source link

Clear Asterisk network NAT options on migration #286

Closed Stell0 closed 2 months ago

Stell0 commented 2 months ago

During the migration from NethVoice 14 on NethServer 7 to NethVoice on NethServer 8, the existing NAT settings from FreePBX (such as public IP and local networks) are carried over. These settings have caused issues because they do not account for all networks from which Asterisk may be accessed (e.g., VPN network or a new green network if it has changed). This leads to specific cases where Asterisk applies NAT incorrectly, causing malfunctions:

Solution: Clear the NAT settings in Asterisk that are carried over during the migration to match that of a clean installation (which does not include these NAT settings by default).

Stell0 commented 2 months ago

Test case 1 (migration):

Test case 2 (fresh install):

Amygos commented 2 months ago

Moved to https://github.com/NethServer/dev/issues/7013