5

IP Asterisk FOP2 (Flash Operator Panel 2) . real-time ( ) , , , , . , FOP2 , , , , ( ) .

/p>

(, - , ). . , ? .



CentOS 6. , :

! , make. , yum -y install make .
uname -m
  • i686 - 32 ;
  • x86_64 - 64 ;

, . cd /usr/src.

32- :

wget http://www.fop2.com/download/centos32 -O fop2.tgz

64- :

wget http://www.fop2.com/download/centos64 -O fop2.tgz

:

tar zxvf fop2.tgz
cd fop2

, , :

make install

AMI

FOP2 /usr/local/fop2/fop2.cfg. AMI (Asterisk Management Interface). , FOP2. , /etc/asterisk/manager.conf:

vim /etc/asterisk/manager.conf 

fop2 :

[fop2]
secret = _(  )
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,config,command,dtmf,reporting,cdr,dialplan,originate,message
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
writetimeout = 500
 
 AMI  Asterisk  FOP2

( AMI):

[root@asterisk ~]# asterisk -rx "manager reload"

FOP2:

vim /usr/local/fop2/fop2.cfg

manager_user manager_secret . :

 FOP2  Asterisk

. FOP2 AMI. :

/usr/local/fop2/fop2_server --test

, :

  Flash Operator Panel 2

FOP2 :

[root@asterisk ~]# service fop2 start
Starting Flash Operator Panel 2:                           [  OK  ]

, FOP2 , :

wget -O - http://download.fop2.com/install_fop2.sh | bash

, . , http://_/fop2/admin, http://_/fop2.


WEB

FOP2. , URL http://IP-/fop2/admin/:

    Flash Operator Panel 2

FreePBX, . , FOP2 (FOP2 Server Status: OK Version: 2.31.08):

  Flash Operator Panel 2

. , Users. , Asterisk. . - Secret, :

   Flash Operator Panel 2

http://IP-/fop2 :

     Flash Operator Panel 2

, . , :)

  FOP2  Asterisk

, , (http://IP-/fop2). One moment please .

  FOP2 | One moment please

:

  • , FOP2. ps -uax | grep fop2
    1. :
      • iptables. iptables -vnL INPUT:
        1. 2
          • → iptables , 4445 TCP sudo iptables -I INPUT -p tcp -m tcp --dport 4445 -j ACCEPT
        2. 2
          • FOP2 ( LAN)?
              • → . Google Chrome. .
              • → . , tcp 4454.
      • , FOP. netstat -lnp | grep 444
      1. .
        • service fop2 start
      2. .
        • FOP2 CLI /usr/local/fop2/fop2_server -X 15 service fop2 start
          1. FOP2 was unable to find an eth0 interface...
            • → eth0. eth1, /etc/sysconfig/fop2 OPTIONS="-d -i eth1". , NIC, eth1 . FOP2 service fop2 start
          2. Segmentation Fault
            • → ssl yum. , yum install openssl098e . , service fop2 start

50% Merion Academy