Tutorial: Installing FOP2 on Elastix & other Freepbx Dist.
For those that are interested, I have just posted up a Tutorial on installing FOP2 Elastix (1.5 and 1.6Beta & will probably suit earlier).
This is not a replacement for Nicolas's extensive and very good documentation, but more of a quick how to get moving with FOP2 so that you can experience what FOP2 is all about. Once you have got the basics working, then spend the time and read the FOP2 documentation on how to improve and use FOP2.
The link if you are interested is
http://www.elastixconnection.com/index. ... &Itemid=97
It should also suit anyone with distributions such as PIAF, Trixbox and generally any Freepbx based distribution.
Regards
Bob
This is not a replacement for Nicolas's extensive and very good documentation, but more of a quick how to get moving with FOP2 so that you can experience what FOP2 is all about. Once you have got the basics working, then spend the time and read the FOP2 documentation on how to improve and use FOP2.
The link if you are interested is
http://www.elastixconnection.com/index. ... &Itemid=97
It should also suit anyone with distributions such as PIAF, Trixbox and generally any Freepbx based distribution.
Regards
Bob
Comments
/usr/local/fop2/fop2_server –test
I get the following error
-bash: /usr/local/fop2/fop2_server: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Please help
You can find out if its 32 or 64 bits with this command:
uname -a
If you see the i386, i585 or i686 strings in there, it is 32 bits. If not it is 64 bits.
Best regards,
http://www.elastixconnection.com/index. ... &Itemid=89
/usr/local/fop2/fop2_server –test
I get:
Can't run with DEBUGGING Perl at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 253.
BEGIN failed--compilation aborted at /loader/0x8b28084/Filter/Crypto/Decrypt.pm line 37.
Compilation failed in require at script/fop2_server.pl line 1.
BEGIN failed--compilation aborted at script/fop2_server.pl line 1.
I have stopped fop
FOP2 does not work with perl compiled in debugging mode. You will need to update your perl or recompile without debugging flags. There are some .rpm in the download page for fedora systems and old centos 4 that come with such a perl.
Every time I run /usr/share/fop2/fop2_server I get the following out put:
cat: /usr/share/freepbx/admin/modules/framework/module.xml: No such file or directory
/usr/share/fop2/autoconfig-buttons-freepbx.sh: line 17: [: -gt: unary operator expected
Can anyone assist?
and replace it with:
You have FreePBX or a fork based on version 2.5, consider that FreePBX is now on stable version 2.10. Even in version 2.5 the module.xml file was present as far as I remember. But it is not on your system.
Hi,
You can contact the live help for assistance... If you installed via market then there is nothing else to do.
But, fop2 is a client/server application, and requires a clean network connection to tcp port 4445. If you do not clear that connection up, you won't be able to connect. It is not a user/password problem, it is a network connection/configuration problem. And as such, there is no step by step guide, as the network was set by someone, with some particular rules, equipment, etc. There are no two networks alike, so it is impossible to have a step by step guide. As there are no steps, just the clear notion that your network path from the client(browser), and the server (fop2_Server) should clear up tcp port 4445 (forwarding if server if behind a router, and also allowing that flow).
How to check: telnet to port tcp 4445 from your desktop to the server. If it connects, then your browser connection should work fine. If it does not connect, you must fix your network.
If you contact me via the live help and provide access to your panel, I can verify network issues in 2 minutes, trying that telnet command is quite easy.
Best regards,
/usr/local/fop2/fop2_server --test
Flash Operator Panel 2 - No valid license found. Demo Mode
Connection to manager OK!
When I try to log in into FOP2 it shows follow error
Could not connect to server
Can you help me, What should I do to make it works..
Another thing is your browser trying to connect to fop2 server
You are --testing the former
You have problems with the later.
To troubleshot CLIENT problems, there is a nice troubleshoter that might help you out
http://support.asternic.biz/index.php?/ ... tep/View/4
My guess is that you have a firewall in place preventing connection to port tcp/4445 OR the fop2 service is not started
Please help me with my issue
I installed Asterisk PBX Distro 64bit:
After that installed fop2 trial version.
When I checked
I have this is message in console
Early I don't installed previous version FOP.
How I can fix this problem?
Thank you in advance!
It seems you are entering only one dash, so when you type that fop2 tries to execute normally, and if it is already running, it will say that it can listen to port 4445.
Best regards,
This is really fixed my issue.
Best regards,
Edem
I am using FreePBX 2.11
Any help would be greatly appreciated :-)
Before I get the login screen the message "something went wrong" appears briefly. When I am logged in to FOP2 I only see a menu bar with Filter, Dial, and Available buttons on the left and a Logout button on the right. No buttons for extensions, queues etc. The placeholders for the extensions, queues etc areas briefly show up after I login but they are not filled in and disappear. The screen remains blank with a dark grey status bar at the bottom ("FOP2 - Version 2.28 - Lite Version - Limited to 15 extensions . Buy it now for unlimited extensions. If you already have a code enter it here"),
I Installed the i386 version fop2-2.28-centos-i386(1).tgz according to the tutorial.
on PBX in A Flash :
PIAF Installed Version = 2.0.6.5
FreePBX Version = 2.10.1.16
Running Asterisk Version = 11.10.0
Asterisk Source Version = 11.10.0
Dahdi Source Version = 2.9.0
Libpri Source Version = 1.4.14
Operating System = CentOS release 6.5 (Final)
Kernel Version = 2.6.32-431.1.2.0.1.el6.i686 - 32 Bit
I uninstalled FOP ( 1) amportal stop_fop, 2) in freepbx:module admin remove the fop framework. 3) and then reboot)
"/usr/local/fop2/fop2_server --test" gives:
Flash Operator Panel 2 - License file fop2.lic not found.
Running in Demo Mode
Connection to manager OK!
I enabled a debug log with options "-l /var/log -X 15". This produced a log in which I can find no obvious errors. All extensions and one queue on my system seem to be found,
Any idea what is wrong?
regards,
Tom
What is the output from :
/usr/local/fop2/autoconfig-users.sh
?
Hi
Thanks for the quick reply,
In the proces of getting things to work I changed : and added:
regards
Tom
Tom
Best regards,
That works!
(How did I miss fop2 manager?)
When connecting to fop2/admin, the user tab says 6 users, the buttons tab 7 buttons. Restart of fop2 did not do the trick but a compleet reboot did. I have a working fop2 now with all extension buttons and queue button, and function buttons on the menu bar. Thanks!
When connecting to the fop2 page I still get a message "Something went wrong". Apparently there is:
The groups I created in the groups tab (add group, mark some extensions , reload asterisk with the button on bottom left) were not visible as boxes in the fop2 panel. The group names were also not filled in in the 'Group' field for each button on the buttons tab, When I filled in the group names there (with pressing reload asterisk on bottom left), the group boxes were still not visible
amportal stop; service fop2 restart; amportal start did result in group boxes for the extensions.
Any idea why the boxes do not show up until after a compleet restart of Asterisk? However, this is not a big problem.
Thanks for helping me so quickly. Everything is working now as far as I can see, but I still need to get to the telephones and try it.
regards,
Tom
The "something went wrong" message is always there, but is quickly hidden when the app statrs. If the app fails for whatever reason, then you will still see the message and that is how you know that something went bad, otherwise if the app fails you won't notice as the app itself is the one that hides/unhides page elements.
As for the groups, there are two kinds of groups, you are interested in the visual grouping of buttons on the page, that is set only in the "fop2 buttons" tab, not in the "fop2 groups" tab (fop2 groups are used to filter views or to limit advanced permissions, not to visually group on the display.
There is no need to restart asterisk for any fop2 settings to work, you need to reload fop2 (and that reload is triggered also when asterisk itself reloads). Then login off and on again into fop2 should work. The only exception are install/uninstall plugins, for new plugins to be activated fop2 needs to be restarted (not asterisk), with the command: "service fop2 restart".
If the asterisk reload from menu does not appear to work when changing some settings, you might have some kind of problem with the execution of the script that actually reloads fop2 (/var/www/html/fop2/admin/update_conf.php). You can try to execute that script from the command line and check for errors there, if you do not see any errors, then you should be fine.
Best regards,
thanks again,
Tom