How can I see more than 40 extensions on Flash Operator Panel

Hi Team,

Currently I am using FreePBX 2.5.1.2. Right now I am able to see only 40 extensions on FOP.

Is there any solution for showing more than 40 extensions on FOP?

Shall I need to change any configuration settings on FreePBX?

Take a look over at www.asternic.org

I have been able to get working configs up to 100 buttons.

Thanks for your reply. www.asternic.org site help me allot for understanding the FOP configurations.

I am using FreePBX coming with AsteriskNow 1.5.0 Beta 2.

For showing extensions more than 40 on FOP I had changed configuration settings on /var/www/html/panel/op_style.cfg as follows

; Settings for the button (rectangle)
btn_width=180
btn_height=20
btn_padding=1
btn_line_width=1
btn_line_color=F79418
btn_fadecolor_1=ccccff
btn_fadecolor_2=2973FF
btn_round_border=6
;btn_highlight_color=ff0000
btn_highlight_color=F79418

After changing these settings I am able see the buttons height and width changes on FOP but couldn’t able to see the extensions which have been created after the 40 extensions.

And Also Queues,Trunks,Conferences and Parking lots buttons moving to left side instead of showing their area.

Is there any option should I have to change for showing these buttons respected to their area?

Finally I had checked extensions position values at /var/www/html/panel/op_buttons_additional.cfg

Here I had observed one thing i.e after 40th extension next extension Position is starting from 0.


VoiceMailExt=*[email protected]
Panel_Context=default
[SIP/33615]
Position=40
Label="33615 : xxxxxx"
Extension=33615
Context=from-internal
Icon=4
Voicemail_Context=default
VoiceMailExt=*[email protected]
Panel_Context=default
[SIP/33616]
Position=0
Label="33616 : yyyyyyy"
Extension=33616
Context=from-internal
Icon=4
Voicemail_Context=default


If I changed this value to 41 manually it’s showing in FOP.

But this file is auto-generated by freepbx, we couldn’t altered manually.

Is there any configuration for creating this file for supporting upto 100 extensions?

I find it easier to simply set additional contexts and leave the default alone.

This will require manual configuration.

It may be possible to modify the below listed file to your likes, it’s the script that generates the configs.

[[email protected] bin]# pwd
/var/lib/asterisk/bin
[[email protected] bin]# ./retrieve_op_conf_from_mysql.pl

retrieve_op_conf_from_mysql.pl at the top has the config for what slots get which types of items. If you change it, it will generate them properly (to your perpective)

Changes are:
nano /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl ; killall op_server.pl

structure is - ID, Legend, startpos, stoppos, color1, color2

$rectangle1 = array(“trunk”,“Trunks”, 73, 80, “10ff10”, “009900”);
$rectangle2 = array(“extension”,“Extensions”, 1, 60, “1010ff”, “99cccc”);
$rectangle3 = array(“parking”,“Parking lots”, 69, 72, “ffff10”, “cc9933”);
$rectangle4 = array(“conference”,“Conferences”, 65, 68, “006666”, “00a010”);
$rectangle5 = array(“queue”,“Queues”, 61, 64, “ff1010”, “a01000”);
$rectangles = array($rectangle1,$rectangle2,$rectangle3,$rectangle4,$rectangle5);