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.phpandservice 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. -
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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login