<?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[Not loading checkdir.php]]></title><description><![CDATA[<p dir="auto">I have been playing with the call notification checkdir.php</p>
<p dir="auto">Using the standard example, and watching the apache log when a call comes in the checkdir.php is not even being requested by the webserver. Is there some setting in config.php that I have to change to have it run?</p>
<p dir="auto">I am logged into fop2 and my extension rings when a call comes in.</p>
<p dir="auto">/usr/local/fop2/fop2.cfg:<br />
notify_on_ringing = 1<br />
notify_on_connect = 0</p>
<p dir="auto">/etc/asterisk/queues_additional.conf<br />
[1000]<br />
....<br />
eventmemberstatus=yes<br />
eventwhencalled=yes<br />
...</p>
<ul>
<li>Using the stock checkdir.php</li>
<li>Asterisk 1.6.0.26-FONCORE-r78 currently running on trixbox</li>
</ul>
<p dir="auto">It used to work, and I could see it in the access-log of it being run. Not sure if I changed a setting by accident somewhere.<br />
Now not even the default notifications work. I see no call notification popup at all.</p>
<p dir="auto">Is there somewhere else I can log to, in order to see why its being passed over? Or do you have a really simple example that I can debug with?</p>
]]></description><link>http://localhost:4567/topic/1053/not-loading-checkdir.php</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 11:19:15 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1053.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Feb 2012 16:45:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Not loading checkdir.php on Tue, 21 Feb 2012 23:08:19 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for bearing with me, the manager.conf needed read=all and write=all</p>
<p dir="auto">Its calling the script now at least. Now to get the thing to actually pop something up.</p>
<p dir="auto">Thanks again.</p>
]]></description><link>http://localhost:4567/post/4707</link><guid isPermaLink="true">http://localhost:4567/post/4707</guid><dc:creator><![CDATA[chrisgg]]></dc:creator><pubDate>Tue, 21 Feb 2012 23:08:19 GMT</pubDate></item><item><title><![CDATA[Reply to Not loading checkdir.php on Tue, 21 Feb 2012 21:48:22 GMT]]></title><description><![CDATA[<p dir="auto">Debug is complicated as you have a server and a client. You can start fop2 server in debug mode and look at the ami events (and state ringing or not), and try to correlate that with the logs that you will get on the client side via a javascript debugger</p>
<p dir="auto">cd /usr/local/fop2<br />
service fop2 stop<br />
script capture.log<br />
/usr/local/fop2/fop2_server -X 15<br />
(lots of debug, hit ctrl-C to stop)<br />
exit   (to stop capture.log)</p>
<p dir="auto">You can inspect the AMI events and the data sent to the js clients in that log file, but then the js client will decide to fire a popup or not based on the conditions I mentioned before.</p>
]]></description><link>http://localhost:4567/post/4706</link><guid isPermaLink="true">http://localhost:4567/post/4706</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 21 Feb 2012 21:48:22 GMT</pubDate></item><item><title><![CDATA[Reply to Not loading checkdir.php on Tue, 21 Feb 2012 21:38:24 GMT]]></title><description><![CDATA[<p dir="auto">I see, so is there any reason its sending links and not ringing events?</p>
<p dir="auto">Is this the dircheck.php that sends the ringing events to fop2? Or is the ringing events not configured properly on asterisk?</p>
<p dir="auto">It would be nice to know where I should start looking to debug where it is failing.</p>
]]></description><link>http://localhost:4567/post/4705</link><guid isPermaLink="true">http://localhost:4567/post/4705</guid><dc:creator><![CDATA[chrisgg]]></dc:creator><pubDate>Tue, 21 Feb 2012 21:38:24 GMT</pubDate></item><item><title><![CDATA[Reply to Not loading checkdir.php on Tue, 21 Feb 2012 20:13:38 GMT]]></title><description><![CDATA[<p dir="auto">There are lot of LINKS and no RINGING. You should see some ringing over there..</p>
]]></description><link>http://localhost:4567/post/4704</link><guid isPermaLink="true">http://localhost:4567/post/4704</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 21 Feb 2012 20:13:38 GMT</pubDate></item><item><title><![CDATA[Reply to Not loading checkdir.php on Tue, 21 Feb 2012 20:01:15 GMT]]></title><description><![CDATA[<p dir="auto">I played around with firebug, however I am not sure what I am looking for.</p>
<p dir="auto">Watching the console does not tell me anything that I can go on. I dont speak spanish, so I am not sure what some of these mean. and google translate says something about a tail, so I am sure that isnt right.</p>
<p dir="auto">Ejecutando Callback Comando link<br />
received link command from server with 7785551234 , button number4 in slot 1<br />
cola 12 quedo con llamados: 0<br />
Comando link no implementado<br />
Ejecutando Callback Comando link<br />
received link command from server with 7785551234 TechSeattle,WA, button number10 in slot 1<br />
flash send &lt;msg data="1|ping||" /&gt;<br />
Comando link no implementado<br />
Ejecutando Callback Comando link<br />
received link command from server with 7785551234 TechSeattle,WA, button number10 in slot 1</p>
<p dir="auto">Any hints on how to debug why no popups are working?</p>
]]></description><link>http://localhost:4567/post/4703</link><guid isPermaLink="true">http://localhost:4567/post/4703</guid><dc:creator><![CDATA[chrisgg]]></dc:creator><pubDate>Tue, 21 Feb 2012 20:01:15 GMT</pubDate></item><item><title><![CDATA[Reply to Not loading checkdir.php on Tue, 21 Feb 2012 19:12:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">If you change  a configuration in the buttons.cfg file, you must restart fop2 server, otherwise you will see incorrect status.</p>
<p dir="auto">Regarding the checkdir.php, it is called on state RINGING and only if the callerid does not match the extension number you are logged as. There is nothing else to check. You can install firebug for firefox and debug on the client, as this will happen on the client side.</p>
]]></description><link>http://localhost:4567/post/4702</link><guid isPermaLink="true">http://localhost:4567/post/4702</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 21 Feb 2012 19:12:57 GMT</pubDate></item><item><title><![CDATA[Reply to Not loading checkdir.php on Tue, 21 Feb 2012 18:35:51 GMT]]></title><description><![CDATA[<p dir="auto">The phone icon shakes when a call comes in, the caller ID is listed as well without any extension.</p>
<p dir="auto">In fop2, when a call comes in the Queue, it displays on the queue like so..</p>
<pre><code>1. &lt;7885551234&gt; TechAnchorage, AK
                      00:00:36
</code></pre>
<p dir="auto">It puts the queuename next to the caller's city. Not sure if I understood your having the same callerid as the extension thing.</p>
<p dir="auto">When a call came in before, I used to see the checkdir.php being called by apache, now it does not show up at all, like it isnt being used. Can you think of any other setting I can check in asterisk or fop2?</p>
<p dir="auto">One other issue, when I remove a extension from buttons.cfg it messes fop2 up, it wont show extensions in use, and when a call comes in and someone answers it. The call stays in the queue display like it has not been answered. When I put the extension block I removed back in, the issue resolves.</p>
<p dir="auto">I do not use the auto configurated users or buttons, I manually have a buttons.cfg and user list in fop2.cfg</p>
<p dir="auto">So my question is there some cache or file I should delete if I make changes to a button.cfg.</p>
]]></description><link>http://localhost:4567/post/4701</link><guid isPermaLink="true">http://localhost:4567/post/4701</guid><dc:creator><![CDATA[chrisgg]]></dc:creator><pubDate>Tue, 21 Feb 2012 18:35:51 GMT</pubDate></item><item><title><![CDATA[Reply to Not loading checkdir.php on Tue, 21 Feb 2012 17:58:06 GMT]]></title><description><![CDATA[<p dir="auto">I have seen some trixboxs where extensions do not enter state RINGING, so you won't get the notification. I do not remember exactly why did that happen. If your extension is in state RINGING, you see the phone shaking when you get a call, then checkdir.php will be called. Aha! Now I remember when I type this what happened on those cases that it did not work, the notification/popup is only called when the callerid is different from your own extensions. On those cases I have seen, the incoming call had the same callerid as the extension ringing, thus skipping the popup. Perhaps you are having that problem.</p>
]]></description><link>http://localhost:4567/post/4700</link><guid isPermaLink="true">http://localhost:4567/post/4700</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 21 Feb 2012 17:58:06 GMT</pubDate></item></channel></rss>