<?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[Any step-by-step installing FOP2 on separate server from *?]]></title><description><![CDATA[<p dir="auto">I'm hoping either someone can help with something that seems it might be fairly simple, or that there's a step-by-step guide for setting FOP2 up on a server separate from the Asterisk PBX.</p>
<p dir="auto">Here's where I'm at:<br />
I get an "OK!" from the manager connection test, but I also get the following from "-X 15":</p>
<p dir="auto">"cat: /etc/asterisk/voicemail.conf: No such file or directory</p>
<p dir="auto">Can't listen to port 4445"</p>
<p dir="auto">The webserver (for FOP2) is Ubuntu 13.04, the PBX is CentOS 6.4</p>
<p dir="auto">Any help is greatly appreciated.</p>
]]></description><link>http://localhost:4567/topic/1471/any-step-by-step-installing-fop2-on-separate-server-from</link><generator>RSS for Node</generator><lastBuildDate>Mon, 26 Oct 2026 23:43:31 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1471.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 May 2013 21:30:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Wed, 19 Feb 2014 17:14:16 GMT]]></title><description><![CDATA[<p dir="auto">After checking and correcting the credentials, I still get one line of the "notice". But finally I have it working even the seLinux is running. Below are the boolean that I turned on with in seLinux.</p>
<p dir="auto">setsebool -P telepathy_tcp_connect_generic_network_ports 1<br />
setsebool -P httpd_can_network_connect 1<br />
setsebool -P allow_user_mysql_connect 1<br />
setsebool -P httpd_can_network_connect_db 1</p>
<p dir="auto">After turning it on, everything works. Thanks Nico.</p>
]]></description><link>http://localhost:4567/post/6443</link><guid isPermaLink="true">http://localhost:4567/post/6443</guid><dc:creator><![CDATA[johnny2000]]></dc:creator><pubDate>Wed, 19 Feb 2014 17:14:16 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Tue, 18 Feb 2014 04:03:43 GMT]]></title><description><![CDATA[<p dir="auto">I just check the fop2 database and it is empty, no tables were created.</p>
]]></description><link>http://localhost:4567/post/6442</link><guid isPermaLink="true">http://localhost:4567/post/6442</guid><dc:creator><![CDATA[johnny2000]]></dc:creator><pubDate>Tue, 18 Feb 2014 04:03:43 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Tue, 18 Feb 2014 03:59:06 GMT]]></title><description><![CDATA[<p dir="auto">That last one is not an error, if you look you will see that the table is most probably created. Is it? You are probably lacking permissions to open the phonebook or the php sessions are broken.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/6441</link><guid isPermaLink="true">http://localhost:4567/post/6441</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 18 Feb 2014 03:59:06 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Tue, 18 Feb 2014 03:56:51 GMT]]></title><description><![CDATA[<p dir="auto">I created the fop2 database, and I did try to connect to fop2 database using the user root and password for root, and no problem connecting to database. I restarted the fop2 service and the error is similar but only 1 line. I commented the<br />
//	set_config($DBSETUP);<br />
Below is the result:<br />
notice<br />
/var/www/html/fop2/phonebook.php (line 42)</p>
<p dir="auto">Undefined index: phonebook<br />
You do not have permissions to access this resource.</p>
<p dir="auto">I will try to catch you on the live help, if there is nothing we can do here in the forum. Thanks very much.</p>
]]></description><link>http://localhost:4567/post/6440</link><guid isPermaLink="true">http://localhost:4567/post/6440</guid><dc:creator><![CDATA[johnny2000]]></dc:creator><pubDate>Tue, 18 Feb 2014 03:56:51 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Tue, 18 Feb 2014 03:23:41 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">By the way, as you mentioned that the database and tables will be created automatically with this version, so I drop the fop2 database that was created when I tried to install the phonebook manually. So there is no fop2 database in the mysql. I am trying to figure out which line on the config.php where the database is created and the table.</p>
</blockquote>
<p dir="auto">No, I never mentioned that the DATABASE is created, only the TABLES. So, create the fop2 database again. The phonebook.php script will create the visual_phonebook table if it does not exists.</p>
]]></description><link>http://localhost:4567/post/6439</link><guid isPermaLink="true">http://localhost:4567/post/6439</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 18 Feb 2014 03:23:41 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Tue, 18 Feb 2014 03:18:05 GMT]]></title><description><![CDATA[<p dir="auto">I still believe your mysql credentials are wrong. Did you try to connect to mysql with the <em>exact</em> parameters you have in config.php? Try to catch me on the live help to give me access to your server, there is no quick way we could fix this here in the forum.</p>
]]></description><link>http://localhost:4567/post/6438</link><guid isPermaLink="true">http://localhost:4567/post/6438</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 18 Feb 2014 03:18:05 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Tue, 18 Feb 2014 03:16:19 GMT]]></title><description><![CDATA[<p dir="auto">By the way, as you mentioned that the database and tables will be created automatically with this version, so I drop the fop2 database that was created when I tried to install the phonebook manually. So there is no fop2 database in the mysql. I am trying to figure out which line on the config.php where the database is created and the table.</p>
]]></description><link>http://localhost:4567/post/6437</link><guid isPermaLink="true">http://localhost:4567/post/6437</guid><dc:creator><![CDATA[johnny2000]]></dc:creator><pubDate>Tue, 18 Feb 2014 03:16:19 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Tue, 18 Feb 2014 03:12:01 GMT]]></title><description><![CDATA[<p dir="auto">I commented it out and the result is similar:<br />
notice<br />
/var/www/html/fop2/lib/dblib.php (line 390)</p>
<p dir="auto">mysql_close() expects parameter 1 to be resource, boolean given<br />
notice<br />
/var/www/html/fop2/lib/dblib.php (line 80)</p>
<p dir="auto">mysql_query() expects parameter 2 to be resource, boolean given<br />
notice<br />
/var/www/html/fop2/lib/dblib.php (line 80)</p>
<p dir="auto">mysql_query() expects parameter 2 to be resource, boolean given<br />
Phonebook</p>
<p dir="auto">notice<br />
/var/www/html/fop2/lib/dblib.php (line 390)</p>
]]></description><link>http://localhost:4567/post/6436</link><guid isPermaLink="true">http://localhost:4567/post/6436</guid><dc:creator><![CDATA[johnny2000]]></dc:creator><pubDate>Tue, 18 Feb 2014 03:12:01 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Tue, 18 Feb 2014 00:59:22 GMT]]></title><description><![CDATA[<p dir="auto">Did you comment or remove the set_config line? My guess is still that your mysql credentials are wrong.</p>
]]></description><link>http://localhost:4567/post/6435</link><guid isPermaLink="true">http://localhost:4567/post/6435</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 18 Feb 2014 00:59:22 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Tue, 18 Feb 2014 00:12:20 GMT]]></title><description><![CDATA[<p dir="auto">Sorry but here is the config on config.php:<br />
$DBHOST = 'localhost';<br />
$DBNAME = 'fop2';<br />
$DBUSER = 'root';<br />
$DBPASS = 'mysld root password';<br />
johnny2000</p>
<p dir="auto">Posts: 4<br />
Joined: Sun Feb 16, 2014 7:36 pm</p>
]]></description><link>http://localhost:4567/post/6434</link><guid isPermaLink="true">http://localhost:4567/post/6434</guid><dc:creator><![CDATA[johnny2000]]></dc:creator><pubDate>Tue, 18 Feb 2014 00:12:20 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Mon, 17 Feb 2014 21:47:05 GMT]]></title><description><![CDATA[<p dir="auto">You said you used root user pass in config, but the thing you copied from your config.php has the "fop2" mysql user.. are you sure you got the mysql credentials set up correctly?</p>
<p dir="auto">There is one thing you might want to comment to prevent warnings that will distract more than help troubleshooting, look in config.php for this line:</p>
<pre><code>set_config($DBSETUP);
</code></pre>
<p dir="auto">And remove it.</p>
]]></description><link>http://localhost:4567/post/6433</link><guid isPermaLink="true">http://localhost:4567/post/6433</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 17 Feb 2014 21:47:05 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Mon, 17 Feb 2014 16:52:42 GMT]]></title><description><![CDATA[<p dir="auto">I turned on the debug and this is what I got: By the way I use the root user and root password for the mysql on the config.php file.<br />
notice<br />
/var/www/html/fop2/lib/dblib.php (line 390)</p>
<p dir="auto">mysql_close() expects parameter 1 to be resource, boolean given<br />
notice<br />
/var/www/html/fop2/lib/dblib.php (line 80)</p>
<p dir="auto">mysql_query() expects parameter 2 to be resource, boolean given<br />
notice<br />
/var/www/html/fop2/lib/dblib.php (line 234)</p>
<p dir="auto">mysql_fetch_assoc() expects parameter 1 to be resource, null given<br />
notice<br />
/var/www/html/fop2/lib/dblib.php (line 80)</p>
<p dir="auto">mysql_query() expects parameter 2 to be resource, boolean given<br />
notice<br />
/var/www/html/fop2/lib/dblib.php (line 80)</p>
<p dir="auto">mysql_query() expects parameter 2 to be resource, boolean given<br />
Phonebook</p>
<p dir="auto">notice<br />
/var/www/html/fop2/lib/dblib.php (line 390)</p>
<p dir="auto">mysql_close() expects parameter 1 to be resource, boolean given</p>
]]></description><link>http://localhost:4567/post/6432</link><guid isPermaLink="true">http://localhost:4567/post/6432</guid><dc:creator><![CDATA[johnny2000]]></dc:creator><pubDate>Mon, 17 Feb 2014 16:52:42 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Mon, 17 Feb 2014 15:27:35 GMT]]></title><description><![CDATA[<p dir="auto">Also I check the fop2 database, it is created but there are no tables in it.</p>
]]></description><link>http://localhost:4567/post/6431</link><guid isPermaLink="true">http://localhost:4567/post/6431</guid><dc:creator><![CDATA[johnny2000]]></dc:creator><pubDate>Mon, 17 Feb 2014 15:27:35 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Mon, 17 Feb 2014 15:16:54 GMT]]></title><description><![CDATA[<p dir="auto">This is what I got when I click the phone book icon:<br />
"You do not have permissions to access this resource."  However the permission on the user is set to "all"<br />
Below is the config.php:<br />
$DBHOST = 'localhost';<br />
$DBNAME = 'fop2';<br />
$DBUSER = 'fop2';<br />
$DBPASS = 'mysld root password';</p>
]]></description><link>http://localhost:4567/post/6430</link><guid isPermaLink="true">http://localhost:4567/post/6430</guid><dc:creator><![CDATA[johnny2000]]></dc:creator><pubDate>Mon, 17 Feb 2014 15:16:54 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Mon, 17 Feb 2014 13:07:24 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">I have the fop2 installed on a separate non PBX server and it seems that everything is working as it should aside from the Phonebook. I tried installing the Phonebook, however on the step of creating the table I received this error:<br />
-bash: mysql.db: No such file or directory<br />
Am I missing something? The fop2 database was created properly and the mysql is running.</p>
</blockquote>
<p dir="auto">In the latest fop2 versions there is no need to create the tables, they will be autocreated if they are missing.</p>
<p dir="auto">Did you setup proper mysql credentials in config.php?</p>
]]></description><link>http://localhost:4567/post/6429</link><guid isPermaLink="true">http://localhost:4567/post/6429</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 17 Feb 2014 13:07:24 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Mon, 17 Feb 2014 00:51:47 GMT]]></title><description><![CDATA[<p dir="auto">I have the fop2 installed on a separate non PBX server and it seems that everything is working as it should aside from the Phonebook. I tried installing the Phonebook, however on the step of creating the table I received this error:<br />
-bash: mysql.db: No such file or directory<br />
Am I missing something? The fop2 database was created properly and the mysql is running.</p>
]]></description><link>http://localhost:4567/post/6428</link><guid isPermaLink="true">http://localhost:4567/post/6428</guid><dc:creator><![CDATA[johnny2000]]></dc:creator><pubDate>Mon, 17 Feb 2014 00:51:47 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Wed, 05 Jun 2013 18:23:56 GMT]]></title><description><![CDATA[<p dir="auto">It looks like our Asterisk guy changed the context to something other than the default "from-internal" to "phones".</p>
<p dir="auto">I had him create a new context to mirror "phones" called "flash-op" and it works like a charm.</p>
<p dir="auto">Thanks to the awesome chat support guys here who helped me out with this.</p>
]]></description><link>http://localhost:4567/post/6427</link><guid isPermaLink="true">http://localhost:4567/post/6427</guid><dc:creator><![CDATA[xeper]]></dc:creator><pubDate>Wed, 05 Jun 2013 18:23:56 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Wed, 05 Jun 2013 03:03:01 GMT]]></title><description><![CDATA[<p dir="auto">Having a correct path of communication between the fop2 server and AMI is important, but it is not the only thing needed in order to send <em>correct</em> commands to Asterisk. I put emphasis in <em>correct</em>.</p>
<p dir="auto">In general, for every command to work -except for hangup or record-, you have to configure an extension and context in the button definition that must match your dialplan, as set in asterisk's extensions.conf. Also, you need the "originate" permission in /etc/asterisk/manager.conf</p>
<p dir="auto">If you want to troubleshot, you need to start fop2 with debug level 15 and then inspect the output when you try to originate a call, to start fop2 in debug mode you have to pass -X 15  to the startup command.. you can do something like this</p>
<p dir="auto">killall fop2_server<br />
cd /usr/local/fop2<br />
script capture.log<br />
./fop2_server.pl -X 15<br />
(connect to fop2, try to originate/dial a call)<br />
ctrl-C<br />
exit</p>
<p dir="auto">at this point you have a capture.log file to inspect.</p>
<p dir="auto">My guess? You might have incorrect extenxion/context configured in your buttons, you might lack the originate permission in manager.conf.</p>
]]></description><link>http://localhost:4567/post/6426</link><guid isPermaLink="true">http://localhost:4567/post/6426</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 05 Jun 2013 03:03:01 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Wed, 05 Jun 2013 02:31:09 GMT]]></title><description><![CDATA[<p dir="auto">I'm going out on limb here having been a newcomer to FOP2 but in most instances I would expect FOP2 to be on the same server as Asterisk, and the AMI.</p>
<p dir="auto">However having said that if you have FOP2 running on another web server and you have ensured that it is configured to connect to another server hosting Asterisk and the AMI and the required connecting ports are open along with using the correct AMI authentication as defined in</p>
<p dir="auto">/etc/asterisk/manager.conf<br />
and<br />
/usr/local/fop2/fop2.cfg</p>
<p dir="auto">Then in theory this would also work, Some more experienced users please correct me if I am wrong.</p>
<p dir="auto">Also when testing using /usr/local/fop2/fop2_server --test</p>
<p dir="auto">Would confirm that FOP2 can talk to Asterisk AMI</p>
]]></description><link>http://localhost:4567/post/6425</link><guid isPermaLink="true">http://localhost:4567/post/6425</guid><dc:creator><![CDATA[KazperNZL]]></dc:creator><pubDate>Wed, 05 Jun 2013 02:31:09 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Mon, 03 Jun 2013 19:33:14 GMT]]></title><description><![CDATA[<p dir="auto">This might be a really stupid question, but I'm getting desparate.</p>
<p dir="auto">Does the FOP2 service need to be installed-on/running-on the PBX?</p>
<p dir="auto">The way I have it, the only changes that have been made to the PBX would be to configure the manager.conf file and ensuring that sip.conf has "callevents=yes" and that queues.conf has "eventwhencalled=yes"</p>
<p dir="auto">Everything else that's been done has been on the webserver/fop2-server side (the Ubuntu VM)</p>
]]></description><link>http://localhost:4567/post/6424</link><guid isPermaLink="true">http://localhost:4567/post/6424</guid><dc:creator><![CDATA[xeper]]></dc:creator><pubDate>Mon, 03 Jun 2013 19:33:14 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Mon, 03 Jun 2013 15:03:53 GMT]]></title><description><![CDATA[<p dir="auto">I made that change and still can't initiate a call from the Panel.</p>
]]></description><link>http://localhost:4567/post/6423</link><guid isPermaLink="true">http://localhost:4567/post/6423</guid><dc:creator><![CDATA[xeper]]></dc:creator><pubDate>Mon, 03 Jun 2013 15:03:53 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Sun, 02 Jun 2013 23:23:17 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">The webserver (for FOP2) is Ubuntu 13.04, the PBX is CentOS 6.4.</p>
</blockquote>
<p dir="auto">Hi Because your running Centos 6.4 you need to configure FOP2 to run as a Centos 5 process see below:</p>
<p dir="auto">We are working on a custom binary for Centos 6. In the meantime, you can use the Centos 5 binary, the only thing to do is to create a symlink for libcrypto so it works correctly:</p>
<p dir="auto">In a 64 bit system the command is:<br />
ln -s /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.6<br />
In a 32 bit system the command is:<br />
ln -s /usr/lib/libcrypto.so.10 /usr/lib/libcrypto.so.6</p>
]]></description><link>http://localhost:4567/post/6422</link><guid isPermaLink="true">http://localhost:4567/post/6422</guid><dc:creator><![CDATA[KazperNZL]]></dc:creator><pubDate>Sun, 02 Jun 2013 23:23:17 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Fri, 31 May 2013 23:04:53 GMT]]></title><description><![CDATA[<p dir="auto">Well, I have permissions set to "all" for now.</p>
<p dir="auto">I can get it to see statuses, etc. but I cannot get it to dial out at all.</p>
<p dir="auto">I'm almost certain we're going to go with FOP2, so I think it's time to get the license and buy some support time.</p>
<p dir="auto">I think I need myself, my PBX guy and one of your guys to get together for a half hour to an hour and hash out the missing pieces (unless this is an easy fix at this point, which it may well be)</p>
<p dir="auto">edit: I also can't get chat to work (I can't even see how it's initiated) if chat doesn't work, that's a definite deal-killer.</p>
]]></description><link>http://localhost:4567/post/6421</link><guid isPermaLink="true">http://localhost:4567/post/6421</guid><dc:creator><![CDATA[xeper]]></dc:creator><pubDate>Fri, 31 May 2013 23:04:53 GMT</pubDate></item><item><title><![CDATA[Reply to Any step-by-step installing FOP2 on separate server from *? on Fri, 31 May 2013 16:41:26 GMT]]></title><description><![CDATA[<p dir="auto">The documentation is online. You are probably lacking of permissions in /etc/asterisk/manager.conf, you might want to create a user like the one described in this post:</p>
<p dir="auto"><a href="http://www.fop2.com/blog/make-fop2-snappier-using-ami-eventfilter" rel="nofollow ugc">http://www.fop2.com/blog/make-fop2-snap ... ventfilter</a></p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/6420</link><guid isPermaLink="true">http://localhost:4567/post/6420</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 31 May 2013 16:41:26 GMT</pubDate></item></channel></rss>