Freepbx Contact Rewrite update major issue

I am at a loss why one of the updates would change an extensions settings. We host PBX’s in the cloud. If Contact re-write is set to no, it logs the local IP address of the phone and will not register. If I have my extension set to yes, the update changes it to NO and brings down the phone. Why would we think it’s a good idea to make changes like this?

So you’re saying that when Rewrite Contact is set to Yes the phone doesn’t register? And the same when its set to No?

after the updates, it changes all extensions from yes to no, breaking the connection to the PBX. You have to touch every phone and set back to yes after the update.

What updates?

Module updates

Well this sounds like a bug that should be opened in the issue tracker.

as of yesterday it was still changing it to NO and make it local IP which is wrong

You’re saying it’s changing the setting on existing extensions?

That is what he is claiming.

But he has never bothered to provide detail about which module is supposedly doing this.

That’s because I have no idea which one is doing it

This was an issue, but fix was published and is now in stable:

I’m not aware of current issues here, it might be helpful to know what versions of core where installed when. @sentinelace can you provide output of:

grep "Module: core Updated" /var/log/asterisk/freepbx.log*

My FreePBX 14 system is hosted on a VPS and remote phones are all behind NAT. I upgrade regularly, and have not had a problem. Assuming your issue is core as noted in the above linked thread, I am well beyond that version and my system never had existing extensions affected.

Edit: my upgrade history for reference

/var/log/asterisk/freepbx.log:[2020-Feb-20 10:58:13] [UPDATE] (libraries/modulefunctions.class.php:2029) - Module: core Updated to version
/var/log/asterisk/freepbx.log-20191003:[2019-Sep-18 23:56:41] [UPDATE] (libraries/modulefunctions.class.php:2028) - Module: core Updated to version
/var/log/asterisk/freepbx.log-20191121:[2019-Oct-10 23:00:57] [UPDATE] (libraries/modulefunctions.class.php:2028) - Module: core Updated to version
/var/log/asterisk/freepbx.log-20200126:[2019-Dec-31 16:47:36] [UPDATE] (libraries/modulefunctions.class.php:2029) - Module: core Updated to version
/var/log/asterisk/freepbx.log-20200126:[2020-Jan-18 18:48:09] [UPDATE] (libraries/modulefunctions.class.php:2029) - Module: core Updated to version
/var/log/asterisk/freepbx.log-20200126:[2020-Jan-20 16:59:16] [UPDATE] (libraries/modulefunctions.class.php:2029) - Module: core Updated to version

as stated above. It’s no longer an issue. They fixed it

Did you just now update the module?

it was broke yesterday but today it’s not. No clue LOL

Well you raised (what might be / might have been) a very serious issue, now it just went away “LOL” - it would be good of you to dig in and figure out what happened and how it was resolved for the sake of others here who are trying to help.


It was less than 24 hours ago

No, it was not.

I had the issue yesterday so yes, it was broken yesterday for me