Adding users/queues from FreePBX requiring additional steps
We're seeing on multiple installations that after adding new users or queues in FreePBX, they will not display without issuing `php /var/www/html/fop2/admin/update_conf.php` and `service fop2 restart`. Is there something we need to do in order to make this automatic? We're running Freepbx 12.0.76 and Asterisk 11.19.
Comments
Now, on some installations I have seen that when update_conf.php outputs something to screen, it will stop processing/working. For that reason I removed any output from the script on the latest FOP2 release.
Do you see any output when you run the update_conf.php by hand ? If so, you might need to remove the print or echo lines it might have if you are not running the latest version.
Nothing but the generic "good" output when running update_conf:
[root@pbx ~]# php /var/www/html/fop2/admin/update_conf.php
Updating buttons for context GENERAL
[root@pbx ~]# service fop2 reload
Reloading Flash Operator Panel 2 configuration: [ OK ]
[root@pbx ~]#
I haven't tried reinstalling or anything, but that'll be next. Thanks!
That is the script that is run if you reload FOP2 from the Action menu. The Asterisk reload is detected but only on some Asterisk versions, as many new versions are buggy and do not advertise a reload via AMI at all. In those cases, you must trigger the reload via the Action menu.