Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Tutorial: Installing FOP2 on Elastix & other Freepbx Dist.

Tutorial: Installing FOP2 on Elastix & other Freepbx Dist.

Scheduled Pinned Locked Moved Support
28 Posts 12 Posters 668 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    R
    RazorbaQ
    wrote on last edited by
    #7

    Bob, your link went bad 😮

    http://www.elastixconnection.com/index. ... &Itemid=89

    1 Reply Last reply
    0
    • M
      M
      mayoor
      wrote on last edited by
      #8

      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

      1 Reply Last reply
      0
      • N
        N
        nicolas
        wrote on last edited by
        #9

        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

        1 Reply Last reply
        0
        • C
          C
          clyde_xact.co.za
          wrote on last edited by
          #10

          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 expected

          Can anyone assist?

          1 Reply Last reply
          0
          • N
            N
            nicolas
            wrote on last edited by
            #11

            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"
            fi
            

            and 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.

            1 Reply Last reply
            0
            • P
              P
              pti2000
              wrote on last edited by
              #12

              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.

              1 Reply Last reply
              0
              • N
                N
                nicolas
                wrote on last edited by
                #13

                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,

                1 Reply Last reply
                0
                • D
                  D
                  dkudev
                  wrote on last edited by
                  #14

                  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..

                  1 Reply Last reply
                  0
                  • N
                    N
                    nicolas
                    wrote on last edited by
                    #15

                    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

                    1 Reply Last reply
                    0
                    • E
                      E
                      edem
                      wrote on last edited by
                      #16

                      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.8

                      After 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!

                      1 Reply Last reply
                      0
                      • N
                        N
                        nicolas
                        wrote on last edited by
                        #17

                        It is --test (dash dash test)

                        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,

                        1 Reply Last reply
                        0
                        • E
                          E
                          edem
                          wrote on last edited by
                          #18

                          Thank you!
                          This is really fixed my issue.

                          Best regards,
                          Edem

                          1 Reply Last reply
                          0
                          • J
                            J
                            julianjpayne
                            wrote on last edited by
                            #19

                            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 🙂

                            1 Reply Last reply
                            0
                            • N
                              N
                              nicolas
                              wrote on last edited by
                              #20

                              what fop2admin version are you having problems with?

                              1 Reply Last reply
                              0
                              • I
                                I
                                ictiucn
                                wrote on last edited by
                                #21

                                Hi All,
                                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

                                1 Reply Last reply
                                0
                                • N
                                  N
                                  nicolas
                                  wrote on last edited by
                                  #22

                                  Did you modify fop2.cfg in any way appart from the manager user and secret?

                                  What is the output from :

                                  /usr/local/fop2/autoconfig-users.sh

                                  ?

                                  1 Reply Last reply
                                  0
                                  • I
                                    I
                                    ictiucn
                                    wrote on last edited by
                                    #23

                                    The output of
                                    Hi
                                    Thanks for the quick reply,

                                    $ /usr/local/fop2/autoconfig-users.sh
                                    user=1234:4242:all
                                    user=234:1234:all
                                    user=1234:5678:all
                                    
                                    buttonfile=autobuttons.cfg
                                    

                                    In the proces of getting things to work I changed :

                                    manager_host=localhost  to manager_host=127.0.0.1   (seems hardly a change :D  )
                                    monitor_ipaddress = 1 (not relevant i suppose)
                                    

                                    and added:

                                    user=712:ab12:all (which gives the same result as an extension login)
                                    

                                    regards
                                    Tom

                                    1 Reply Last reply
                                    0
                                    • I
                                      I
                                      ictiucn
                                      wrote on last edited by
                                      #24

                                      BTW , I did not change the manager user and secret, this is still testing. They are the same as in the other file

                                      Tom

                                      1 Reply Last reply
                                      0
                                      • N
                                        N
                                        nicolas
                                        wrote on last edited by
                                        #25

                                        For the user configuration it seems you did not log into fop2manager or you did not apply changes into freepbx configuration so the fop2manager could do its job. Go to http://your.server/fop2/admin and check the "fop2 users" and "fop2 buttons" tabs, what do you see there? After that, restart fop2 with the command "service fop2 restart" and try again.

                                        Best regards,

                                        1 Reply Last reply
                                        0
                                        • I
                                          I
                                          ictiucn
                                          wrote on last edited by
                                          #26

                                          Hi Nicolas,

                                          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

                                          1 Reply Last reply
                                          0

                                          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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups