TIPS Flash Operator Panel

Joined
Nov 1, 2007
Messages
45
Reaction score
0
Hi. I have a T1 PRI withover 39 extensions and atleast 25 trunks. It would be very helpful to me if Flash Operator Panel was able to display more than 39 extensions and 25 trunks. I believe the newest version of FOP has the abililty to scroll and customize buttons. Hopefully I am not the only that has needed the additional extension output. Thank you in advance!
 

foneman

Guru
Joined
Oct 24, 2007
Messages
297
Reaction score
1
May Help

I know this question is posted a couple of time but I am looking through the variables in the FOP and looking at the readme file found this and am playing with it.
www/html/panel/README
Edit op_buttons.cfg to suit your needs. The file is commented and its
self explanatory.
4) Edit op_style.cfg to suit your needs. You can change the button size and
colors, icon placement and size, etc. DO NOT modify the variable names,
just the value after the equal sign and DO NOT use spaces. With proper
adjusting, you can have more than a 100 buttons on the screen.
You can change the toolbar layout by changing the number after the
variable show_???. Each one represents a possible element in the toolbar.
A value of 0 disables that element. A number represents the order in the
toolbar it will be displayed, number one being the leftmost part of the
toolbar. In the example configuration, all the toolbar elements are
displayed in correlative order. Eg: if you do not want to display a DEBUG
button, set the 'show_btn_debug' to 0. You can translate the text of the
toolbar in the corresponding variables.
 

mainenotarynet

Not really a Guru - Just a long time user
Joined
May 29, 2010
Messages
754
Reaction score
155
Ive got a better one for you -- in one of the files it actually says -- do not edit this file but change it in the web GUI --- anybody know where THAT is -- I certainly have not seen it.

I actually edited the op_style and had it just how I wanted -- then went to another computer today and its back to default which I don't like.

Any help here??

Thanks
 
Joined
Nov 1, 2007
Messages
45
Reaction score
0
I found this post on the web. It seemed promising but I was unclear on the bold parts. I'm testing it out on a clean version of PIAF Gold.

http://www.sa-phone.com/drupal/node/1

Edit /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.php as follows:

In the LAYOUT INFO area:
# structure is - ID, Legend, startpos, stoppos, color1, color2
$rectangle1 = array("trunk","Trunks", 73, 120, "10ff10", "009900");
$rectangle2 = array("extension","Extensions", 1, 60, "1010ff", "99cccc");
$rectangle3 = array("parking","Parking lots", 69, 112, "ffff10", "cc9933");
$rectangle4 = array("conference","Conferences", 65, 108, "006666", "00a010");
$rectangle5 = array("queue","Queues", 61, 104, "ff1010", "a01000");
(Only the start & stop positions change)

In BUTTON INFO:
$buttonsizex = 164;
(Make the buttons narrower)

At line 473 (or 394 depending on version), where it reads "$id : $description\" -- remove the space before the colon to gain back a few pixels.

At line 274, append the following after devices and before the quotation mark: ORDER BY id LIMIT 59


Edit /var/www/html/panel/op_style.cfg:
btn_width=162
Buttons got smaller, but they still only show up in 4 columns.
 
Joined
Nov 1, 2007
Messages
45
Reaction score
0
Update

I did not do this line:
At line 473 (or 394 depending on version), where it reads "$id : $description\" -- remove the space before the colon to gain back a few pixels.

A slight tweak for PIAF Gold with FreePBX 2.9:
Line 282:
if (table_exists($db,"devices")) {
$statement = "SELECT description,id,dial,tech from devices ORDER BY id LIMIT 59";

Then a reboot (shutdown -r now)

This worked on my pbx with 40+ extensions, but I could not recreate it on my pbx with only 8 extensions. My trunk button still creeped over on to the purple extensions box. I'm hoping this is because I don't have enough extensions listed at the moment. We'll see...

Here are some pics:
40+ extensions - http://postimage.org/image/w4jxdlz8/
8 extensions - http://postimage.org/image/w50gr2x0/
w4jxdlz8
 

woot4fun

New Member
Joined
May 6, 2011
Messages
20
Reaction score
1
FOP2 is only US$40 and does scrolling, has online support from the developer, can dynamically show active lines. You are going to spend more time trying to figure out a work around.
 

duggerd

Member
Joined
Jun 23, 2011
Messages
52
Reaction score
1
I second FOP2. It is better by far and is not very insecure like the original FOP.
 

voipJunkie

New Member
Joined
Apr 6, 2008
Messages
6
Reaction score
0
http://www.sa-phone.com/drupal/node/1 is incomplete. The following is a complete solution (FreeBPX v2.8):

Note: Do not change /var/www/html/panel/op_buttons_additional.cfg.

1. vi /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl
# structure is - ID, Legend, startpos, stoppos, color1, color2
$rectangle1 = array("trunk","Trunks", 93, 120, "10ff10", "009900");
$rectangle2 = array("extension","Extensions", 1, 80, "1010ff", "99cccc");
$rectangle3 = array("parking","Parking lots", 89, 112, "ffff10", "cc9933");
$rectangle4 = array("conference","Conferences", 85, 108, "006666", "00a010");
$rectangle5 = array("queue","Queues", 81, 104, "ff1010", "a01000");
######## BUTTON INFO #########
$buttonsizex = 167; # $btn_width+2
$extenpos="2-80";
$trunkpos="94-100,112-120";
$parkingpos="90-91,109-111";
$confepos="86-88,105-108";
$queuepos="82-84,101-104";

2. vi /var/www/html/panel/op_style.cfg
; Settings for the button (rectangle)
btn_width=165
timer_margin_left=35

That should do it....
 

Members online

Forum statistics

Threads
25,778
Messages
167,504
Members
19,198
Latest member
serhii
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top