Rebuild buttons from shell

Hi!

Is there a way to rebuild the buttons from shell? I have a external script that updates priorities in FreePBX/Asterisk based on our employee schedule.

The problem is Fop2 doesn't pick up the changes until I login to fop2/admin and hit rebuild buttons. It worked before the update since I just called the FreePBX rebuild config script and that updated everything. With Fop2 being 100% external now that doesn't seem to work anymore.

I thought of calling the rebuild buttons URL, however, before I do all the scripting required to get logged in to call the URL I figured I'd ask.

Dave

Comments

  • AS you found out, fop2 manager cannot rebuild buttons automatically, so you will need to call the url/script manually.
Sign In or Register to comment.