Member
Last active 15 years ago
With the fop2.tgz found on http://www.fop2.com/downloads.
In /var/www/html/panel/op_server.cfg I have
listen_port=4446
When I do a netstat -an | grep 444 I only see :
tcp 0 0 0.0.0.0:4445 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:4446 0.0.0.0:* LISTEN
So fop1 is really listening on the port 4446 and fop2 on the port 4445.
I only do a /usr/local/fop2/fop2_server restart after modification of the file buttons.cfg.
My fop2.cfg is :
[general] ; AMI definitions manager_host=localhost manager_port=5038 manager_user=fop2 manager_secret=fop2 ;event_mask=call,agent ; Daemon definitios ;listen_port = 4445 ;restrict_host = www.asternic.org ;web_dir = /var/www/html/operator/fop2 ; Global Config language = en poll_interval = 86400 poll_voicemail = 1 monitor_ipaddress = 0 ; Force blind transfer on asterisk 1.6 blind_transfer = 1 ; Master Password that overrides any individual one master_key = 5678 ; --- SAMPLE USER LIST --- user=701:1234:all user=704:1234:all ;user=620:1234:all ;user=621:1234:all ;user=622:1234:all ;user=623:1234:meetme buttonfile=buttons.cfg ; ------ END SAMPLE ------ ; This line is NOT commented, it executes ; the autoconfig configuration for FreePBX ;#exec autoconfig-users-freepbx.sh
I just try the command fop2_server restart on a new installation and it's the same.
So, when I need to restart fop2 I do
ps ax | grep fop2 kill fop2_pid fop2_server --start &
My installations are registered.
Strange ...
BR
Fine. It is running :D
I find a problem I think. When I do a restart, or a start, or a stop it says : Can't listen to port 4445.
So I kill the process and do a "restart". Now, it never achieves the restart.
I suppose it is an error of manipulation. Isn't it ?
BR
Hi,
I'm using a CentOS release 5.3 (32 bits version) and I have the same problem.
So, I download the 2 files. but the fop2_server is for x86-64 and not x86_32.
Can you help me ?