i can not correct install fop2 to asterisk server
-
-
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 16mkdir /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 apache2vi /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: DeviceStateChangeasterisk -rvvvvvvvvc
core reloadvi /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 apache2sudo apt-get install php-mysql
phpenmod mysqli
systemctl restart apache2service fop2 stop && service fop2 start && service fop2 status
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