Q):How to increase the numbers of trunk button in FOP(Flash Operator Panel)
A):1: Edit /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl
simply adjust these lines like.
My sample as the following.
######## STYLE INFO ######### $extenpos="2-40"; $trunkpos="47-60,67-90"; $confepos=""; $queuepos="42-45,62-65";
(Trunk has 2 columns, and each column has 14 positions)
2: Edit /var/www/html/panel/op_buttons.cfg
this one adjusts the sizes, colors and fonts of buttons and panel rectangles.
If you want to customize the positions of each button and do not like the layout created by freepbx, you have to comment out the line "include => op_buttons_additional.cfg" in op_buttons.cfg and create a file op_buttons_custom.cfg.
My sample as the following
include => op_buttons_additional.cfg ; use this for your customizations to FOP include => op_buttons_custom.cfg [rectangle] x=492 y=32 width=491 height=133 line_width=0 line_color=ff1010 fade_color1=ff1010 fade_color2=a01000 rnd_border=2 alpha=20 layer=bottom [rectangle] x=492 y=167 width=491 height=427 line_width=0 line_color=10ff10 fade_color1=10ff10 fade_color2=10ff00 rnd_border=2 alpha=20 layer=bottom [rectangle] x=-1 y=32 width=491 height=564 line_width=0 line_color=1010ff fade_color1=1010ff fade_color2=1010ff rnd_border=2 alpha=10 layer=bottom [LEGEND] x=500 y=170 text=Trunks font_size=18 font_family=Times New Roman use_embed_fonts=1 [LEGEND] x=500 y=32 text=Queues font_size=18 font_family=Arial use_embed_fonts=1 [LEGEND] x=10 y=32 text=Extensions font_size=18 font_family=Arial use_embed_fonts=1
Images 0 | ||
---|---|---|
No images to display in the gallery. |