<?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[No DND status after service reboot]]></title><description><![CDATA[<p dir="auto">FOP 2.24 license<br />
Centos 64<br />
Asterisk 1.8<br />
Freepbx 2.7 and 2.9<br />
after service fop2 restart ..fop doesn't show DND status.. But I can see</p>
<p dir="auto">CLI: database show</p>
<p dir="auto">/DND/0032                                         : YES<br />
/DND/0310                                         : YES<br />
/DND/0327                                         : YES<br />
/DND/0330                                         : YES<br />
/DND/0351                                         : YES<br />
/DND/8000                                         : YES</p>
<p dir="auto">/fop2state/SIP/0075                               : Do not Disturb<br />
/fop2state/SIP/0310                               : Do not Disturb<br />
/fop2state/SIP/0311                               : Do not Disturb<br />
/fop2state/SIP/0327                               : Do not Disturb<br />
/fop2state/SIP/0330                               : Do not Disturb<br />
/fop2state/SIP/0351                               : Do not Disturb<br />
/fop2state/SIP/0503                               : Do not Disturb<br />
/fop2state/SIP/8000                               : Do not Disturb</p>
<p dir="auto">any help would be fine.</p>
]]></description><link>http://localhost:4567/topic/1659/no-dnd-status-after-service-reboot</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 11:37:25 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1659.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Dec 2013 08:01:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to No DND status after service reboot on Tue, 17 Dec 2013 12:07:24 GMT]]></title><description><![CDATA[<p dir="auto">You will have to replicate the feature code and change the reason:</p>
<p dir="auto">exten =&gt; 781,n,Set(DB(fop2state/USER/${AMPUSER})=<strong>Out to Lunch</strong>)<br />
exten =&gt; 781,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: USER/${AMPUSER},Value: <strong>Out to Lunch</strong>)</p>
<p dir="auto">Chose an extension that will not overlap with your current dialplan.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/7180</link><guid isPermaLink="true">http://localhost:4567/post/7180</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 17 Dec 2013 12:07:24 GMT</pubDate></item><item><title><![CDATA[Reply to No DND status after service reboot on Tue, 17 Dec 2013 03:47:54 GMT]]></title><description><![CDATA[<p dir="auto">Here is another question: How can user change his status to "Out to lunch" by future code?</p>
<p dir="auto">I read this message before posting  <a href="http://forum.fop2.com/esotalk/index.php/601" rel="nofollow ugc">View Post 601</a></p>
<p dir="auto">Probably we need put a code which is a simular to DND and CF codes, don't we?</p>
]]></description><link>http://localhost:4567/post/7179</link><guid isPermaLink="true">http://localhost:4567/post/7179</guid><dc:creator><![CDATA[sipk]]></dc:creator><pubDate>Tue, 17 Dec 2013 03:47:54 GMT</pubDate></item><item><title><![CDATA[Reply to No DND status after service reboot on Tue, 17 Dec 2013 02:42:40 GMT]]></title><description><![CDATA[<p dir="auto">/fop2state/SIP/0351                               : Do not Disturb<br />
/fop2state/SIP/0352                               : Do not Disturb<br />
/fop2state/SIP/0503                               : Do not Disturb<br />
/fop2state/USER/0352                              : Do not Disturb</p>
<p dir="auto">after service fop2 restart</p>
<p dir="auto">I see DND status on 0352..</p>
<p dir="auto">so ..it looks like everything is fine now..?!</p>
]]></description><link>http://localhost:4567/post/7178</link><guid isPermaLink="true">http://localhost:4567/post/7178</guid><dc:creator><![CDATA[sipk]]></dc:creator><pubDate>Tue, 17 Dec 2013 02:42:40 GMT</pubDate></item><item><title><![CDATA[Reply to No DND status after service reboot on Mon, 16 Dec 2013 13:01:41 GMT]]></title><description><![CDATA[<p dir="auto">Set some extension to DND and then run:</p>
<p dir="auto">asterisk -rx "database show fop2state"</p>
<p dir="auto">What is the output?</p>
]]></description><link>http://localhost:4567/post/7177</link><guid isPermaLink="true">http://localhost:4567/post/7177</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 16 Dec 2013 13:01:41 GMT</pubDate></item><item><title><![CDATA[Reply to No DND status after service reboot on Mon, 16 Dec 2013 07:48:44 GMT]]></title><description><![CDATA[<p dir="auto">source extensions_override_fop2.conf:</p>
<p dir="auto">[app-dnd-off]<br />
include =&gt; app-dnd-off-custom<br />
exten =&gt; 79,1,Answer<br />
exten =&gt; 79,n,Wait(1)<br />
exten =&gt; 79,n,Macro(user-callerid,)<br />
; added for fop2<br />
exten =&gt; 79,n,Set(CHAN=${CUT(CHANNEL,-,1)})<br />
exten =&gt; 79,n,dbDel(fop2state/${CHAN})<br />
exten =&gt; 79,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: )<br />
; end fop2 addition<br />
exten =&gt; 79,n,Noop(Deleting: DND/${AMPUSER} ${DB_DELETE(DND/${AMPUSER})})<br />
exten =&gt; 79,n,Set(STATE=NOT_INUSE)<br />
exten =&gt; 79,n,Gosub(app-dnd-off,sstate,1)<br />
exten =&gt; 79,n(hook_1),Playback(agent-loginok)<br />
exten =&gt; 79,n,Macro(hangupcall,)<br />
exten =&gt; sstate,1,Set(DEVICE_STATE(Custom:DND${AMPUSER})=${STATE})<br />
exten =&gt; sstate,n,Set(DEVICES=${DB(AMPUSER/${AMPUSER}/device)})<br />
exten =&gt; sstate,n,GotoIf($["${DEVICES}" = "" ]?return)<br />
exten =&gt; sstate,n,Set(LOOPCNT=${FIELDQTY(DEVICES,&amp;)})<br />
exten =&gt; sstate,n,Set(ITER=1)<br />
exten =&gt; sstate,n(begin),Set(DEVICE_STATE(Custom:DEVDND${CUT(DEVICES,&amp;,${ITER})})=${STATE})<br />
exten =&gt; sstate,n,Set(ITER=$[${ITER} + 1])<br />
exten =&gt; sstate,n,GotoIf($[${ITER} &lt;= ${LOOPCNT}]?begin)<br />
exten =&gt; sstate,n(return),Return()</p>
<p dir="auto">[app-dnd-on]<br />
include =&gt; app-dnd-on-custom<br />
exten =&gt; 78,1,Answer<br />
exten =&gt; 78,n,Wait(1)<br />
exten =&gt; 78,n,Macro(user-callerid,)<br />
; added for fop2<br />
exten =&gt; 78,n,Set(DB(DND/${AMPUSER})=YES)<br />
exten =&gt; 78,n,Set(CHAN=${CUT(CHANNEL,-,1)})<br />
exten =&gt; 78,n,Set(DB(fop2state/${CHAN})=Do not Disturb)<br />
exten =&gt; 78,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: Do not Disturb)<br />
; end fop2 addition<br />
exten =&gt; 78,n,Set(DB(DND/${AMPUSER})=YES)<br />
exten =&gt; 78,n,Set(STATE=BUSY)<br />
exten =&gt; 78,n,Gosub(app-dnd-on,sstate,1)<br />
exten =&gt; 78,n(hook_1),Playback(agent-loggedoff)<br />
exten =&gt; 78,n,Macro(hangupcall,)<br />
exten =&gt; sstate,1,Set(DEVICE_STATE(Custom:DND${AMPUSER})=${STATE})<br />
exten =&gt; sstate,n,Set(DEVICES=${DB(AMPUSER/${AMPUSER}/device)})<br />
exten =&gt; sstate,n,GotoIf($["${DEVICES}" = "" ]?return)<br />
exten =&gt; sstate,n,Set(LOOPCNT=${FIELDQTY(DEVICES,&amp;)})<br />
exten =&gt; sstate,n,Set(ITER=1)<br />
exten =&gt; sstate,n(begin),Set(DEVICE_STATE(Custom:DEVDND${CUT(DEVICES,&amp;,${ITER})})=${STATE})<br />
exten =&gt; sstate,n,Set(ITER=$[${ITER} + 1])<br />
exten =&gt; sstate,n,GotoIf($[${ITER} &lt;= ${LOOPCNT}]?begin)<br />
exten =&gt; sstate,n(return),Return()</p>
<p dir="auto">a new one, after source was changed:<br />
[app-dnd-off]<br />
include =&gt; app-dnd-off-custom<br />
exten =&gt; 79,1,Answer<br />
exten =&gt; 79,n,Wait(1)<br />
exten =&gt; 79,n,Macro(user-callerid,)<br />
; added for fop2<br />
exten =&gt; 79,n,Set(CHAN=${CUT(CHANNEL,-,1)})<br />
exten =&gt; 79,n,dbDel(fop2state/USER/${AMPUSER})<br />
exten =&gt; 79,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: USER/${AMPUSER},Value: )<br />
; end fop2 addition<br />
exten =&gt; 79,n,Noop(Deleting: DND/${AMPUSER} ${DB_DELETE(DND/${AMPUSER})})<br />
exten =&gt; 79,n,Set(STATE=NOT_INUSE)<br />
exten =&gt; 79,n,Gosub(app-dnd-off,sstate,1)<br />
exten =&gt; 79,n(hook_1),Playback(do-not-disturb&amp;de-activated)<br />
exten =&gt; 79,n,Macro(hangupcall,)<br />
exten =&gt; sstate,1,Set(DEVICE_STATE(Custom:DND${AMPUSER})=${STATE})<br />
exten =&gt; sstate,n,Set(DEVICES=${DB(AMPUSER/${AMPUSER}/device)})<br />
exten =&gt; sstate,n,GotoIf($["${DEVICES}" = "" ]?return)<br />
exten =&gt; sstate,n,Set(LOOPCNT=${FIELDQTY(DEVICES,&amp;)})<br />
exten =&gt; sstate,n,Set(ITER=1)<br />
exten =&gt; sstate,n(begin),Set(DEVICE_STATE(Custom:DEVDND${CUT(DEVICES,&amp;,${ITER})})=${STATE})<br />
exten =&gt; sstate,n,Set(ITER=$[${ITER} + 1])<br />
exten =&gt; sstate,n,GotoIf($[${ITER} &lt;= ${LOOPCNT}]?begin)<br />
exten =&gt; sstate,n(return),Return()</p>
<p dir="auto">[app-dnd-on]<br />
include =&gt; app-dnd-on-custom<br />
exten =&gt; 78,1,Answer<br />
exten =&gt; 78,n,Wait(1)<br />
exten =&gt; 78,n,Macro(user-callerid,)<br />
; added for fop2<br />
exten =&gt; 78,n,Set(DB(DND/${AMPUSER})=YES)<br />
exten =&gt; 78,n,Set(CHAN=${CUT(CHANNEL,-,1)})   ; guess we don't need this one???<br />
exten =&gt; 78,n,Set(DB(fop2state/USER/${AMPUSER})=Do not Disturb)<br />
exten =&gt; 78,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: USER/${AMPUSER},Value: Do not Disturb)<br />
; end fop2 addition<br />
exten =&gt; 78,n,Set(DB(DND/${AMPUSER})=YES)<br />
exten =&gt; 78,n,Set(STATE=BUSY)<br />
exten =&gt; 78,n,Gosub(app-dnd-on,sstate,1)<br />
exten =&gt; 78,n(hook_1),Playback(do-not-disturb&amp;activated)<br />
exten =&gt; 78,n,Macro(hangupcall,)<br />
exten =&gt; sstate,1,Set(DEVICE_STATE(Custom:DND${AMPUSER})=${STATE})<br />
exten =&gt; sstate,n,Set(DEVICES=${DB(AMPUSER/${AMPUSER}/device)})<br />
exten =&gt; sstate,n,GotoIf($["${DEVICES}" = "" ]?return)<br />
exten =&gt; sstate,n,Set(LOOPCNT=${FIELDQTY(DEVICES,&amp;)})<br />
exten =&gt; sstate,n,Set(ITER=1)<br />
exten =&gt; sstate,n(begin),Set(DEVICE_STATE(Custom:DEVDND${CUT(DEVICES,&amp;,${ITER})})=${STATE})<br />
exten =&gt; sstate,n,Set(ITER=$[${ITER} + 1])<br />
exten =&gt; sstate,n,GotoIf($[${ITER} &lt;= ${LOOPCNT}]?begin)<br />
exten =&gt; sstate,n(return),Return()</p>
<p dir="auto">Unfortunately  it still doesn't show DND</p>
]]></description><link>http://localhost:4567/post/7176</link><guid isPermaLink="true">http://localhost:4567/post/7176</guid><dc:creator><![CDATA[sipk]]></dc:creator><pubDate>Mon, 16 Dec 2013 07:48:44 GMT</pubDate></item><item><title><![CDATA[Reply to No DND status after service reboot on Thu, 12 Dec 2013 23:38:29 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Thanks for your answer Nicolás,</p>
<p dir="auto">First of all, Yes I have /fop2state/SIP/0226 : Do not Disturb<br />
my first post in this topic about dnd status in database.<br />
Secondly, fop2admin had been installed succesfuly after module Parking Lot installing.</p>
<p dir="auto">Regards,</p>
</blockquote>
<p dir="auto">Ok, I think the problem is that you have SIP/0226 instead of USER/0226 as the family. You might need to change the override context so it uses that instead of the channel name. I have not tested this, but perhaps it works, it should be something similar to this:</p>
<p dir="auto">exten =&gt; 79,n,dbDel(fop2state/USER/${AMPUSER})<br />
exten =&gt; 79,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: USER/${AMPUSER},Value: )</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/7175</link><guid isPermaLink="true">http://localhost:4567/post/7175</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 12 Dec 2013 23:38:29 GMT</pubDate></item><item><title><![CDATA[Reply to No DND status after service reboot on Thu, 12 Dec 2013 23:10:59 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your answer Nicolás,</p>
<p dir="auto">First of all, Yes I have /fop2state/SIP/0226 : Do not Disturb<br />
my first post in this topic about dnd status in database.<br />
Secondly, fop2admin had been installed succesfuly after module Parking Lot installing.</p>
<p dir="auto">Regards,</p>
]]></description><link>http://localhost:4567/post/7174</link><guid isPermaLink="true">http://localhost:4567/post/7174</guid><dc:creator><![CDATA[sipk]]></dc:creator><pubDate>Thu, 12 Dec 2013 23:10:59 GMT</pubDate></item><item><title><![CDATA[Reply to No DND status after service reboot on Thu, 12 Dec 2013 12:28:16 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, I mixed up things. Customastdb is used for call forward setting, not for DND setting.</p>
<p dir="auto">For the presence box in fop2 to show Do not Disturb, you must have a database entry</p>
<p dir="auto">fop2state with the channel name as family, something like</p>
<p dir="auto">fop2state/SIP/606</p>
<p dir="auto">What do you see if you do</p>
<p dir="auto">asterisk -rx "database show fop2state"</p>
<p dir="auto">when you set yourself in DND from fop2?</p>
<p dir="auto">and when you set DND from the freepbx feature code?</p>
<p dir="auto">And about fop2admin, what version did you install? You must have the park module installed for it to work.</p>
]]></description><link>http://localhost:4567/post/7173</link><guid isPermaLink="true">http://localhost:4567/post/7173</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 12 Dec 2013 12:28:16 GMT</pubDate></item><item><title><![CDATA[Reply to No DND status after service reboot on Thu, 12 Dec 2013 07:22:39 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the answer Nicolás,</p>
<p dir="auto">I'm using a FreePBX based distro Elastix. Freepbx<br />
I used <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a></p>
<p dir="auto">[USER/0226]<br />
type=extension</p>
<p dir="auto">extension=0226<br />
label=Smith<br />
mailbox=2226@default<br />
context=from-internal<br />
queuecontext=from-queue<br />
extenvoicemail=*2226@from-internal<br />
group=work</p>
<p dir="auto">here is my manager_additional.conf<br />
[fopp2]<br />
secret = fop2secret<br />
deny=0.0.0.0/0.0.0.0<br />
permit=0.0.0.0/0.0.0.0<br />
read = system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate<br />
write = system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate</p>
<p dir="auto">in button.cfg I added : customastdb=DND/0226</p>
<ol>
<li>so it shows me blue arrow on the button. click on it sad "Yes"...after that I swithed DND off, still see the same "Yes"</li>
<li>After "service fop2 restart" I see nothing!?</li>
</ol>
<p dir="auto">besides that, I installed fop2admin, than uninstalled it. Second installation showed me a mistake  -   exit: 1<br />
[FATAL] SELECT if(<code>defaultlot</code>='no',concat('PARK/parkinglot_',id),'PARK/default') AS channel,parkext AS exten FROM parkplus [nativecode=1146 ** Table 'asterisk.parkplus' doesn't exist]SQL -<br />
SELECT if(<code>defaultlot</code>='no',concat('PARK/parkinglot_',id),'PARK/default') AS channel,parkext AS exten FROM parkplus</p>
<p dir="auto">Trace Back:</p>
<p dir="auto">/var/www/html/admin/libraries/sql.functions.php:11 die_freepbx()<br />
[0]: SELECT if(<code>defaultlot</code>='no',concat('PARK/parkinglot_',id),'PARK/default') AS channel,parkext AS exten FROM parkplus [nativecode=1146 ** Table 'asterisk.parkplus' doesn't exist]SQL -<br />
SELECT if(<code>defaultlot</code>='no',concat('PARK/parkinglot_',id),'PARK/default') AS channel,parkext AS exten FROM parkplus</p>
<p dir="auto">/var/www/html/admin/modules/fop2admin/functions.inc.php:70 sql()<br />
[0]: SELECT if(<code>defaultlot</code>='no',concat('PARK/parkinglot_',id),'PARK/default') AS channel,parkext AS exten FROM parkplus<br />
[1]: getAll<br />
[2]: 2</p>
<p dir="auto">/var/lib/asterisk/bin/retrieve_conf:606 fop2admin_get_config()<br />
[0]: asterisk<br />
1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.</p>
]]></description><link>http://localhost:4567/post/7172</link><guid isPermaLink="true">http://localhost:4567/post/7172</guid><dc:creator><![CDATA[sipk]]></dc:creator><pubDate>Thu, 12 Dec 2013 07:22:39 GMT</pubDate></item><item><title><![CDATA[Reply to No DND status after service reboot on Thu, 12 Dec 2013 00:49:45 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">{quote} status change in realtime {quote}<br />
Yea, it works fine..<br />
but after service fop2 restart ..fop2 doesn't show DND status unfortunately</p>
</blockquote>
<p dir="auto">If you do not see dnd status on boot, then you have a misconfiguration somewhere, as it works perfectly fine. You <em>must</em> configure the customastdb entry in your button.cfg, something like</p>
<p dir="auto">customastdb=CF/600</p>
<p dir="auto">Not sure why you are configuring buttons manually? If you use freepbx, you should let the autoconfig scripts do their job.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/7171</link><guid isPermaLink="true">http://localhost:4567/post/7171</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 12 Dec 2013 00:49:45 GMT</pubDate></item><item><title><![CDATA[Reply to No DND status after service reboot on Wed, 11 Dec 2013 23:45:43 GMT]]></title><description><![CDATA[<p dir="auto">{quote} status change in realtime {quote}<br />
Yea, it works fine..<br />
but after service fop2 restart ..fop2 doesn't show DND status unfortunately</p>
]]></description><link>http://localhost:4567/post/7170</link><guid isPermaLink="true">http://localhost:4567/post/7170</guid><dc:creator><![CDATA[sipk]]></dc:creator><pubDate>Wed, 11 Dec 2013 23:45:43 GMT</pubDate></item><item><title><![CDATA[Reply to No DND status after service reboot on Mon, 09 Dec 2013 17:54:48 GMT]]></title><description><![CDATA[<p dir="auto">If you want to show the status change in realtime, then you must run the generate_override_xxx script on the ASTERISK/FreePBX box, so copy the file from your fop2 install into the asterisk box and run that script. (Assuming you use freepbx in the asterisk machine).</p>
]]></description><link>http://localhost:4567/post/7169</link><guid isPermaLink="true">http://localhost:4567/post/7169</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 09 Dec 2013 17:54:48 GMT</pubDate></item><item><title><![CDATA[Reply to No DND status after service reboot on Mon, 09 Dec 2013 05:30:32 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your answer Nicolás</p>
<p dir="auto">Here is my buttons.cfg</p>
<p dir="auto">[USER/0226]<br />
type=extension</p>
<p dir="auto">extension=0226<br />
label=Smith<br />
mailbox=2226@default<br />
context=from-internal<br />
queuecontext=from-queue<br />
extenvoicemail=*2226@from-internal<br />
group=work</p>
<p dir="auto">which i created by  <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a><br />
Also i have all permissions to /etc/asterisk/manager.conf</p>
<p dir="auto">After I started ./generate_override_contexts.pl  -write<br />
got a new extensions_override_fop2.conf   which looks like:</p>
<p dir="auto">[app-dnd-off]<br />
include =&gt; app-dnd-off-custom<br />
exten =&gt; 79,1,Answer<br />
exten =&gt; 79,n,Wait(1)<br />
exten =&gt; 79,n,Macro(user-callerid,)<br />
; added for fop2<br />
exten =&gt; 79,n,Set(CHAN=${CUT(CHANNEL,-,1)})<br />
exten =&gt; 79,n,dbDel(fop2state/${CHAN})<br />
exten =&gt; 79,n,UserEvent(FOP2ASTDB,Family: fop2state,Channel: ${CHAN},Value: )<br />
; end fop2 addition<br />
exten =&gt; 79,n,Noop(Deleting: DND/${AMPUSER} ${DB_DELETE(DND/${AMPUSER})})<br />
exten =&gt; 79,n,Set(STATE=NOT_INUSE)<br />
exten =&gt; 79,n,Gosub(app-dnd-off,sstate,1)<br />
exten =&gt; 79,n(hook_1),Playback(do-not-disturb&amp;de-activated)<br />
exten =&gt; 79,n,Macro(hangupcall,)<br />
exten =&gt; sstate,1,Set(DEVICE_STATE(Custom:DND${AMPUSER})=${STATE})<br />
exten =&gt; sstate,n,Set(DEVICES=${DB(AMPUSER/${AMPUSER}/device)})<br />
exten =&gt; sstate,n,GotoIf($["${DEVICES}" = "" ]?return)<br />
exten =&gt; sstate,n,Set(LOOPCNT=${FIELDQTY(DEVICES,&amp;)})<br />
exten =&gt; sstate,n,Set(ITER=1)<br />
exten =&gt; sstate,n(begin),Set(DEVICE_STATE(Custom:DEVDND${CUT(DEVICES,&amp;,${ITER})})=${STATE})<br />
exten =&gt; sstate,n,Set(ITER=$[${ITER} + 1])<br />
exten =&gt; sstate,n,GotoIf($[${ITER} &lt;= ${LOOPCNT}]?begin)<br />
exten =&gt; sstate,n(return),Return()</p>
<p dir="auto">here I changed a standart meaning *78 -&gt; 78 by manual...guess it was my fault.<br />
Now I've repeated ./generate_override_contexts.pl  -write and everything works fine!<br />
fop2 is located on asterisk server.</p>
<p dir="auto">But I have another fop2 which separated from asterisk and this one doesn't show DND status.<br />
Any suggestions would be great.</p>
]]></description><link>http://localhost:4567/post/7168</link><guid isPermaLink="true">http://localhost:4567/post/7168</guid><dc:creator><![CDATA[sipk]]></dc:creator><pubDate>Mon, 09 Dec 2013 05:30:32 GMT</pubDate></item><item><title><![CDATA[Reply to No DND status after service reboot on Sat, 07 Dec 2013 18:09:34 GMT]]></title><description><![CDATA[<p dir="auto">what is the value for customastdb entry when you run <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> ? Do you see it correctly? If so, you might want to be sure you have all permissions to /etc/asterisk/manager.conf</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/7167</link><guid isPermaLink="true">http://localhost:4567/post/7167</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Sat, 07 Dec 2013 18:09:34 GMT</pubDate></item></channel></rss>