FOP2 Not Changing DND for "real"
-
Good Afternoon,
I posted this question a while back, but since then, I have started fresh and am facing the same issue.
http://forum.fop2.com/4272-fop2-not-changing-dnd-status since its been so long, and its a new setup, I'm posting again.
When I change DND via *79/*78 and call from another phone it respects the status change.
In FOP2 when I press *79/*78, the icon changes immedatley to DND/Available.
On the CLI when I change to DND in FOP2, I can see it set it in the FOP2DB.
root@node1:~ $ asterisk -rx "database show fop2state" | grep 847 /fop2state/USER/847 : Do not DisturbAnd then it goes away after I set to available, and also shows Out To Lunch correctly. BUT, when I set myself to DND in FOP2, my phone still rings, and basically, nothing I do with the FOP2 Drop down menu works. But it all shows correctly in FOP2.
Here are some configs from the test setup.
root@node1:~ $ cat /usr/local/fop2/fop2.cfg[general] ; AMI definitions ;PULLED FROM PREV SERVER manager_host=localhost manager_port=5038 ;manager_user=fop2 manager_user=fop2 manager_secret=fop222 ;manager_secret=fop222 ;event_mask=agent,call,command,system,user,dialplan ;[general] ; AMI definitions ;AUTO GENERATED ;manager_host=localhost ;manager_port=5038 ;manager_user=admin ;manager_secret=amp111 ;event_mask=agent,call,command,system,user,dialplanroot@node1:~ $ cat /etc/asterisk/manager.conf[admin] 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 = 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 [fop2] secret = fop222 ;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: SuccessfulAuthI have tried all variations of the above I can think off and also tried running the below code multiple times + rebooting the server.
/usr/local/fop2/generate_override_contexts.pl -wCan you point me how to Debug this further? What combination of the above configs should I use? And if I pick one, do I need to update the DB Permissions/PWD accordingly?
Appreciate your help, love the program!
-
This is blocking our company upgrade to new phone servers

-
Well I feel dumb, just a piece of advice I should have taken myself, never forget to troubleshoot the basic! I needed to install FOP2 DND Presence Plugin :), now all works as expected.
-
-
As a side not, you cannot have both the presence dnd and the presence pause (to use presence to pause a queue member) at the same time. Well, you can do it, but then you might end up with incorrect visual status display as one element cannot reflect more than one state (pause +- dnd).
So be sure NOT to install the presence pause plugin.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login