Just want to make something clear to avoid confusion:
FOP2 works perfectly with Asterisk 1.8, 1.6 and 1.4, and almost perfectly with 1.2. It always had. There is no other panel that has that broad asterisk version support. And it probably works well with 1.0 or 0.5, but did not bother to try.
The latest version (2.20 beta) has options to tweak behavior and take advantage of some 1.6 and 1.8 features. Just review the sample fop2.cfg for the new parameters.
The issues that affected 1.8 (calls dropped when redirected via AMI) were Asterisk bugs, not FOP2 bugs. They are solved on the latest asterisk releases. There are several asterisk versions with bugs that get exposed or become apparent *thanks* to fop2, and not *because* of fop2.
And for all PBX in a flash users, I have switched to PIAF myself and I am using it as my primary platform for developing FOP2. And I am using Asterisk 1.8 too.
For those asking why there is a separate database than the freepbx one, it is because freepbx uses the asterisk database (astdb) that is really basic and cannot be queried in realtime like fop2 dial box does (type some letters on the dial box and it will do a real time search on the phonebook to find matches. That is not possible to do with astdb)
And I want to mention that I have released another FreePBX module that might be handy: asternic cdr reports, you can get it from here and install as any other freepbx module:
http://www.asternic.biz/downloads/asternic-cdr-reports
About the port confussion and problems some users face, I will try to explain a little bit:
FreePBX comes with FOP(1) installed, its server listens to port tcp 4445 by default. When one application is bind to a port, no other application can take it. not even the same application (you cannot have two fop2 instances listening on the same port).
FOP2 *also* uses port 4445. So it is not possible to run FOP(1) and FOP2 at the same time if you do not change the listening port on one of them. You have the option to disable FOP(1) too by setting FOPRUN=false in /etc/amportal.conf (that is the best option, because if you are not going to use fop1, you will save cpu resources by not running an unneeded daemon, and you can upgrade freepbx without disrupting fop2). But if you are in doubt and want to try both, then change FOP(1) port to 4444 as explained in the FAQ in
www.fop2.com (1st question). It is much better to change fop1 port than to do change fop2, trust me on this. You might want to let fop2 use port 4445. The problem on changing fop1 port is that when you update the fop(1) framework in freepbx, the configuration file is overwritten and the port will be again 4445.. so when you reboot the machine you will have to daemons fighting for the same port again.
So, port 4445 must be free and taken by fop2 server, you can check port usage with netstat:
You should see 4445 being in use by fop2_server and if you have fop1 running, port 4444 taken by perl.
The other problem you might face are firewalls, you MUST allow connections to port 4445 on your asterisk server, not only port 80 or 443 (for web access), but also to port 4445. The flash xmlsockets or http5 websockets will use that port to communicate the client with the server. If you see the message: connecting to server, attempt number 1,2,3,4, it is because you cannot connect to port 4445 from your browser machine. If the port is up and used by fop2 (as verified by the netstat above), then your problem has to do with a firewall or missing port redirection (it could also be lack of flash player installed on the browser). The way to verify if its a firewall issue, you can try to telnet to port 4445 on your server from your desktop/browser machine. It must connect.
If you still have issues you can always try to catch me on the live help at
www.fop2.com or read the forums over there.
Best regards,
--
Nicolas