Ticket #3253 (assigned Feature Requests)

Opened 5 years ago

Last modified 3 years ago

FOP Displaying button status incorrectly (FOP bug? FreePBX bug?)

Reported by: voxter Assigned to: asternic (accepted)
Priority: minor Milestone: Undetermined
Component: Flash Operator Panel Version: 2.5-branch
Keywords: Cc:
Confirmation: Confirmed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

I've created my config in a brand new FreePBX 2.5.0 install, and have a 6 line IP650 registered on all 6 lines. In FOP, I get yellow indicators that random people are logged in, which does not match extension numbers whatsoever.

I have attached a screenshot of FOP for you to see. The lines I have registered are: 205, 10205, 11205, 12205, 13205, 14205

As you can see in the screenshot, 205 and 14205 show up properly, but 210, 213,220,228 should not be lit.

I've also attached the op_buttons_additional config file, which looks correct to me.

Another thing to note, 205 is created as a device and a user, whereas the other extensions are created solely as devices in FreePBX.

Attachments

Picture 2.png (453.6 kB) - added by voxter on 10/01/08 15:19:14.
Picture 2.gif (127.8 kB) - added by voxter on 10/01/08 15:24:37.

Change History

10/01/08 15:19:14 changed by voxter

  • attachment Picture 2.png added.

10/01/08 15:24:37 changed by voxter

  • attachment Picture 2.gif added.

10/01/08 19:50:13 changed by asternic

  • status changed from new to assigned.

Hi Voxter. It is not a bug, it is a feature! (depends on the point of view). The problem is that you have more than 40 extensions and by default freepbx panel has a 40 extensions limit as defined in retrieve_op_conf_from_mysql.pl script.

In straight FOP you can define several channels and assign them to one position (so you can track status of different channels in only one button, for example when using iax/sip, or even agents).

Now, when retrieve_op_conf_from_mysql.pl exceeds the 40 alloted extension positions, it starts from position 1 again, overloading positions with new channels. So you end up with more than one channel being monitored in each position, but displaying only the last button label. So you might see the button as "200 John" but it is also "160 Mary" and it will reflect status of both channels.

So, it is not a FOP issue but a retrieve_op_conf_from_mysql.pl issue (that script is not a part of FOP itself), because it is incorrectly overloading positions with new channels, when it should just stop adding buttons when you run out of positions.

I dont know if its up to me to decide that fix or to someone else.

10/04/08 20:03:52 changed by p_lindheimer

  • confirmation changed from Unreviewed to Confirmed.
  • milestone changed from 2.5 to 3.0.

asternic,

sounds like it would be possible to get FOP to handle device and users mode though, at least where there are multiple devices attached to a user that are static. (Since we don't want to be regenerating the FOP config every time a user logs in/out of a adhoc device.

Anyhow - for now I'm going to move this to the next milestone. If the issue is exceeding the number of extensions we support in FOP, then this may be more of a feature request but I'll leave it open as is for the meantime.

If you want to make changes to the configuration script to better handle these sort of situations, you are welcome to:-)

08/23/09 15:55:38 changed by p_lindheimer

  • milestone changed from 2.6 to 2.7.

01/29/10 02:50:08 changed by p_lindheimer

  • milestone changed from 2.7 to 2.8.

02/28/10 11:15:37 changed by p_lindheimer

  • milestone changed from Cut Line to 2.8.

06/02/10 13:29:19 changed by p_lindheimer

  • type changed from Bugs to Feature Requests.
  • milestone changed from 2.8 to Cut Line.