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 really helpful. Thanks for sharing!
-
-
You are probably running the incorrect binary for your plataform. Be sure to download the correct one for your distribution: centos/debian 32/64 bits.
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,
-
-
-
Bob, your link went bad

http://www.elastixconnection.com/index. ... &Itemid=89
-
I have problem in installation when using :
/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
-
Hi,
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.
I have problem in installation when using :
/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
-
HI there
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 expectedCan anyone assist?
-
I think I have sent you an email. You have an old/outdated FreePBX version. The fix is not complicated, you have to edit autoconfig_buttons_freepbx.sh and remove the following block:
AMPVERSION=`cat $AMPDIR | grep "<version>" | sed -e 's/<[^>]*>//g' | cut -b 2,4` if [ $AMPVERSION -gt 25 ]; then QUEUECONTEXT="from-queue" else QUEUECONTEXT="from-internal" fiand replace it with:
QUEUECONTEXT="from-internal"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.
-
OK here is where I am with this. I did a fresh install off elastix 2.2 then install fop2 from the addon mod, setup an extension, add a manager, I then tried to connect via the extension that I setup, and no go, it don't work. It just comes up with "could not connect to server" . does anyone out their really have a step by step instruction off how this work. I Know that the addon mod was to make the install easy. But I believe that their more to it than what is posted. I bought the licence off witch I can't used, because I can't even get the basic setup to work. I paid for support from elastix off which was no help. I don't mind paying someone to install this for me, but I also need to know how its done. again is their anyone out their that real knows how this thing works. Help.
-
OK here is where I am with this. I did a fresh install off elastix 2.2 then install fop2 from the addon mod, setup an extension, add a manager, I then tried to connect via the extension that I setup, and no go, it don't work. It just comes up with "could not connect to server" . does anyone out their really have a step by step instruction off how this work. I Know that the addon mod was to make the install easy. But I believe that their more to it than what is posted. I bought the licence off witch I can't used, because I can't even get the basic setup to work. I paid for support from elastix off which was no help. I don't mind paying someone to install this for me, but I also need to know how its done. again is their anyone out their that real knows how this thing works. Help.
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,
-
I did everything from the first post and I got this:
/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..
-
One thing is the server connection to the asterisk box
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
-
Hello Admins,
Please help me with my issue

I installed Asterisk PBX Distro 64bit:
Stable-3.211.63-10
FreePBX 2.11, Centos 6.3
Asterisk 1.8After that installed fop2 trial version.
When I checked
/usr/local/fop2/fop2_server –test
I have this is message in console
Flash Operator Panel 2 - No valid license found. Demo Mode
Can't listen to port 4445
Early I don't installed previous version FOP.
How I can fix this problem?
Thank you in advance! -
-
-
I have a problem installing FOP2 admin on freepbx. I have made sure that I have the park and queue modules enabled, I have even re-installed them. But I still get the 'Please wait while module actions are performed' hanging upon trying to install the module.
I am using FreePBX 2.11
Any help would be greatly appreciated

-
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