Closed Stell0 closed 2 years ago
After restoring a backup, NethVoice "Apply changes" is broken
Steps to reproduce
retrieve conf will fail with this error:
exit: 1 Unable to continue. json_decode() expects parameter 1 to be string, array given in /var/www/html/freepbx/admin/modules/sipsettings/Sipsettings.class.php on line 435 #0 [internal function]: Whoops\Run->handleError(2, 'json_decode() e...', '/var/www/html/f...', 435, Array) #1 /var/www/html/freepbx/admin/modules/sipsettings/Sipsettings.class.php(435): json_decode(Array, true) #2 /var/www/html/freepbx/admin/libraries/BMO/DialplanHooks.class.php(107): Sipsettings->doDialplanHook(Object(extensions), 'asterisk', 900) #3 /var/lib/asterisk/bin/retrieve_conf(860): FreePBX\DialplanHooks->processHooks('asterisk', Array) #4 {main}
See also
https://helpdesk.nethesis.it/a/tickets/151739
Test case:
nethserver-testing
/etc/yum.repos.d/NethServer.repo
freepbx-14.0-12.2.gae9407e.ns7.noarch.rpm
Test case verified The disaster recovery was completed flawlessly.
freepbx-14.0-13.ns7.noarch.rpm
After restoring a backup, NethVoice "Apply changes" is broken
Steps to reproduce
retrieve conf will fail with this error:
See also
https://helpdesk.nethesis.it/a/tickets/151739