Flash Operator Panel: Difference between revisions
No edit summary |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= What is FOP? = | = What is FOP? = | ||
See [[Flash_Operator_Panel_2_(FOP2)|FOP2]]<br><br> | |||
Flash Operator Panel is a switchboard type application for the Asterisk PBX. It runs on a web browser with the flash plugin. It is able to display information about your PBX activity in real time. The layout is configurable (button sizes and colors, icons, etc). You can have more than 100 buttons active per screen. It also supports contexts: you can have one server running and many different client displays (for hosted PBX, different departments, etc). It can integrate with CRM software, by poping up a web page (and passing the CLID) when a specified button is ringing. | Flash Operator Panel is a switchboard type application for the Asterisk PBX. It runs on a web browser with the flash plugin. It is able to display information about your PBX activity in real time. The layout is configurable (button sizes and colors, icons, etc). You can have more than 100 buttons active per screen. It also supports contexts: you can have one server running and many different client displays (for hosted PBX, different departments, etc). It can integrate with CRM software, by poping up a web page (and passing the CLID) when a specified button is ringing. | ||
Line 31: | Line 32: | ||
== Download and extract the package == | == Download and extract the package == | ||
<pre> | <pre> | ||
cd / | cd /opt | ||
wget http://www.asternic.org/files/op_panel- | wget http://www.asternic.org/files/op_panel-snapshot.tar.gz | ||
tar zxvf op_panel- | tar zxvf op_panel-snapshot.tar.gz | ||
cd op_panel- | rm -f op_panel-snapshot.tar.gz | ||
cd op_panel-snapshot | |||
mkdir /var/www/html/panel | mkdir /var/www/html/panel | ||
cp flash/* /var/www/html/panel | cp flash/* /var/www/html/panel | ||
Line 59: | Line 61: | ||
== Configuring Access to Asterisk == | == Configuring Access to Asterisk == | ||
Edit the file | Edit the file '''/opt/op_panel-snapshot/op_server.cfg''' and enter the appropriate detials | ||
<pre> | <pre> | ||
manager_host=127.0.0.1 | manager_host=127.0.0.1 | ||
Line 69: | Line 71: | ||
== Setting the FOP Button Sizes == | == Setting the FOP Button Sizes == | ||
The default button layout is appropriate for about 15 buttons. If you have more than 15 buttons the below configuration is a good starting point.<br> | The default button layout is appropriate for about 15 buttons. If you have more than 15 buttons the below configuration is a good starting point.<br> | ||
<b>/usr/src/op_panel-0. | <b>/usr/src/op_panel-0.30/op_style.cfg</b> | ||
<pre> | <pre> | ||
[general] | [general] | ||
Line 200: | Line 202: | ||
== Configuring FOP Buttons == | == Configuring FOP Buttons == | ||
The last item you need to do is to say what buttons you want diaplyed.<br> | The last item you need to do is to say what buttons you want diaplyed.<br> | ||
edit the file <b>/usr/src/op_panel-0. | edit the file <b>/usr/src/op_panel-0.30/op_buttons.cfg</b><br> | ||
Example | Example | ||
<pre> | <pre> | ||
Line 259: | Line 261: | ||
Add the following line. | Add the following line. | ||
<pre> | <pre> | ||
/ | /opt/op_panel-snapshot/op_server.pl -d | ||
</pre> | </pre> | ||
Latest revision as of 03:13, 17 May 2012
What is FOP?
See FOP2
Flash Operator Panel is a switchboard type application for the Asterisk PBX. It runs on a web browser with the flash plugin. It is able to display information about your PBX activity in real time. The layout is configurable (button sizes and colors, icons, etc). You can have more than 100 buttons active per screen. It also supports contexts: you can have one server running and many different client displays (for hosted PBX, different departments, etc). It can integrate with CRM software, by poping up a web page (and passing the CLID) when a specified button is ringing.
You can see at a glance
- What extensions are busy, ringing or available
- Who is talking and to whom (clid, context, priority)
- SIP and IAX registration status and reachability
- Meetme room status (number of participants)
- Queue status (number of users waiting)
- Message Waiting Indicator and count
- Parked channels
- Logged in Agents
You can perform these actions
- Hang-up a channel
- Transfer a call leg via drag&drop
- Originate calls via drag&drop
- Barge in on a call using drag&drop
- Set the caller id when transferring or originating a call
- Automatically pop up web page with customer details
- Click-to-Dial from a web page
- Mute/Unmute meetme participants
It has two parts: a server writen in PERL, and the flash client. It was tested and its known to work under Windows, Mac and Linux browsers.
Installation
Download and extract the package
cd /opt wget http://www.asternic.org/files/op_panel-snapshot.tar.gz tar zxvf op_panel-snapshot.tar.gz rm -f op_panel-snapshot.tar.gz cd op_panel-snapshot mkdir /var/www/html/panel cp flash/* /var/www/html/panel
Allowing Access to Asterisk
Edit the file /etc/asterisk/manager.conf
In the [general] section make sure
enable=yes
Next you need to create a username and password that FOP will use to access Asterisk. In the example below change username and password to your preferred username and password.
Edit the file /etc/asterisk/manager.conf
[username] secret = password deny=0.0.0.0/0.0.0.0 permit=127.0.0.1/255.255.255.0 read = system,call,log,verbose,command,agent,user write = system,call,log,verbose,command,agent,user
Configuring Access to Asterisk
Edit the file /opt/op_panel-snapshot/op_server.cfg and enter the appropriate detials
manager_host=127.0.0.1 manager_port=5038 manager_user=username manager_secret=password
Setting the FOP Button Sizes
The default button layout is appropriate for about 15 buttons. If you have more than 15 buttons the below configuration is a good starting point.
/usr/src/op_panel-0.30/op_style.cfg
[general] ; Fade out buttons for state dimm_noregister_by=20 dimm_lagged_by=60 ; Fade mwi when no mail is waiting nomail_alpha=3 ; If enabled, the phone will shake/ring enable_animation=1 ; Pixels to use on the ringing animtion shake_pixels=2 ; Show borders around text labels, useful for debugin style show_borders=0 ; If set, the label backdround will change to the led state color enable_label_background=0 ; set to 1 for encrypting server to client communications enable_crypto=0 ; use the font embeded in the flash movie instead of system fonts use_embed_fonts=1 ; colors for led states ledcolor_ready=0x00A000 ledcolor_busy=0xA01020 ledcolor_agent=0xD0d020 ledcolor_paused=0x000000 ; Settings for the button (rectangle) btn_width=245 btn_height=40 btn_padding=4 btn_line_width=2 btn_line_color=0x000000 btn_fadecolor_1=ccccff btn_fadecolor_2=ffffff btn_round_border=8 btn_highlight_color=ff0000 ; Settings affecting the button label label_font_size=14 label_font_family=Verdana ; only valid when use_embed_fonts is disabled label_font_color=000000 label_shadow_color=dddddd label_margin_top=18 label_margin_left=38 label_shadow=1 label_extent_x=10 ; 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=13 clid_centered=1 clid_font_family=Verdana clid_margin_top=0 clid_margin_left=25 ; Settings for the timer timer_font_color=4000ff timer_font_size=13 timer_font_family=Courier timer_margin_top=22 timer_margin_left=184 ; Settings for the oval led led_scale=90 led_margin_top=20 led_margin_left=18 ; Settings for the arrow arrow_scale=70 arrow_margin_top=10 arrow_margin_left=10 ; Settings for MWI Icon mail_margin_left=-23 mail_margin_top=13 mail_scale=9 ; Settings for icons icon1_margin_top=15 icon1_margin_left=-25 icon1_scale=9 icon2_margin_top=13 icon2_margin_left=-27 icon2_scale=9 icon3_margin_top=15 icon3_margin_left=-25 icon3_scale=8 icon4_margin_top=33 icon4_margin_left=-34 icon4_scale=16 icon5_margin_top=15 icon5_margin_left=-25 icon5_scale=8 icon6_margin_top=32 icon6_margin_left=-33 icon6_scale=16 ; Settings for Status Bar at the top show_security_code=1 show_clid_info=0 show_btn_help=3 show_btn_debug=0 show_btn_reload=2 show_status=4 ;[sip] ; You can have different styles per panel context ; You need to copy all the variables, they will not be ; inherited. If you fail to include an option the flash ; client migth hang. So, copy the complete [general] ; section an change the header to the panel context name. ; Then adjust the parameters to your liking.
Configuring FOP Buttons
The last item you need to do is to say what buttons you want diaplyed.
edit the file /usr/src/op_panel-0.30/op_buttons.cfg
Example
[SIP/2001] Position=2 Label="2001 Billy Bob" Extension=2001 Context=internal Icon=2 VoiceMailExt=3001@internal GroupCount=1 [Zap/1] Position=n Label="Channel 1" Extension=-1 Icon=2 [Zap/2] Position=n Label="Channel 2" Extension=-1 Icon=2 [PARK/701] Position=38 Icon=3 Extension=700 Label="Park 701" [PARK/702] Position=n Icon=3 Extension=700 Label="Park 702" [IAX2/priv] Position=43-45 Label="DUNDi inbound" Extension=-1 Icon=1 [_IAX2/192.168.*] Position=46-48 Label="DUNDi outbound" Extension=-1 Icon=1
Linux WEB Services
Make sure that your WEB service is set to start on system boot.
chkconfig --levels 2345 httpd on
Automatic Starting of FOP on Boot
Lastly edit /etc/rc.d/rc.local so the Operator Panel starts at system boot.
Add the following line.
/opt/op_panel-snapshot/op_server.pl -d
Product Documentation
The full installation manual is avaiable from http://www.asternic.org/documentation.html