Trixbox Flash Operator Panel Compatto

VoIP & Telefonia

Riporto la personalizzazione a Trixbox CE per la creazione di un Flash Operator Panel compatto (visualizza 15 interni, 1 conferenza 1 coda 3 parcheggi):

 

L'installazione e` un po' complicata, perche` va ad intrufolarsi nel processo di creazione automatico dello stesso menu, quindi per otterlo dovrete andare a modificare i seguenti files nelle parti citate:

 /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl

######## LAYOUT INFO #########

# This layout info should really be in a "panel" table in the freepbx database

# structure is - Legend, startpos, stoppos, color1, color2
@rectangle1 = ("Extensions", 1, 16, "1010ff", "099cccc");
@rectangle2 = ("Queues", 17, 19, "ff1010", "a01000");
@rectangle4 = ("Conferences", 19, 21, "006666", "a01000");
@rectangle3 = ("Parking lots", 21, 24, "ffff10", "cc9933");
@rectangle5 = ("Trunks", 25, 32, "10ff10", "009900");
@rectangles = (\@rectangle1,\@rectangle2,\@rectangle3,\@rectangle4,\@rectangle5);

######## BUTTON INFO #########
$buttonsizex = 250; # 2+246+2 from information in op_style.cfg
$buttonsizey = 70; # 2+68+2 from information in op_style.cfg
$numbuttonsx = 4;
$numbuttonsy = 8;


######## STYLE INFO #########
$extenpos="2-16";
#$trunkpos="52-60,71-80";
#$confepos="";
#$queuepos="42-50,61-70";

## SME server changes
$queuepos="18";
$parkingpos="20-22";
$confepos="24";
$trunkpos="25-32";
in alternativa potete scaricare direttamente il file
cd /var/lib/asterisk/bin
wget http://www.sfs.it/downloads/asterisk_stuff/retrieve_op_conf_from_mysql.pls -O retrieve_op_conf_from_mysql.pl
chmod 777 retrieve_op_conf_from_mysql.pl
chown asterisk:asterisk retrieve_op_conf_from_mysql.pl

 /var/www/html/panel/op_style.cfg

; Settings for the button (rectangle)
btn_width=246
btn_height=66
btn_padding=4
e..
; Settings affecting the button label
label_font_size=18
label_font_family=Verdana ; only valid when use_embed_fonts is disabled
label_font_color=000000
label_shadow_color=dddddd
label_margin_top=14
label_margin_left=38
label_shadow=1
label_extent_x=60 ; If the label does not fit horizontally, increase this number
label_extent_y=0


; Settings affecting the button clid
clid_font_color=00dd00
clid_font_size=14
clid_centered=0
clid_font_family=Verdana
clid_margin_top=0
clid_margin_left=38

; Settings for the timer
timer_font_color=4000ff
timer_font_size=12
timer_font_family=Verdana
timer_margin_top=40
timer_margin_left=38
timer_extent_x=100
timer_extent_y=0
in alternativa potete scaricare direttamente il file
cd /var/www/html/panel
wget http://www.sfs.it/downloads/asterisk_stuff/op_style.cfg
chmod 666 op_style.cfg
chown asterisk:asterisk op_style.cfg

 contiene le impostazioni del pannello, come se visualizzare o meno i clid dei chiamanti e i bottoni in alto dello stesso, e` abbastanza autoesplicativo.

Dopo aver impostato tutto dovete far ricaricare le impostazioni alla vostra trixbox e avrete il pannello dell'immagine. 

 

Ultimo aggiornamento (Sabato 30 Aprile 2011 16:22)

 

Aggiungi commento


Codice di sicurezza
Aggiorna