Flash Operator Panel 2 (FOP2): Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
FOP2 has replaced [[Flash_Operator_Panel]] version 1.<br>
FOP2 has replaced [[Flash_Operator_Panel | Flash Operator Panel]] version 1.<br>
Download FOP2.  Offical documentation can be found [http://www.fop2.com/documentation.php here]
Download FOP2.  Offical documentation can be found [http://www.fop2.com/documentation.php here]
<pre>
<pre>
Line 54: Line 54:
</pre>
</pre>


Satrt the FOP2 Service
Start the FOP2 Service
<pre>
<pre>
service fop2 start
service fop2 start

Latest revision as of 03:13, 17 May 2012

FOP2 has replaced Flash Operator Panel version 1.
Download FOP2. Offical documentation can be found here

cd /usr/src
wget http://www.fop2.com/file.php?file=21
tar -xvf fop2-2.26-centos5-x86_64.tgz
rm -f fop2-2.26-centos5-x86_64.tgz
make install

Currently CentOS 6.x is currently not supported. To make FOP2 work on CentOS 6.x make the following link

ln -s /usr/lib64/libcrypto.so.10 /usr/lib64/libcrypto.so.6

Edit the fop2.cfg configuration file.

vi /usr/local/fop2/fop2.cfg

Ensure that the username and password set in fop2.cfg are the same as what is configured is Asterisk manager.conf.

Example of fop2.cfg

[general]
; AMI definitions
manager_host = 127.0.0.1
manager_port = 5038
manager_user = fop2user
manager_secret = MySecret

Example of manager.conf

[general]
enabled = yes
port = 5038
bindaddr = 127.0.0.1

[fop2user]
secret = MySecret
deny = 0.0.0.0/0.0.0.0
permit = 127.0.0.1/255.255.255.0
read = system,call,command,agent,user,originate
write = system,call,command,agent,user,originate


Let's create a new file for all of our button configurations.
vi /usr/local/fop2/fop2.cfg
At the end of the insert the following line

buttonfile=my-buttons.conf

Start the FOP2 Service

service fop2 start


Test connectivity

/usr/local/fop2/fop2_server --test