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

  • The config on reload plugin is the one that runs the update_conf.php script whenever you reload fop2 or when asterisk is reloaded. So, you should not need to run it by hand.

    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.
  • Sorry for the late response, didn't get notified.

    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!
  • No need to reinstall... do you use standard paths? (/var/www/html/fop2) ? IN the FOP2 Manager, check the Plugins section, open config for "FOP2 Manager Autoconfiguration" and be sure it is set correctly.

    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.
Sign In or Register to comment.