I am working on a new system that I migrated some stuff from old computer, so this is likely because of that process, but I would like to get some help/pointers on how to solve this.
On a side note, I didn't migrate any FOP2 files, FOP2 is a fresh install, but I did migrate the settings via FreePBX gui.
On the old working system, If i press *79 or *78 FOP2 shows that I have turned DND on/off. On the new phone systems, It took me a while to figure out FOP2 wasn't working when I hit available, and that I default to DND, I had to hit *79 and then I got calls inbound. (I was very happy at this moment!), but now I need to fix the issue of being able to hit DND/Available in FOP2 and have it correctly change that attribute in the phone systems so phones do or don't ring according to FOP2 status.
Any pointers to get me started?
1st thing I did was change FOP2 from running as user [admin] (I had 2 users [admin] with different permissions], FOP2 now runs under fop2 based on the following and has read/write = all permissions. Beyond that, not sure what I need to do, thanks in advance!
[root@node2 ~]# cat /usr/local/fop2/fop2.cfg
[general] ; AMI definitions manager_host=localhost manager_port=5038 manager_user=fop2 manager_secret=amp111 ;event_mask=agent,call,command,system,user,dialplan
[root@node2 ~]# cat /etc/asterisk/manager.conf
[fop2] secret = amp111 ;deny = 0.0.0.0/0.0.0.0 ;deny=192.168.1.1/32 ;permit = 127.0.0.1/255.255.255.0 permit=0.0.0.0/0.0.0.0 read = all write = all writetimeout = 1000 eventfilter=!Event: RTCP* eventfilter=!Event: VarSet eventfilter=!Event: Cdr eventfilter=!Event: DTMF eventfilter=!Event: AGIExec eventfilter=!Event: ExtensionStatus eventfilter=!Event: ChannelUpdate eventfilter=!Event: ChallengeSent eventfilter=!Event: SuccessfulAuth