FOP Layout

Can anyone point me to a guide on how to change the layout of the Operator Panel?
I have too many trunks and I don’t have enough buttons for them. I found where to edit the button size but that did not give me all the trunks and kinda hosed the layout.

I am running FreePBX 2.9.0rc1.5 on Asterisk 1.8.

Thank you for any pointers…

I don’t know what you mean, where did it get the DAHDI from? Each button is for a DAHDI channel. The system assigns these internally and they map the output of the command ‘dahdi show channels’ in Asterisk?

What trunks are you referring to?

It looks fairly straightforward to edit the buttons files. I am concerned about the taking control away from FreePBX as that means it won’t be able to update as I make changes like adding or removing extensions (etc…).

The DAHDI buttons in the FOP’s trunks section are are actually DAHDI extensions that appear correctly in the extensions section and then are repeated as “trunks” named “DAHDI 1, DADHI 2, DAHDI 3…” If these are being “autoconfigured” by FreePBX as trunks, I am wondering if that is a bug?

FOP is really not supported to any extent in the latest releases.

You should look at FOP 2 in Release 2.9

It provides a FreePBX module to change the layout.

It is included in the repo for 2.9 or you can download the installer from www.fop2.com and install it on 2.8

Chan Extension Context Language MOH Interpret Blocked State
pseudo default default In Service
1 from-pstn default In Service
2 from-pstn default In Service
3 from-pstn default In Service
4 from-pstn default In Service
5 from-pstn default In Service
6 from-pstn default In Service
7 from-pstn default In Service
8 from-pstn default In Service
9 from-pstn default In Service
10 from-pstn default In Service
11 from-pstn default In Service
12 from-pstn default In Service
13 from-pstn default In Service
14 from-pstn default In Service
15 from-pstn default In Service
16 from-pstn default In Service
17 from-analog default In Service
18 from-analog default In Service
19 from-analog default In Service
20 from-analog default In Service
25 Payphones default In Service
26 Payphones default In Service
27 Payphones default In Service
28 Payphones default In Service
29 Payphones default In Service
30 Payphones default In Service
31 Payphones default In Service
32 Payphones default In Service
33 from-internal default In Service
34 Payphones default In Service
35 from-analog default In Service
36 from-analog default In Service
37 from-analog default In Service
38 from-analog default In Service
39 Payphones default In Service
40 Payphones default In Service
41 Payphones default In Service
42 Payphones default In Service
43 Payphones default In Service
44 Payphones default In Service
45 Payphones default In Service
46 Payphones default In Service
47 Payphones default In Service
48 Payphones default In Service

That looks great, what is wrong with it?

I will look at fop2.
Thanks alot!

The real trunks (two sip trunks) are not showing up and the trucks that are are really extensions (which are showing up correctly).

Will FOP2 solve this or do I have some other problem…

I looked there but got kind of overwhelmed. Is there a specific page/document/faq you are referring to? It is clear from them that this can be done I am just not sure which files, utilities, or settings I am supposed to be visiting to make the change.
I did find the Operator Layout Module which did allow me to change the number of slots allotted to each section but it kept giving me “out of range” errors when I tried to enlarge a section.
One additional question: where is it pulling these trunk names from? After enlarging the trunk section it is displaying trunks dahdi 1 thru dahdi 27 and not the list of trunks I have defined?
Thanks!

I did find the definitions below in op_buttons_additional.cfg but where did freepbx get these Dahdi trunks from and where are the trunks I defined?

… from the op_buttons_additional.cfg file …
[DAHDI/1]
Position=50
Label="DAHDI 1"
Extension=-1
Icon=3
Panel_Context=default

[DAHDI/2]
Position=51
Label="DAHDI 2"
Extension=-1
Icon=3
Panel_Context=default

[DAHDI/3]
Position=52
Label="DAHDI 3"
Extension=-1
Icon=3
Panel_Context=default

[DAHDI/4]
Position=53
Label="DAHDI 4"
Extension=-1
Icon=3
Panel_Context=default

[DAHDI/5]
Position=54
Label="DAHDI 5"
Extension=-1
Icon=3
Panel_Context=default

and so on…

I don’t know what to tell you. You need to look at the files as they are configured by FreePBX to get an idea of what the syntax looks like. There are only a couple of files, one for the buttons and one for the styles and a general config that you should not need to adjust.

The site is a reference for the syntax. Are you familiar with text file configuration editing?

You also need to set the files to read only when you are done of FreePBX will overwrite them.

the files are in /var/www/htmp/panel

Hope this helps.

http://www.asternic.org