Not Logged in - No Account?
Don't have an account? Registering an account with us allows you to post to the forums, easily track new posts, subscribe to threads, pm (private message) other forum members, and receive periodic news letters (you can opt out if you desire). Once you are logged in this message will no longer appear. If you don't have an account, you can create one by registering here. Lost your password, request a new password. We respect your privacy which means we collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for full details.
FreePBX Panel flashing Red and Green

Once I installed Flash Player 9.0.124.0 (from 9.0.115.0) FOP panel stopped working. After uninstalling 9.0.124.0 and re-installing 9.0.115.0 from Adobe archive the FOP panel started working once again. After looking at the network traffic from the 9.0.124.0 and 9.0.115.0 case I noticed the following:
With the 9.0.115.0 player, the FOP panel would initiate two connections to the FOP server at port 4445. In the case of the 9.0.124.0 player, only the first connection would be done and it would be identical as the first connection with the 9.0.115.0 case.
I have reported this to Adobe but I don't have a support agreement with them so if anyone does they may have more pull then me.
I have created bug #2782 to track this issue.
I'm not tryig to deflect it
I'm not tryig to deflect it but the author of the FOP is at http://www.asternic.org. have you taken a look over there to see if he knows about it and/or posted a fix already. If so it would be easier to pull his supported fix back then attempt to get somebody here to look into it and fix it.
It looks like he rolled out a new version on March 31st...
I just opened a ticket with asternic
Thanks for the pointer. I had no clue. I just created change #15 on the asternic bug system (using Trac)
Flash panel ater update to flash player 9.0.124
Check this post in asternic:
http://www.asternic.org/archives/msg03086.html
Yes, that fixed it
Yes, replacing the the op_server.pl
in /var/www/html/panel
with the one from here
http://www.asternic.org/ > Download
op_panel-snapshot.tar.gz 2008-04-10-16:45:04
solved the problem for me.
Thank you!
P.S. But this new fix breaks working with earlier Java version
Java Version 1.5.0 (9/8/06)
New op_server.pl causes flashing even on old versions of flash
Hi
If I overwrite op_server.pl with the latest snapshot release of op_panel, all extensions flash red and green regardless of the version of Flash I'm running.
I'm running FreePBX on Ubuntu Linux 7.10 with Asterisk 1.4.19 and FreePBX 2.4.0.
Thanks,
Robert
ongoing problem
This mismatch release of the op_server.pl and the resulting failure to access the panel is an ongoing problem. When I tried to use the svn version of the op_server.pl it then through some errors due to the config file in FreePbx being coded to use amportal conf.
Will there be an update to FreePBX to squash this bug anytime soon?
a fix for the problem.
We use Debian & Ubuntu
for some users FOP worked. their plugin version is r48 .
the ones which did not work had version r124
solution:
aptitude purge flashplugin-nonfree
cp r48 version to each r124 user:
cp /home/rob/.mozilla/plugins/libflashplayer.so /home/~tasha/.mozilla/plugins/libflashplayer.so
chown tasha ~tasha/.mozilla/plugins/libflashplayer.so
Of course you need a copy of version r48 around.. Email me if you want a copy of the backup you gave me to store for you ;-)
Fix for freepbx users
The latest snapshot fixes the policy constraints that are now part of the latest flash player. If you update op_server.pl it will work. The problem is that FreePBX uses a patched version to read configuration directives from amportal.conf.
Anyways, I have also added a configuration directive in op_server.cfg to read the config parameters from that file directly, so you can replace op_server.pl on a freepbx install and it will work (instead of trying to connect to UNUSED server with UNUSED manager user, etc..
That setting is:
use_amportal_conf=1
And it should be written at the top of op_server.cfg
Nicolás Gudiño
Buenos Aires - Argentina
Can you expand on your comment
My situation is a little more complex. I use trixbox CE which bundles FreePBX which bundles asternic. So I have no idea HOW to get your fix. I am sure that my situation is similar to a lot of people. Can you explain in some details which files should be acquired from where and where they should be and what changes need to be done to what existing files to get this fix? Thanks a lot. Once I have this info here, I will submit it to FreePBX and trixbox for inclusion. Thanks.
Refering to asternic
Refering to asternic post....
That worked for me. However, adding the line to the existing .cfg file did not fix the problem. I had to replace the .cfg from the svn in addition to the .pl file. Now it is whistling fine.
I tried and it did not work
Without details I did the following:
got subversion 28 from asternic and extracted op_server.pl and copied to my trixbox. I added the line use_amportal_conf=1 in general section in op_server.cfg on trixbox and restarted op_server.pl and the FOP is still flashing red and green. I await further instructions as I am sure more poeple are awaiting too.
I tried with the latest snapshot also
From asternic I tried with the latest snapshot and with revision 28 and neither of them worked.
Red/Green Flashing and Flash Player
I will try to explain a little. Red/Green flashing means that the flash movie is unable to contact FOP proxy server (op_server.pl). That communication is done via a flash feature: xmlsockets. The default port for that connection is tcp/4445.
So, if you have a firewall, or the proxy is not running, or some wacky network setup, you might get the flashing red and green problem. This problem is not caused by the software itself but the network topology or some external issue. So the instructions that I will give won't fix that issue. This applies only at the problem caused by the use of the LATEST flash player.
Now: the last flash player enforces a policy that afects xmlsockets. Now flash is not going to connect to anywhere unless the site that accepts the connections serves some special policy file.
That is the problem that I fixed in the latest FOP snapshot.. it is not version 0.28, is the latest snapshot, for what I am going to release 0.29 tomorrow. The snapshot is also available for download, but with no version number, it will be always the latest version ( it is available in www.asternic.org )
You can browse the source or get individual files from here:
http://www.asternic.org/trac/browser/trunk
The fix is done in op_server.pl, but you also have some version control between the .swf movie and the proxy server. So the proper way to update a freepbx install would be to download the latest snapshot tarball from the download tab in www.asternic.org and replace both op_server.pl and operator_panel.swf.
Only those two files. You do not want to overwrite any .cfg file or anything else.
After that, you will have to add ONE parameter in op_server.cfg
use_amportal_conf=1
That way it will read the config directives from freepbx config files instead of the op_server.cfg file that you have just modified.
Then restart FOP and it should work fine. (killall op_server.pl)
Nicolás Gudiño
Buenos Aires - Argentina
Thanks for explaining that,
Thanks for explaining that, I have just finished following your instructions and now i'm getting a client server version mismatch
any ideas?
Thanks again for your time.
Client/Server version mismatch
If you replaced both op_server.pl and operator_panel.swf, then the problem is because your browser is using the old (cached) .swf . You will have to remove temporary internet files or empty your browser's cache.
If you did not replace operator_panel.swf, then do so and them empty the cache.
Best regards,
Nicolás Gudiño
Buenos Aires - Argentina
Green fixed after apply changes
Hi all,
I followed all the steps and I had successfully removed my problem of getting all the extensions flashing red/green.
I put the new operator_panel.swf and op_server.pl from version .29
I put at the top of op_server.cfg right below [general]
use_amportal_conf=1
Then remove temporary internet files and run amportal restart
Now, I'm having all in permanent green, never change the status of extensions, trunks or conferences
I'm having FreePbx version 2.4.0.0
Can someone help me please.
Thanks
Thanks for that, I just
Thanks for that, I just flushed my cache and all is working nicely. Thanks again for your time and effort.
regards
For those who might still
For those who might still have an issue after following the instructions above... I found that the line added to the op_server.cfg must be placed under the [general] heading and not at the top of the file. After I made that change it worked as stated.
Red/Green Fixed but now various extensions show yellow
The op_server.pl and operator_panel.swf files worked and panel is no longer showing red and green continuous flash.
What has happened is now 5 of my extensions are showing yellow and one is showing a black with DND set.
Extensions Showing Yellow
I'm seeing the same thing, but in more detail.
Trunks that are available are showing up green, they go red when in use.
Queues, conferences, and parking lot entries seem to likewise work correctly.
Extensions are Yellow when they are Idle (registered)
Extensions are Green when they are Unavailable (not registered)
Extensions are Red when in use.
I don't see any of the extensions going Black on my panel, but there may be a condition where they do.
From the code in op_server.pl, it looks like Idle extensions are supposed to be marked as Agent extensions, which explains this. I'm curious about the assumption.
Yellow and Black
Yellow means the channel/extension is a queue member or a logged in agent.
Black is for DND (do not disturb). DND behaviour depends on op_astdb.cfg. There were a change between FOP 0.26 and 0.29 in that config file, so if you upgrade, you might want to update op_astdb.cfg also.
Nicolás Gudiño
Buenos Aires - Argentina
Re: Black and Yellow
Thank you for the quick response. I really like the control that FOP gives me, so I'm always happy to get it working.
I updated op_astdb.cfg to the latest version; I even included [DND] and [dnd] contexts, just in case there was some difference. They are exactly the same, so regardless of which one the system uses, the outcome should be the same.
Here is my experience with the latest version and Asterisk 1.6 (which may be the source of the problems):
- I understand that a 'Yellow' extension is one that either has an agent logged into it or is part of a queue group. I don't think I'm using agents at all. I looked and all of my phones were in the 'Incoming' queue. I removed several of them from my inbound queue to see what happens. They now show green, as expected. It would be nice if the queue to which the phones are attached were the same color as the phones; of course, once that is working, people will want different colors per queue and the colors to match th phones in that queue. If that's a huge pain, then please ignore that :-)
- I have two extensions that are not authenticated - the ATAs they are fed from are not getting connected to the server. If I understand the way the display should work, these should show up as 'Green' or 'Yellow' (depending on whether they are members of a Queue), but grayed out to 50%. I'm not seeing the Graying; it's possible that something in my button configuration isn't correct, so I'm still looking at that.
- I have three SCCP phones. Everything about them works flawlessly, except when I enable DND, the indicator stays Yellow, instead of going Black. The DND is recognized and the system sends the call to VM.
- Just for completeness, I tried the same thing with one of my SIP ATA-attached phones, and I get the same result. I've removed all of the ATA attached phones from the queue and set them to DND; none of them are going Black.
- While I'm whining, I'm using "web-meetme" instead of the standard Conferencing Can you tell us (preferably in a separate article) how we might set up FOP to monitor the active Conferences? They all hang off extension 800, but they all have random 5-digit numbers.
Keep up the excellent work!
Extensions yellow for not logged agents
Hi,
I already update my fop because the flash player problem but I have a problem when I follow this steps:
1. I have two agents logged, and two instances of fop oppened (one ins fp 9.0.115 and other fp 9.0.124
2. logout any of the agents. (Panel shows the information correctly) One green (Agent-not is not logged) and one yellow (Agent-Logged)
3. I update any of the flash operator panel window using reloads configuration button.
4. Ooops I see the two agents logged but in CLI, only one agent is logged like it must be.
Any help must be appreciated.
Regards.
Misunderstanding the browser-server communication
Hi folks,
what helped me solving this issue was reading the documentation on the asternic-homepage. ;-)
I wasn't aware of the fact, that the flash-client (my local browser) had to be allowed to access port 4445/tcp on the destination-machine (my freePBX-Server) directly.
So I opened the port 4445 for my client-machine with a new firewall-rule, restarted my iptables-firewall and - TADAAA - it finally works...
I just post this, so everyone who might have the same issue can take his/her own firewall on the server into account and check if the port is open.
The fact that a flash-applet talks to a specifc port is not so common (at least from my point of view.)
Greetz,
Marcus
(Thanks for the great software!)
Unfortunately...
In trying to fix the Flash problem I mucked up the /var/www/html/panel directory. Now I no longer get flashing, but the FOP doesn't appear to be working, i.e., it does nothing.
Is there an easy way to restore the directory to a freshly installed configuration so I can then make only the required changes?
Thanks!
BTW, I am running freePBX / trixbox. Everything else on the system works fine!