2 Trunks route to the PSTN - which they detect the public IP
1 Trunk routes to a VPN where only private IP addressing issued and the public routes are not advertised.
I’m having an issue where the 3rd trunk conneted to the VPN/ Private IP space is referencing the public IP for it’s contact & audio connection. Is there a way for the PBX to use it’s private IP address as it’s contact & audio connection info?
I’ve tried changing multiple settings to no avail & any help would be greatly appreciated.
After setting Local Networks to include the VPN address range, you must Submit, Apply Config and then restart (not just reload) Asterisk.
Possibly, this is an OS level routing issue. If the PBX has more than one NIC, if the VPN client is other than on the PBX itself, or if there is any NAT in the VPN path, provide details.
Does the INVITE with the incorrect Contact header and SDP have the correct source and destination addresses? If multiple NICs, is it being sent via the correct one?