<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[FOP2 not changing DND status]]></title><description><![CDATA[<p dir="auto">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.</p>
<p dir="auto">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.</p>
<p dir="auto">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.</p>
<p dir="auto">Any pointers to get me started?</p>
<p dir="auto">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!</p>
<pre><code>[root@node2 ~]# cat /usr/local/fop2/fop2.cfg
</code></pre>
<pre><code>[general]
; AMI definitions
manager_host=localhost
manager_port=5038
manager_user=fop2
manager_secret=amp111
;event_mask=agent,call,command,system,user,dialplan
</code></pre>
<pre><code>[root@node2 ~]# cat /etc/asterisk/manager.conf
</code></pre>
<pre><code>[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
</code></pre>
]]></description><link>http://localhost:4567/topic/2296/fop2-not-changing-dnd-status</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 02:23:58 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/2296.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 16 Jul 2016 17:31:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FOP2 not changing DND status on Fri, 02 Feb 2024 00:18:15 GMT]]></title><description><![CDATA[<p dir="auto">I am having some difficulty with this, although possibly because we are using FOP2 on a separate server. I did follow these instructions, also running the command<br />
/usr/local/fop2/generate_override_contexts.pl -w<br />
I can see the extensions change status to DND within the extension settings report in FreePBX.<br />
However, users are still able to make calls using the dialer or with click to call, which requires an incoming call, and we do not want that to work when presence is set to anything other than available. How can this be done?</p>
]]></description><link>http://localhost:4567/post/10068</link><guid isPermaLink="true">http://localhost:4567/post/10068</guid><dc:creator><![CDATA[sigmarelocation]]></dc:creator><pubDate>Fri, 02 Feb 2024 00:18:15 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 not changing DND status on Tue, 10 Jan 2017 01:17:05 GMT]]></title><description><![CDATA[<p dir="auto">And to check if its working, for FREEPBX check if the DND entry is set:</p>
<p dir="auto">asterisk -rx "database show DND" | grep 847</p>
]]></description><link>http://localhost:4567/post/10067</link><guid isPermaLink="true">http://localhost:4567/post/10067</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 10 Jan 2017 01:17:05 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 not changing DND status on Tue, 10 Jan 2017 01:15:20 GMT]]></title><description><![CDATA[<p dir="auto">Just wanted to link posts, but really, in another post I read, I found a good tip to check if its "working" which is</p>
<pre><code>root@node1:~ $ asterisk -rx "database show fop2state" | grep 847
/fop2state/USER/847                               : Do not Disturb
</code></pre>
<p dir="auto">Here is my second post Re same thing, figured I'd like them..</p>
<p dir="auto"><a href="http://forum.fop2.com/4442-fop2-not-changing-dnd-for-real" rel="nofollow ugc">http://forum.fop2.com/4442-fop2-not-changing-dnd-for-real</a></p>
<p dir="auto"><strong>Solution:</strong></p>
<p dir="auto">Install DND Presence Plugin in FOP2</p>
]]></description><link>http://localhost:4567/post/10066</link><guid isPermaLink="true">http://localhost:4567/post/10066</guid><dc:creator><![CDATA[FreeSoftwareServers]]></dc:creator><pubDate>Tue, 10 Jan 2017 01:15:20 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 not changing DND status on Sat, 16 Jul 2016 19:40:23 GMT]]></title><description><![CDATA[<p dir="auto">I believe I already did that, but I will do it again, no harm right?</p>
<p dir="auto">Regardless, I think I fixed the issue, We use Device and User mode, and when I pulled over the Tarball with our settings, it didn't implement some of the functions. I went to Advanced Settings and changed it to Extensions mode, then back to Device and Users and hit apply, this seems to have resolved the problem, when I hit *79/*78 FOP2 changed its status. I still need to test with real outbound/inbound calling, but I can't ATM (We are open 4 business), but I think its fixed! If it is fixed, I will come back and mark as solved.</p>
<p dir="auto">Thanks for your quick reply.</p>
]]></description><link>http://localhost:4567/post/10065</link><guid isPermaLink="true">http://localhost:4567/post/10065</guid><dc:creator><![CDATA[FreeSoftwareServers]]></dc:creator><pubDate>Sat, 16 Jul 2016 19:40:23 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 not changing DND status on Sat, 16 Jul 2016 18:05:49 GMT]]></title><description><![CDATA[<p dir="auto">You must create override macros for FreePBX to make DND and other feature codes signal FOP2:</p>
<p dir="auto">/usr/local/fop2/generate_override_contexts.pl -w</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/10064</link><guid isPermaLink="true">http://localhost:4567/post/10064</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Sat, 16 Jul 2016 18:05:49 GMT</pubDate></item></channel></rss>