<?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[DND Broken since installing 2.31.21]]></title><description><![CDATA[<p dir="auto">Here is a pastebin of the install.<br />
<a href="https://pastebin.com/QaiEN50B" rel="nofollow ugc">https://pastebin.com/QaiEN50B</a></p>
<p dir="auto">FreePBX 14, fully updated.<br />
Installed 2.31.21 over the top of whatever version I had. 2.31.??<br />
When I hit *79 from a phone this is what I get</p>
<pre><code>$ grep C-00000002 /var/log/asterisk/full
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [*79@from-internal:1] Macro("PJSIP/103-00000001", "user-callerid,") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:1] Set("PJSIP/103-00000001", "TOUCH_MONITOR=1549920463.2") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:2] Set("PJSIP/103-00000001", "AMPUSER=103") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("PJSIP/103-00000001", "0?report") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("PJSIP/103-00000001", "1?Set(REALCALLERIDNUM=103)") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:5] Set("PJSIP/103-00000001", "AMPUSER=103") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("PJSIP/103-00000001", "0?limit") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:7] Set("PJSIP/103-00000001", "AMPUSERCIDNAME=Jared Busch") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:8] ExecIf("PJSIP/103-00000001", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:9] GotoIf("PJSIP/103-00000001", "0?report") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:10] Set("PJSIP/103-00000001", "AMPUSERCID=103") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:11] Set("PJSIP/103-00000001", "__DIAL_OPTIONS=Ttr") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:12] Set("PJSIP/103-00000001", "CALLERID(all)="Jared Busch" &lt;103&gt;") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:13] GotoIf("PJSIP/103-00000001", "0?limit") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:14] ExecIf("PJSIP/103-00000001", "0?Set(GROUP(concurrency_limit)=103)") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:15] ExecIf("PJSIP/103-00000001", "0?Set(CHANNEL(language)=)") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:16] NoOp("PJSIP/103-00000001", "Macro Depth is 1") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:17] GotoIf("PJSIP/103-00000001", "1?report2:macroerror") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx_builtins.c: Goto (macro-user-callerid,s,18)
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:18] GotoIf("PJSIP/103-00000001", "0?continue") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:19] ExecIf("PJSIP/103-00000001", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:20] Set("PJSIP/103-00000001", "__TTL=64") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:21] GotoIf("PJSIP/103-00000001", "1?continue") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx_builtins.c: Goto (macro-user-callerid,s,37)
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:37] Set("PJSIP/103-00000001", "CALLERID(number)=103") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:38] Set("PJSIP/103-00000001", "CALLERID(name)=Jared Busch") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:39] GotoIf("PJSIP/103-00000001", "0?cnum") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:40] Set("PJSIP/103-00000001", "CDR(cnam)=Jared Busch") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:41] Set("PJSIP/103-00000001", "CDR(cnum)=103") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-user-callerid:42] Set("PJSIP/103-00000001", "CHANNEL(language)=en") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [*79@from-internal:2] Set("PJSIP/103-00000001", "CHAN=PJSIP/103") in new stack
[2019-02-11 15:27:43] WARNING[12951][C-00000002] pbx.c: No application 'dbDel' for extension (from-internal, *79, 3)
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Spawn extension (from-internal, *79, 3) exited non-zero on 'PJSIP/103-00000001'
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [h@from-internal:1] Macro("PJSIP/103-00000001", "hangupcall") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("PJSIP/103-00000001", "1?theend") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("PJSIP/103-00000001", "0?Set(CDR(recordingfile)=)") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-hangupcall:4] NoOp("PJSIP/103-00000001", " monior file= ") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-hangupcall:5] AGI("PJSIP/103-00000001", "attendedtransfer-rec-restart.php,,") in new stack
[2019-02-11 15:27:43] VERBOSE[12951][C-00000002] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2019-02-11 15:27:44] VERBOSE[12951][C-00000002] res_agi.c: &lt;PJSIP/103-00000001&gt;AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2019-02-11 15:27:44] VERBOSE[12951][C-00000002] pbx.c: Executing [s@macro-hangupcall:6] Hangup("PJSIP/103-00000001", "") in new stack
[2019-02-11 15:27:44] VERBOSE[12951][C-00000002] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'PJSIP/103-00000001' in macro 'hangupcall'
[2019-02-11 15:27:44] VERBOSE[12951][C-00000002] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/103-00000001'
</code></pre>
<p dir="auto">When I show the dialplan, it seems to clearly be a problem with FOP2</p>
<pre><code>jbusch@pbx html]$ sudo asterisk -x 'dialplan show *79@from-internal'
[sudo] password for jbusch: 
[ Included context 'app-dnd-off' created by 'pbx_config' ]
  '*79' =&gt;          1. Macro(user-callerid,)                      [extensions_override_fop2.conf:189]
                    2. Set(CHAN=${CUT(CHANNEL,-,1)})              [extensions_override_fop2.conf:191]
                    3. dbDel(fop2state/${CHAN})                   [extensions_override_fop2.conf:192]
                    4. UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: ) [extensions_override_fop2.conf:193]
                    5. Set(CONNECTEDLINE(name-charset,i)=utf8)    [extensions_override_fop2.conf:195]
                    6. Set(CONNECTEDLINE(name,i)=Do Not Disturb: OFF) [extensions_override_fop2.conf:196]
                    7. Set(CONNECTEDLINE(num,i)=${AMPUSER})       [extensions_override_fop2.conf:197]
                    8. Answer()                                   [extensions_override_fop2.conf:198]
                    9. Wait(1)                                    [extensions_override_fop2.conf:199]
                    10. Noop(Deleting: DND/${AMPUSER} ${DB_DELETE(DND/${AMPUSER})}) [extensions_override_fop2.conf:200]
                    11. Set(STATE=NOT_INUSE)                      [extensions_override_fop2.conf:201]
                    12. Gosub(app-dnd-off,sstate,1())             [extensions_override_fop2.conf:202]
     [hook_1]       13. Playback(do-not-disturb&amp;de-activated)     [extensions_override_fop2.conf:203]
                    14. Macro(hangupcall,)                        [extensions_override_fop2.conf:204]

-= 1 extension (14 priorities) in 1 context. =-
</code></pre>
]]></description><link>http://localhost:4567/topic/2696/dnd-broken-since-installing-2.31.21</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 03:13:54 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/2696.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Feb 2019 02:46:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to DND Broken since installing 2.31.21 on Thu, 04 Apr 2019 16:56:48 GMT]]></title><description><![CDATA[<p dir="auto">Looks like it was removed in Asterisk 16 for certain. As soon as I updated to that from 13 it broke.</p>
]]></description><link>http://localhost:4567/post/11449</link><guid isPermaLink="true">http://localhost:4567/post/11449</guid><dc:creator><![CDATA[JaredBusch]]></dc:creator><pubDate>Thu, 04 Apr 2019 16:56:48 GMT</pubDate></item><item><title><![CDATA[Reply to DND Broken since installing 2.31.21 on Wed, 06 Mar 2019 16:56:59 GMT]]></title><description><![CDATA[<p dir="auto">We are seeing the same issue. deDel has been depreciated since Asterisk 1.4 and has now been removed from Asterisk.</p>
<p dir="auto">Per documentation the replacement is DB_DELETE. the syntax is different.</p>
<p dir="auto">Edit: /etc/asterisk/extensions_override_fop2.conf<br />
Around line 192 and 267 replace dbDel with DB_DELETE.<br />
192: exten =&gt; *79,n,Noop(${DB_DELETE(fop2state/${CHAN})})<br />
267: exten =&gt; *76,n,Noop(${DB_DELETE(fop2state/${CHAN})})</p>
<p dir="auto">Gary Herbstman<br />
For additional details see this KB: <a href="https://www.bytesolutions.com/asterisk-freepbx-fop2-error-disabling-do-not-disturb-dnd/" rel="nofollow ugc">https://www.bytesolutions.com/asterisk-freepbx-fop2-error-disabling-do-not-disturb-dnd/</a></p>
]]></description><link>http://localhost:4567/post/11448</link><guid isPermaLink="true">http://localhost:4567/post/11448</guid><dc:creator><![CDATA[gherbstman]]></dc:creator><pubDate>Wed, 06 Mar 2019 16:56:59 GMT</pubDate></item><item><title><![CDATA[Reply to DND Broken since installing 2.31.21 on Thu, 28 Feb 2019 17:59:28 GMT]]></title><description><![CDATA[<p dir="auto">I'm having the same issue under the same version of Asterisk.</p>
]]></description><link>http://localhost:4567/post/11447</link><guid isPermaLink="true">http://localhost:4567/post/11447</guid><dc:creator><![CDATA[rnrstar]]></dc:creator><pubDate>Thu, 28 Feb 2019 17:59:28 GMT</pubDate></item><item><title><![CDATA[Reply to DND Broken since installing 2.31.21 on Tue, 12 Feb 2019 02:49:20 GMT]]></title><description><![CDATA[<p dir="auto">Looking at /etc/asterisk/extensions_override_fop2.conf proves this is a FOP2 issue.</p>
<pre><code>[app-dnd-off]
include =&gt; app-dnd-off-custom
exten =&gt; *79,1,Macro(user-callerid,)
; added for fop2
exten =&gt; *79,n,Set(CHAN=${CUT(CHANNEL,-,1)})
exten =&gt; *79,n,dbDel(fop2state/${CHAN})
exten =&gt; *79,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: )
; end fop2 addition
exten =&gt; *79,n,Set(CONNECTEDLINE(name-charset,i)=utf8)
</code></pre>
]]></description><link>http://localhost:4567/post/11446</link><guid isPermaLink="true">http://localhost:4567/post/11446</guid><dc:creator><![CDATA[JaredBusch]]></dc:creator><pubDate>Tue, 12 Feb 2019 02:49:20 GMT</pubDate></item></channel></rss>