I installed FOP2, I made all the settings, and in the list of buttons there are only trunks and queues. There are no extensions instead of trunks, i.e. numbers became trunks.
How does FOP2 determine that there is a trunk that is an extension?
I installed FOP2, I made all the settings, and in the list of buttons there are only trunks and queues. There are no extensions instead of trunks, i.e. numbers became trunks.
How does FOP2 determine that there is a trunk that is an extension?
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
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.