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.
  • 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
                                    • N
                                      N
                                      nicolas
                                      wrote on last edited by
                                      #49

                                      Ok.. problem was due to the usage of a multi tenant system with FOP2 version 2.30.00 (old). The latest FOP2 Manager allows the selection of individual tenants to enable the service, so you can select which tenants will have access to the FOP2 service. That way you can use the standard license with no extra costs to give service for up to 5 tenants. sbasan had much more than 5 tenants, but not an extended license, and the Tenant selection in the newer FOP2 Manager works only with the updated autoconfiguration scripts in more recent FOP2 versions. By using an older FOP2 version, the previous autoconfiguration scripts just printed out all tenants, not only the selected ones from the FOP2 Manager, and reached the 5 tenant limit making some tenants unavailable.

                                      So, if you use an older FOP2 with a multi tenant system and plan to use the tenant selection via the FOP2 Manager, then go ahead and upgrade everything: fop2 and the fop2 manager. If you upgrade only the fop2 manager you have the change of having features that won't work with the server, like this tenant selection.

                                      In this particular case, updating just autoconfig-users.sh in his installation with the latest version fixed the issue.

                                      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