Tags
Asterisk Dubai, asterisk flash operator panel, Asterisk UAE, elastix, Elastix fop1 to fop2, elastix+FOP2, Flash Operator Panel, fop1 to fop2, FOP2, fop2 installation, IP Phones Dubai, VoIP Dubai, voip uae
How to change FOP1 to FOP2 on Elastix
1. Download and install FOP2
cd /usr/src wget http://www.fop2.com/file.php?file=20 tar -zxvf fop2-2.22-centos5-i386.tgz cd fop2 make && make install
2. Add fop2 user to Asterisk Manager.
Edit /etc/asterisk/manager.conf
[fop2] secret = psfop2 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 write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
3. Edit /usr/localfop2/fop2.cfg and change the following lines.
manager_user=fop2 manager_secret=psfop2
4.Edit /etc/amportal.conf and edit the uncomment the line starting FOPRUN and change it as following.
FOPRUN=false
5. Edit /var/www/html/panel/op_server.cfg and change listen_port.
listen_port=4444
6. Edit /etc/httpd/conf/httpd.conf and add the following line under Aliases:
alias /panel /var/www/html/fop2
7. Add FreePBX index file and change the fop2 ownership asterisk.
cp /var/www/html/fop2/index.html /var/www/html/fop2/index_amp.php chown -R asterisk.asterisk /var/www/html/fop2
8. Restart httpd,amportal and fop2 services.
/etc/init.d/httpd restart chkconfig fop2 on service fop2 start /usr/sbin/amportal restart