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. Blog
  3. FOP2 2.30 Beta

FOP2 2.30 Beta

Scheduled Pinned Locked Moved Blog
49 Posts 11 Posters 1.4k 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.
  • N
    N
    nicolas
    wrote on last edited by
    #29

    It is not possible. [sub]Actually it is possible but super complicated to setup: copy the server part into a different location than /usr/loca/fop2, for example /usr/local/fop2new, copy the html files to a different location that /var/www/html/fop2, for example /var/www/html/fop2new, change the listen port on /usr/local/fop2new/fop2.cfg to something different than 4445, change web_dir to point to the new web location /var/www/html/fop2new, copy the fop2.lic file from /usr/local/fop2 to /usr/local/fop2new, then start the fop2_server from that new location to launch the server: /usr/local/fop2/fop2new/fop2_server -d, and then browse the web files http://your.server/fop2new[/sub]

    However 2.30 is no longer in beta and considered stable.

    1 Reply Last reply
    0
    • P
      P
      Parlanoo974
      wrote on last edited by
      #30

      Hello, Just a suggestion :

      At the end of the upgrade, you should mention not only the config file of fop2 but the config file of fop2admin too.

      I must each time change the DB Access in both.

      Or for Elastix 3 MTE, you can use the default Elastix dB (elxpbx) and find the password of the db in /etc/elastix.conf
      you have a line :

      mysqlrootpwd=Password

      (user root for mysql)

      Thanks in advance

      Jean-Luc

      1 Reply Last reply
      0
      • P
        P
        Parlanoo974
        wrote on last edited by
        #31

        Hello, a small translation error to :
        In French, logout is "Deconnexion, not Deonnection

        Kindly

        Jean-Luc

        1 Reply Last reply
        0
        • M
          M
          mulderlr
          wrote on last edited by
          #32

          has FOP2 been tested at all or known to work with FreePBX 13 / asterisk 13 systems?

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

            FOP2 2.30.x works well with Asterisk 13. Previous versions might have some little issues.

            1 Reply Last reply
            0
            • T
              T
              tomwer
              wrote on last edited by
              #34

              @admin - This is a long shot, but we're running Asterisk (Ver. 11.19.0) with FreePBX 12.0.76.2 - Is it safe to install fop2 2.30 or will we see loads of issues?

              Thanks.

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

                It is perfectly safe.

                1 Reply Last reply
                0
                • S
                  S
                  sbasan
                  wrote on last edited by
                  #36

                  Hello,
                  How can I send commands by url?
                  When fop2 extension installed typing fop2 allow you to type commands, like dial xxx.

                  How can I do it with run commands from url?
                  like http://192.168.1.10/fop2/dial xxx
                  or
                  http://192.168.1.10/fop2/?exten=100&pass=9999&context=tenantA&dial=xxx

                  How can I use the fop2 api?

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

                    You cannot perform actions via URL. What you see when typing FOP2 are some smart actions available via the Chrome plugin only, where you can dial a number or change presence by typing it in the URL bar.

                    1 Reply Last reply
                    0
                    • S
                      S
                      sbasan
                      wrote on last edited by
                      #38

                      So I can only strongly recommend that you will add/enable this option (even as a paid plugin)
                      You already have great AMI proxy server that only asking for this option to be added.
                      The only main commands needed are Originate a call and get CDR.
                      Both are supported with a multi tenant and user authentication mechanism by your application.

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

                        It is not that simple. You want an http api, not a socket based one. Doing something like this:

                        http://192.168.1.10/fop2/?exten=100&pass=9999&context=tenantA&dial=xxx

                        Involves extra steps that are not needed. Accepting the http command/connection... then opening a websocket connection between browser and fop2 server (that takes time/cpu/etc), and then use the existing AMI connection on the proxy to perform a command.

                        Much more simpler is to just use http with no websockets at all to get the command, and then forward it via AMI or similar interfaces. In fact, Asterisk 13 already has such API in place and its named ARI.

                        I might write a different software using just http with no fop2 server needed in order to bridge AMI with the web, for older asterisk versions... but I think FOP2 is not the place to do it.

                        If you want to use FOP2, you can just use the regular javascript protocol to do such things, if you enable debug on the fop2 server to level 12 you will clearly see the 'dialog' between the browser and the server, you can write your custom clients following that protocol if you want.

                        Best regards,

                        1 Reply Last reply
                        0
                        • S
                          S
                          sbasan
                          wrote on last edited by
                          #40

                          Hello,

                          Just upgraded to the new fop server via the management GUI.
                          Can't login any more.
                          fop2 log show all logins as FAILED LOGIN (non existant user).
                          /autoconfig-users.sh show correct users and passwords but using same credentials fail.

                          Any idea?

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

                            If you use the users listed in the output from autoconfig-users.sh and it does not work, either your fop2.cfg is not using that script as a base for configuration or has some other conflicting config entries, or perhaps FOP2 just needs to be reloaded.

                            Best regards,

                            1 Reply Last reply
                            0
                            • S
                              S
                              sbasan
                              wrote on last edited by
                              #42

                              It using that script (it's exactly as it was before the upgrade).
                              Notice something else, when pressing submit changes and not pressing the reload I can login but see no buttons.
                              When press the reload after the submit changes I can't login.

                              As stated before, the fop server was upgraded from the management GUI alone.
                              Verify all configuration files and they as they were before.

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

                                You upgraded only the FOP2 Manager, not the fop2 server. Anyways, a manager upgrade should not leave you with no service. Please try restarting the fop2 service from the command line.. did you try that?

                                service fop2 restart

                                Best regards,

                                1 Reply Last reply
                                0
                                • S
                                  S
                                  sbasan
                                  wrote on last edited by
                                  #44

                                  First thing I've done.
                                  There's no one online to take a look?

                                  1 Reply Last reply
                                  0
                                  • S
                                    S
                                    sbasan
                                    wrote on last edited by
                                    #45

                                    It's a production server so all users can't access the FOP.
                                    Don't know what cause this but every upgrade I have some issues and/or changes need to be done in a code related to the upgrade.

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

                                      Are you using custom function for the manager due to multi tenant? You should avoid upgrading if that is the case. I am online if you want to chat.

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

                                        I am online at the live help now.

                                        1 Reply Last reply
                                        0
                                        • S
                                          S
                                          sbasan
                                          wrote on last edited by
                                          #48

                                          Solved in a flash by Nicolas.
                                          I'm sure he can give a few words for other future users with same symptoms.

                                          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