Hi All,
I have spent about 3 hours today trying to get FOP2 working.
I've gone through in detail every single post on this forum, and tried all suggestions.
My system is Centos5, with Freepbx.
I've downloaded the tarball, installed it and it is running.
I've changed the default port to 4447.
I've checked all config options. I've tried both with and without the #exec autoconfig-users-freepbx.sh
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.
There is nothing in the logs to suggest there is a problem, it is definitely running and definitely listening on 4447.
[root@acdnew js]# [code]pgrep fop2_server[/code]
4712
[root@acdnew js]#[code]netstat -nta[/code]
tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:4447 0.0.0.0:* LISTEN
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.
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.
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.
Of course, running the service with the test command gives me the following:
=================
[root@acdnew ~]# [code]/usr/local/fop2/fop2_server -test[/code]
Flash Operator Panel 2 - No valid license found. Demo Mode
Connection to manager OK!
=================
My config file:
==============
[general]
; AMI definitions
manager_host=localhost
manager_port=5038
manager_user=admin
manager_secret=xxxxxx
;event_mask=call,agent
; Daemon definitios
listen_port = 4447
;restrict_host = http://www.asternic.org
;web_dir = /var/www/html/operator/fop2
; Global Config
language = en
poll_interval = 86400
poll_voicemail = 1
monitor_ipaddress = 0
;master_key = 5678
; USER LIST
user=407:407:all
;user=620:1234:all
;user=621:1234:all
;user=622:1234:all
;user=623:1234all
;buttonfile=buttons.cfg
;user=412:1234:all
;#exec autoconfig-users-freepbx.sh
===========
Help please! I'm going crazy.
Many thanks,
Joel