How to allow external public IP addresses on a FreePBX server

Good evening everyone! I have a FreePBX server on which I’ve configured a SIP trunk, and I can make international calls when I’m on the phone. My server is accessible from the internet, and I created a 3004 extension that I use on my smartphone in the Zoiper app to make external calls. After the configuration was complete, everything worked fine… but after a month, it stopped working… Apparently the firewall is rejecting external Public IP addresses. Please, how do I fix this?

I think what happened is that your ISP gave you a new WAN address.
Update Freepbx’s firewall accordingly and check that IP forwarding is enabled in your modem/router.

Edit: However, it is rather unusual that something like your use case happens. Was your initial config particularly specific?