Default setting : switch variable

GriGiu

New Member
Jul 6, 2021
3
0
1
61
I did a new installation of fusionpbx, the import of the CDR wasn't working, and I discovered that the log variable in the switch section wasn't defined. I defined it, and the function that is called by crontab every minute and allows the cards to be imported worked (/usr/bin/php /var/www/fusionpbx/app/ xml_cdr/xml_cdr_import.php).
Since this definition was missing, I looked at all the switch definitions and found the ones shown in the screenshot.
Are they correct (can anyone check with their own installation)?
Given the error regarding the missing log definition, I suspect that this section has not been initialised correctly.
Thank you.


1753869984019.png
 
I'll provide a more complete answer.

In order to fix the installation make sure FreeSWITCH is running.
fs_cli -x 'version'
This command will return the version of FreeSWITCH if it is running.

Under Default Settings, find the switch category as you have done. Delete all settings in the switch category. Then run the following commands.

cd /var/www/fusionpbx
php core/upgrade/upgrade.php

It will then connect to FreeSWITCH and run commands to get the correct paths.