I am a newbie, so please go easy (i.e. step by step) on linux and asterisk syntax. I am trying to set up FOP 2 on top of a recent installation of Asterisknow, using FreePBX. I think I am getting the same symptoms as described by this thread starter. I can launch the login page at http://www.mydomain.com/fop2, but when I attempt to login using the extension number and password, the webpage sits there for multiple attempts before returning a yellow circle with an exclamation mark saying "Could not connect to server".
I have followed all the installation instructions very carefully and am using the following configuration:
I have defined three extensions 200, 201, 202 (for testing) with one mailbox and password setup on extension 200.
Operating System: CentOS release 5.3 (Final)
Distribution: fop2-001-i386-glibc2.5-centos5.tgz
Software Version: FreePBX 2.6.0.1 (all modules report up to date)
Manager.conf username and password are copied to /usr/local/fop2/fop2.cfg
FOP(1): /var/www/html/panel/op_server.cfg changed to listen port 4444
FOP2: /usr/local/fop2/fop2.cfg master password defined
I have run from the console:
[root@localhost fop2]# ./autoconfig-users-freepbx.sh -> (seems to configure a list of users on the console)
[root@localhost fop2]# ./autoconfig-buttons-freepbx.sh -> (seems to configure a list of buttons on the console)
[root@localhost fop2]# /usr/local/fop2/fop2_server --test
Flash Operator Panel 2 - No valid license found. Demo Mode
Connection to manager OK!
[root@localhost fop2]# pgrep fop2_server
2632 (I don't know if this is a good thing or not)
[root@localhost fop2]# netstat -lnp fop2_server -> (returns a long list of info):
------------------------------
usage: netstat [-veenNcCF] [<Af>] -r netstat {-V|--version|-h|--help}
netstat [-vnNcaeol] [<Socket> ...]
netstat { [-veenNac] -I[<Iface>] | [-veenNac] -i | [-cnNe] -M | -s } [delay]
- r, --route display routing table
- I, --interfaces=[<Iface>] display interface table for <Iface>
- i, --interfaces display interface table
- g, --groups display multicast group memberships
- s, --statistics display networking statistics (like SNMP)
- M, --masquerade display masqueraded connections
- v, --verbose be verbose
- n, --numeric don't resolve names
- -numeric-hosts don't resolve host names
- -numeric-ports don't resolve port names
- -numeric-users don't resolve user names
- N, --symbolic resolve hardware names
- e, --extend display other/more information
- p, --programs display PID/Program name for sockets
- c, --continuous continuous listing
- l, --listening display listening server sockets
- a, --all, --listening display all sockets (default: connected)
- o, --timers display timers
- F, --fib display Forwarding Information Base (default)
- C, --cache display routing cache instead of FIB
- T, --notrim stop trimming long addresses
- Z, --context display SELinux security context for sockets
<Iface>: Name of interface to monitor/list.
<Socket>={-t|--tcp} {-u|--udp} {-S|--sctp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom
<AF>=Use '-A <af>' or '--<af>'; default: inet
List of possible address families (which support routing):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
x25 (CCITT X.25)
-------------------------------------
Basically, now I'm a bit stuck as to what to do next in order to get past the login screen.
Also... (slight change of topic), Can FOP2 appear under the "Panel" tab in FreePBX, to replace the old FOP?
Many thanks for all your hard work.
Andy