Changing apache to run as asterisk fixed all my problems.
But there is a side effect. You might not be able to upgrade modules since file ownership is all mixed up (some apache some asterisk).
To fix that do this:
After you change apache to run as asterisk (edit /etc/httpd/conf/httpd.conf and change User/Group to asterisk then run ‘service httpd restart’) you should also run these commands (as root):
cd /var/www/html
chown -R asterisk:asterisk *
And everything should work.
Since FOP1 is end of life and of little use (you can still go to asternic.org and see what it does) I would simply suggest installing the new FOP2. It works great.
FOP2 has a 15 object limit then you have to pay. Also it’s a bit of a pain to install and imho doesn’t work as good as v1. So your advice is useless as usual.
He has simplified it a lot than what it was last time I looked at it about a year ago though. The limit and pay requirement is a dealbreaker for most of my customers. I’m just the messenger. But as usual Skyking is not interested knowing any of that. To him everything is a nail and the solution is always a hammer.
As usual, you are not interested in the context of why I would “dig out a 1 year old thread” and you absolutely refuse to ever answer anyones questions. To you every problem is a nail and every solution is a hammer.
Maybe if you spent more time looking for solutions to all the bug reports I am filing that are going unanswered (like my latest one) rather than constantly trying to prove to people that you are as smart as you think you are, then perhaps you will get a clue.
I see a bunch of feature requests and one FOP1 fix. FOP1 is not supported anymore, that needs to be cleaned up.
Remember I am not a developer, not sure how many times I have to tell you that.
As far as your users, you have repeatedly been told to articulate your application, I am sure you will get more input than you could ever want for the community.
Also when I am offering options I think of the greater good. Most people can afford $50.00.
#> tar zxvf fop2-2.24-centos5-i386.tgz
Change to the extracted FOP2 directory:
#> cd fop2
For the sake of simplicity, included in the tarball there is a Makefile that can install the files for you, just type:
#> make install
Three steps, sorry one more to integrate with FreePBX dial plan.
I am new to this and trying real hard to learn. I went into asterisk and typed in the /var/www/html/admin/funcitions.inc.php and got a error message saying that permission denied. What did I do wrong?
i have just upgrade my freepbx from 2.9 to 2.10 and i get the below error.
Could not reload the FOP operator panel server using killall -HUP op_server.pl. Configuration changes may not be reflected in the panel display. If the FOP module was just installed you may have to retart Asterisk with the “amportal restart” command for the FOP server to run.
system
asterix 1.8
ubuntu 3.5
I tried all the methods above and none of them worked. What I did to get this working was to uninstall it, reboot server and install it again. The good thing is that, your license key stays even after you uninstall fop2. The downside is that, you will have to configure its permissions again.
Before doing this, I have restarted the service with "service fop2 restart"
I also ftp into my box and made some config changes to the bounce_op.sh script to no avail.
Because I was in a hurry I didn’t have time to further troubleshoot the issue. I will log try to replicate the issue on another box, and then solution it and post the steps.