Hey everyone,
we recently upgraded our standby FreePBX-Server from FreePBX 14 to 15. We automatically recover a backup each day. This backup-recovery seems to be causing us problems after the upgrade. It seems like the recovery process now downgrades the sipsettings module. During the install of the sipsettings module, fwconsole extip
is used. Apparently fwconsole extip
does not work behind a Proxy, or I am missing some sort of setting. The error we get is:
If I hack things a little bit (which I don’t like to do, as I have no idea, what else I might break) and replace
file_get_contents
in /var/www/html/admin/libraries/Console/Extip.class.php
with file_get_contents_url
, everything works as expected and extip
returns a valid ip. I guess that is because file_get_contents_url
falls back to wget in my configuration (MODULEADMINWGET is set to true) and I have configured /etc/wgetrc, so that wget uses our proxy.
If fwconsole extip
fails during the restore, you can’t fwconsole reload
afterwards, and sipsettings
is not marked as installed anymore. Can anyone help me? Am I missing something? Should I submit my “fix” to the jira?
Thanks in advance and kind regards
Jan
Edit: It seems that my fix gets reverted on restore, which means, that it does fix the fwconsole extip
problem, but as it is rolled back, does not fix the problem during restore.