<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[i can not correct install fop2 to asterisk server]]></title><description><![CDATA[<p dir="auto">first got 500 error on / fop2 / admin /<br />
now I just have a white page<br />
what is noteworthy is that tables are not created in the database, which, judging by the documentation, should have been created automatically.</p>
]]></description><link>https://forum.fop2.com/topic/2986/i-can-not-correct-install-fop2-to-asterisk-server</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 22:49:12 GMT</lastBuildDate><atom:link href="https://forum.fop2.com/topic/2986.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 05 May 2021 15:28:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to i can not correct install fop2 to asterisk server on Wed, 05 May 2021 17:06:58 GMT]]></title><description><![CDATA[<p dir="auto">as I understand it, support never responds,<br />
I had to figure it out myself.<br />
Below is my steps for installing FOPon ubuntu 20.04 asterisk 16</p>
<p dir="auto">mkdir /usr/src/fop2<br />
cd /usr/src/fop2<br />
wget <a href="http://www.fop2.com/download/debian64" rel="nofollow ugc">http://www.fop2.com/download/debian64</a> -O fop2.tgz<br />
tar zxvf fop2.tgz<br />
cd fop2<br />
make install<br />
systemctl restart apache2</p>
<p dir="auto">vi /etc/asterisk/manager.conf<br />
[fop2]<br />
secret = fop222<br />
deny = 0.0.0.0/0.0.0.0<br />
permit = 127.0.0.1/255.255.255.0<br />
read = all<br />
write = all<br />
writetimeout = 1000<br />
eventfilter=!Event: RTCP*<br />
eventfilter=!Event: VarSet<br />
eventfilter=!Event: Cdr<br />
eventfilter=!Event: DTMF<br />
eventfilter=!Event: AGIExec<br />
eventfilter=!Event: ExtensionStatus<br />
eventfilter=!Event: ChannelUpdate<br />
eventfilter=!Event: ChallengeSent<br />
eventfilter=!Event: SuccessfulAuth<br />
eventfilter=!Event: DeviceStateChange<br />
eventfilter=!Event: RequestBadFormat<br />
eventfilter=!Event: MusicOnHoldStart<br />
eventfilter=!Event: MusicOnHoldStop<br />
eventfilter=!Event: NewAccountCode<br />
eventfilter=!Event: DeviceStateChange</p>
<p dir="auto">asterisk -rvvvvvvvvc<br />
core reload</p>
<p dir="auto">vi /usr/local/fop2/fop2.cfg<br />
[general]<br />
; AMI definitions<br />
manager_host=localhost<br />
manager_port=5038<br />
manager_user=fop2<br />
manager_secret=fop222</p>
<p dir="auto">/usr/local/fop2/fop2_server --test<br />
Flash Operator Panel 2 - License file /usr/local/fop2/fop2.lic not found.<br />
Running in Demo Mode<br />
/usr/local/fop2/autoconfig-users.sh: line 140: __hash_claves_1234@devices=1234@default: command not found<br />
Connection to manager OK (050003)!</p>
<p dir="auto">vi /var/www/html/fop2/admin/config.php<br />
define('USE_BACKEND_AUTH',false);<br />
$ADMINUSER = "fop2admin";<br />
$ADMINPWD  = "fop2admin";<br />
$DBHOST="localhost";<br />
$DBUSER="asteriskmysql";<br />
$DBPASS="123456@";<br />
$DBNAME="fop2";</p>
<p dir="auto">cd /var/www/html/fop2<br />
mysqladmin -u root -p create fop2<br />
vi /var/www/html/fop2/config.php</p>
<p dir="auto">$DBHOST = 'localhost';<br />
$DBNAME = 'fop2';<br />
$DBUSER = 'asteriskmysql';<br />
$DBPASS = '123456@';<br />
$CDRDBTABLE = "asterisk.cdr";</p>
<p dir="auto">apt install php-xml<br />
apt install php-mbstring<br />
apt install dnsutils<br />
systemctl restart apache2</p>
<p dir="auto">sudo apt-get install php-mysql<br />
phpenmod mysqli<br />
systemctl restart apache2</p>
<p dir="auto">service fop2 stop &amp;&amp; service fop2 start &amp;&amp; service fop2 status</p>
]]></description><link>https://forum.fop2.com/post/12255</link><guid isPermaLink="true">https://forum.fop2.com/post/12255</guid><dc:creator><![CDATA[fil232323]]></dc:creator><pubDate>Wed, 05 May 2021 17:06:58 GMT</pubDate></item></channel></rss>