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

K

kfpelletier

@kfpelletier
Unfollow Follow
About
Posts
4
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • FOP2 Licenses
    K kfpelletier
    Support

    Hi,

    Over the past 6 months, I purchased 4 FOP2 licenses. I plan on purchasing another 20 this year, but I just realized I should probably keep an inventory of which licenses are installed on which servers. Is there any way of pulling the License number from the LIC file or through a command?


  • Conflicting Installations
    K kfpelletier
    Support

    I was able to fix this problem by replacing the contents of "usr/local/fop2" by "/usr/src/fop2/server", and reactivating the license.


  • Conflicting Installations
    K kfpelletier
    Support

    Hi,
    I just purchased a new FOP2 license today for one of our clients. Unfortunately, after installing FOP2 and the license, I realized that this server already had an FOP2 installation in the past; so I now have 2 conflicting installations of FOP2 on the same server and its causing bugs.

    For instance, I cannot execute "/usr/local/fop2/fop2_server --test"; it just hangs.
    Another example, I couldn't register my new license using "/usr/local/fop2/fop2_server --register"; it just hangs. I had to register my license using "/usr/src/fop2/server/fop2_server --register"
    Another example, I can start the service using "service fop2 start" but it seems the instance that is starting is not the registered instance, because I only get around 15 buttons.

    I have to fix this as soon as possible because this is a production FreePBX server, not a development server. I was thinking the best way to resolve this issue would be to uninstall the FOP2 installations and then reinstall clean, and reapply license. However, I cannot find information on how to completely remove FOP2. Is there a better way of doing this?

    Thank you very much for your time.


  • FOP2 Separate Server
    K kfpelletier
    Support

    Hi,

    I am trying to use FOP2 as a standalone server for multiple PIAF installations. However, I cannot even get it to work for one PIAF installation.

    <u>This is the setup on my PIAF server:</u>

    - I have exported the following directories via NFS share
            /var/spool/asterisk/voicemail
            /var/spool/asterisk/monitor
            /etc/asterisk
            /var/lib/asterisk
            /var/www/html/admin
    
    - All of the relevant ports have been opened up on the firewall/made sure selinux was disabled
             3306
             5038
    
    - Created the following manager in manager_custom.conf
              [fop2]
              secret = password
              deny = 0.0.0.0/0.0.0.0
              permit = 127.0.0.1/255.255.255.0
              permit = xxx.xxx.xxx.xxx/255.255.255.0
              read = all
              write = all
              writetimeout=1000
              eventfilter=!Event: RTCP*
              eventfilter=!Event: VarSet
              eventfilter=!Event: Cdr
              eventfilter=!Event: DTMF
              eventfilter=!Event: AGIExec
              eventfilter=!Event: ExtensionStatus
              eventfilter=!Event: ChannelUpdate
              eventfilter=!Event: ChallengeSent
              eventfilter=!Event: SuccessfulAuth
    
    - Created an fop2 mysql user with all privileges on all tables with a command similar to this one
             GRANT ALL PRIVILEGES ON *.* TO "fop2"@"xxx.xxx.xxx.xxx" IDENTIFIED BY "password" WITH GRANT OPTION;
    

    <u>This is the setup on my FOP2 server (CentOS 6.4):</u>

    - Installed LAMP
              Apache
              Mysql
              Php
    
    - Mounted the NFS shares
              Shares work perfectly
    
    - Installed FOP2 via Tarball
              Got error saying it couldn't ''chown asterisk:asterisk''
              Finished the install anyways
    
    - Added this to fop2.cfg
              [general]
              ; AMI definitions
              manager_host=xxx.xxx.xxx.xxx (address of server)
              manager_port=5038
              manager_user=fop2
              manager_secret=password
    
    • Added this to config.php
      $DBHOST="xxx.xxx.xxx.xxx";
      $DBUSER="fop2";
      $DBPASS="password";
      $DBNAME="asterisk";

      • /usr/local/fop2/fop2_server --test is positive with no errors

      • Registered Full White Label version

    <u>This is what does not work:</u>

    - The autoconfig scripts do not work
               I therefore cannot login to myaddress/fop2 because no users/no buttons exist   
    
    - I get 4 Php errors when loging in through the manager Web UI in the ''Users'' and ''Buttons'' section 
       mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given  
       /var/www/html/fop2/admin/asmanager.php (line 102)fsockopen():unable to connect to localhost:5038 (Connectionrefused)  
       /var/www/html/fop2/admin/asmanager.php (line 257) date(): It is not safe to rely on the system's timezone settings.      
       /var/www/html/fop2/admin/functions-custom.php (line 164) Undefined variable: astman
    

    I am sure we can get this to work, but I lack the necessary experience in regards to Php scripts so I am having a hard time trying to figure the, out on my own. Any help would be greatly appreciated.

    Thank you very much for your time.

    Kevin Farrell-Pelletier

  • 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