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. Plugins
  3. i can not correct install fop2 to asterisk server

i can not correct install fop2 to asterisk server

Scheduled Pinned Locked Moved Plugins
2 Posts 1 Posters 513 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.
  • F
    F
    fil232323
    wrote on last edited by
    #1

    first got 500 error on / fop2 / admin /
    now I just have a white page
    what is noteworthy is that tables are not created in the database, which, judging by the documentation, should have been created automatically.

    1 Reply Last reply
    0
    • F
      F
      fil232323
      wrote on last edited by
      #2

      as I understand it, support never responds,
      I had to figure it out myself.
      Below is my steps for installing FOPon ubuntu 20.04 asterisk 16

      mkdir /usr/src/fop2
      cd /usr/src/fop2
      wget http://www.fop2.com/download/debian64 -O fop2.tgz
      tar zxvf fop2.tgz
      cd fop2
      make install
      systemctl restart apache2

      vi /etc/asterisk/manager.conf
      [fop2]
      secret = fop222
      deny = 0.0.0.0/0.0.0.0
      permit = 127.0.0.1/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
      eventfilter=!Event: DeviceStateChange
      eventfilter=!Event: RequestBadFormat
      eventfilter=!Event: MusicOnHoldStart
      eventfilter=!Event: MusicOnHoldStop
      eventfilter=!Event: NewAccountCode
      eventfilter=!Event: DeviceStateChange

      asterisk -rvvvvvvvvc
      core reload

      vi /usr/local/fop2/fop2.cfg
      [general]
      ; AMI definitions
      manager_host=localhost
      manager_port=5038
      manager_user=fop2
      manager_secret=fop222

      /usr/local/fop2/fop2_server --test
      Flash Operator Panel 2 - License file /usr/local/fop2/fop2.lic not found.
      Running in Demo Mode
      /usr/local/fop2/autoconfig-users.sh: line 140: __hash_claves_1234@devices=1234@default: command not found
      Connection to manager OK (050003)!

      vi /var/www/html/fop2/admin/config.php
      define('USE_BACKEND_AUTH',false);
      $ADMINUSER = "fop2admin";
      $ADMINPWD = "fop2admin";
      $DBHOST="localhost";
      $DBUSER="asteriskmysql";
      $DBPASS="123456@";
      $DBNAME="fop2";

      cd /var/www/html/fop2
      mysqladmin -u root -p create fop2
      vi /var/www/html/fop2/config.php

      $DBHOST = 'localhost';
      $DBNAME = 'fop2';
      $DBUSER = 'asteriskmysql';
      $DBPASS = '123456@';
      $CDRDBTABLE = "asterisk.cdr";

      apt install php-xml
      apt install php-mbstring
      apt install dnsutils
      systemctl restart apache2

      sudo apt-get install php-mysql
      phpenmod mysqli
      systemctl restart apache2

      service fop2 stop && service fop2 start && service fop2 status

      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