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. Is it possible to install fop2 on a separate server and configure it just by editing the files, with

Is it possible to install fop2 on a separate server and configure it just by editing the files, with

Scheduled Pinned Locked Moved Support
2 Posts 1 Posters 276 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.
  • V
    V
    vinicius
    wrote on last edited by
    #1

    Is it possible to install fop2 on a separate server and configure it just by editing the files, without
    connecting it to the Asterisk mysql database?
    We bought a fop2 license to use it on the same server where freepbx is installed, however, now we will no longer use freepbx, however, we will use a new system also based on asterisk.
    The problem is that in this new system the database and tables have been completely modified by the developer, as he uses PHP AGI almost exclusively for Asterisk functions.
    Both the settings part and the storage part of the CDR records.
    So, would it be possible to install FOP2 on a separate server providing FOP2 with only Asterisk AMI access, making all the configuration only through the FOP2 configuration files?

    Would it be necessary to install the mysql server on the server where FOP2 is installed and create a database and tables for FOP2 use only?

    I tried this, but when I enter the FOP2 admin and click on "users" or "buttons", the system hangs and keeps loading indefinitely.

    1 Reply Last reply
    0
    • V
      V
      vinicius
      wrote on last edited by
      #2

      Hello everyone, I come to inform you that I was able to install FOP2 on a separate server and integrate with the customized Asterisk.
      I'll leave the step by step for those who need it:
      Note: Special Thanks for the help given by Nicolás Gudiño via chat.
      1- I prepared the Ubuntu 18.04 server as follows:
      1.1: I installed the prerequisites:
      apt update && apt upgrade -y && apt install -y make php php-sqlite3 php-mysql php7.2-xml mariadb-client mariadb-server openssl net-tools dnsutils netcat
      2- I edited the file /usr/local/fop2/fop2.cfg informing the data of "AMI definitions" (manager_host, manager_port, manager_user and manager_secret) for the Asterisk server (https://www.fop2.com/docs/installation.php#ConfiguringtheServer)
      3- I edited the file /usr/local/fop2/fop2.cfg adding the following line to the end of it: buttonfile=buttons_custom.cfg
      4- I edited the file buttonfile=buttons_custom.cfg manually including the buttons for extensions and queues (https://www.fop2.com/docs/installation.php#ConfiguringButtons)
      Note: After editing the file buttonfile=buttons_custom.cfg, it is necessary to access the FOP2 admin page and enter the "buttons" menu, so that FOP2 creates in the database the buttons manually added to this file buttonfile=buttons_custom.cfg.
      5- Finally, just restart the FOP2 service: systemctl restart fop2

      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