Two External Addresses for the FreePBX

How does the Dynamic DNS service provided by Sangoma works.
Please adivse if this is correct

  1. Freepbx will frequently send packets to Sangoma DDNS.
  2. If the source IP detected is different from the previous one saved on the DDNS then it will update it.

Yes. How often depends on whatever you set in “dynamic host refresh” field.

Correct.

This whole discussion reveals once again a fairly significant design limitation in Asterisk.
You should be able to set more external IP addresses, not just one, and determine which IP you want to be in the SIP header, depending on the trunk and the VSP.

This, in my opinion, is the crux of the matter.

This is outside the scope of FreePBX for most intents and purposes. The limitations we are jumping through hoops to overcome are built into the engine of the system. Yes, there are ways to “fix” it through the clever use of various settings, but in the end, we are still pounding away on a problem that is way deeper than we need to go with FreePBX.

Guys, just get over it asterisk is a backtoback user agent, you will never be able to force it to be a proxy ( which is what you are looking for) if you want a proxy , deploy one, it won’t be asterisk , just get used to that.