<?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[connecting to server, attempt 1....]]></title><description><![CDATA[<p dir="auto">Hi All,<br />
I have spent about 3 hours today trying to get FOP2 working.<br />
I've gone through in detail every single post on this forum, and tried all suggestions.</p>
<p dir="auto">My system is Centos5, with Freepbx.<br />
I've downloaded the tarball, installed it and it is running.<br />
I've changed the default port to 4447.<br />
I've checked all config options. I've tried both with and without the #exec <a href="http://autoconfig-users-freepbx.sh" rel="nofollow ugc">autoconfig-users-freepbx.sh</a><br />
I've tried logging on using different systems both inside and outside the network (firewall ports are correctly opened). I've tried using different browsers, and have reinstalled the flash player on those systems to no avail.</p>
<p dir="auto">There is nothing in the logs to suggest there is a problem, it is definitely running and definitely listening on 4447.</p>
<p dir="auto">[root@acdnew js]#</p>
<pre><code>pgrep fop2_server
</code></pre>
<p dir="auto">4712<br />
[root@acdnew js]#</p>
<pre><code>netstat -nta
</code></pre>
<p dir="auto">tcp        0      0 0.0.0.0:4445                0.0.0.0:*                   LISTEN<br />
tcp        0      0 0.0.0.0:4447                0.0.0.0:*                   LISTEN</p>
<p dir="auto">I also have flashpanel1 installed and running, but from what I have read, including in the faq, this is OK if you change the default port which I have done.</p>
<p dir="auto">I'm logging on with one of the extension from pbx, and it doesn't give an error message saying the details are wrong. (Although I can type in anything, and it doesn't say it's wrong.) If I change the /usr/local/fop2/fop2.cfg to comment out the freepbx connection, and specify an extension (an extension that also exists in freepbx) it fails also - displaying "connecting to server, attempt 1..." until it gets to 10, then says that it's unavailable.</p>
<p dir="auto">I've also found that in the config.php file inside /var/www/html/fop2/ there is a reference to the database username and password, which I have also set, with no change.</p>
<h1>Of course, running the service with the test command gives me the following:</h1>
<p dir="auto">[root@acdnew ~]#</p>
<pre><code>/usr/local/fop2/fop2_server -test
</code></pre>
<h1>Flash Operator Panel 2 - No valid license found. Demo Mode<br />
Connection to manager OK!</h1>
<h1>My config file:</h1>
<p dir="auto">[general]<br />
; AMI definitions<br />
manager_host=localhost<br />
manager_port=5038<br />
manager_user=admin<br />
manager_secret=xxxxxx<br />
;event_mask=call,agent</p>
<p dir="auto">; Daemon definitios<br />
listen_port      = 4447<br />
;restrict_host    = <a href="http://www.asternic.org" rel="nofollow ugc">http://www.asternic.org</a><br />
;web_dir          = /var/www/html/operator/fop2</p>
<p dir="auto">; Global Config<br />
language           = en<br />
poll_interval      = 86400<br />
poll_voicemail     = 1<br />
monitor_ipaddress  = 0</p>
<p dir="auto">;master_key = 5678</p>
<h1>; USER LIST<br />
user=407:407:all<br />
;user=620<img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f522.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--1234" style="height:1.4em;width:auto;vertical-align:middle" title=":1234:" alt="🔢" />all<br />
;user=621<img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f522.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--1234" style="height:1.4em;width:auto;vertical-align:middle" title=":1234:" alt="🔢" />all<br />
;user=622<img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f522.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--1234" style="height:1.4em;width:auto;vertical-align:middle" title=":1234:" alt="🔢" />all<br />
;user=623:1234all<br />
;buttonfile=buttons.cfg<br />
;user=412<img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f522.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--1234" style="height:1.4em;width:auto;vertical-align:middle" title=":1234:" alt="🔢" />all<br />
;#exec <a href="http://autoconfig-users-freepbx.sh" rel="nofollow ugc">autoconfig-users-freepbx.sh</a></h1>
<p dir="auto">Help please! I'm going crazy.</p>
<p dir="auto">Many thanks,</p>
<p dir="auto">Joel</p>
]]></description><link>http://localhost:4567/topic/100/connecting-to-server-attempt-1....</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 07:25:17 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/100.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Sep 2009 08:41:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to connecting to server, attempt 1.... on Thu, 10 Sep 2009 14:21:34 GMT]]></title><description><![CDATA[<p dir="auto">Hi Nicolas,</p>
<p dir="auto">thanks for your quick reply and excellent support via chat. Fixed in 30 seconds.<br />
Just posting this so others might be helped - I had the DBPASS in twice, which messed up the script.</p>
<p dir="auto">Thanks again, you are legendary.</p>
<p dir="auto">Joel</p>
]]></description><link>http://localhost:4567/post/486</link><guid isPermaLink="true">http://localhost:4567/post/486</guid><dc:creator><![CDATA[oztec]]></dc:creator><pubDate>Thu, 10 Sep 2009 14:21:34 GMT</pubDate></item><item><title><![CDATA[Reply to connecting to server, attempt 1.... on Thu, 10 Sep 2009 12:02:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi Joel,</p>
<p dir="auto">That's odd... Although time zones play against us, try to catch me online in the live help to sort your config issues out. What it takes your hours it might take me a few minutes, and I know time is valuable for every of us.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/485</link><guid isPermaLink="true">http://localhost:4567/post/485</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 10 Sep 2009 12:02:15 GMT</pubDate></item><item><title><![CDATA[Reply to connecting to server, attempt 1.... on Thu, 10 Sep 2009 06:12:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi Nicolas,</p>
<p dir="auto">thanks for the reply. I did as you suggested, to no avail. Nothing would work. I found another installation guide at [url:3ilyych4]<a href="http://www.elastixconnection.com/index.php?option=com_content&amp;task=view&amp;id=66&amp;Itemid=89%5B/url:3ilyych4%5D" rel="nofollow ugc">http://www.elastixconnection.com/index.php?option=com_content&amp;task=view&amp;id=66&amp;Itemid=89[/url:3ilyych4]</a> and went over it thoroughly, still would not work. Checked and rechecked all my options and settings, checked the ports that were being listened on, everything I can think of, and still it would not work.</p>
<p dir="auto">Eventually out of desperation, having spent another 2 hours on it, I purchased a license and registered it, and bingo! it works straight away.</p>
<p dir="auto">Now I have no buttons, so can't do anything, so I'll move onto the other posts in this forum. <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":-)" alt="🙂" /> The wonderful world of computers and asterisk.</p>
<p dir="auto">Thanks again for your assistance.</p>
<p dir="auto">Regards</p>
<p dir="auto">Joel</p>
]]></description><link>http://localhost:4567/post/484</link><guid isPermaLink="true">http://localhost:4567/post/484</guid><dc:creator><![CDATA[oztec]]></dc:creator><pubDate>Thu, 10 Sep 2009 06:12:57 GMT</pubDate></item><item><title><![CDATA[Reply to connecting to server, attempt 1.... on Wed, 09 Sep 2009 14:35:06 GMT]]></title><description><![CDATA[<p dir="auto">Hi Joel,</p>
<p dir="auto">If you change the listen port in fop2.cfg you will have to also uncomment the web_dir parameter and set it appropriately.</p>
<p dir="auto">What you want to do is change FOP1 listen port and let FOP2 use 4445 so it does not require the web_dir to be set (as recomended in question one of the FAQ).</p>
<p dir="auto">If you have FOP1 listening on port 4445 and FOP2 listening on 4447, and you did not set the web_dir parameter in fop2.cfg, then the fop2 client will try to connect to port 4445 (that is FOP1 daemon), and it will wait forever to connect as the protocol has changed.</p>
<p dir="auto">So... please change FOP1 port, not FOP2 because its easier (you do not need to set the web_dir if you let fop2 run on 4445)</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/483</link><guid isPermaLink="true">http://localhost:4567/post/483</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 09 Sep 2009 14:35:06 GMT</pubDate></item></channel></rss>