<?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[Fop showing all buttons as available]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I moved from Asterisk 1.8.15.1 to 1.8.23.0. After installation, FOP is showing all extension buttons as available. I guess that in first instance, FOP asks for extension states through AMI and gest this. However, when doing "sip show peers" info is right. Where can I start from to debug this?</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.fop2.com/topic/1534/fop-showing-all-buttons-as-available</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 17:48:28 GMT</lastBuildDate><atom:link href="https://forum.fop2.com/topic/1534.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Jul 2013 12:31:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fop showing all buttons as available on Thu, 25 Jul 2013 11:47:07 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">How does FOP2 fetch the peer information in first instance? I mean, what is the first action perfomed by FOP2 in order to know peers status?</p>
</blockquote>
<p dir="auto">If you are curious about what FOP2 does, you should run it in debug mode to see the manager dialog:</p>
<pre><code>service fop2 stop
cd /usr/local/fop2
./fop2_server -X 3
</code></pre>
<p dir="auto">and watch the show. In particular the SIPPeers command is being sent at startup.</p>
<blockquote>
<p dir="auto">When I start fop2 server it displays all peers as available and looking AMI no Action is performed when starting fop2 server. But when I go offline with any of the peers, fop2 displays the correct information for that peer from that moment on. It seems that by default fop2 "think" all are available. I wouldn't be asking this if I didn't use fop2 before. When using it with Asterisk 1.8.15.1 fop2 shows correct information at start.<br />
B.</p>
</blockquote>
<p dir="auto">I do not think there is any change between the manager output/commands from 1.8.15 to newer versions.</p>
<p dir="auto">FOP2 does not think anything, it will react to commands. By default it starts with a registration "ok" status, because many people have extensions with unmonitored state completely, or even some channel drivers do not have the concept of registrations (not everyone uses sip).</p>
<p dir="auto">If you use 2.27 beta and want to change the initial status, look at /var/www/html/fop2/js/presence.js, the settings there are self explanatory:</p>
<pre><code>var startNotRegistered = false;
</code></pre>
]]></description><link>https://forum.fop2.com/post/6702</link><guid isPermaLink="true">https://forum.fop2.com/post/6702</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 25 Jul 2013 11:47:07 GMT</pubDate></item><item><title><![CDATA[Reply to Fop showing all buttons as available on Wed, 24 Jul 2013 15:17:23 GMT]]></title><description><![CDATA[<p dir="auto">Could you please answer my questions please?</p>
<p dir="auto">I'm running 2.27. Which option is it the one that forces all buttons as unavailable?</p>
]]></description><link>https://forum.fop2.com/post/6701</link><guid isPermaLink="true">https://forum.fop2.com/post/6701</guid><dc:creator><![CDATA[biguel1]]></dc:creator><pubDate>Wed, 24 Jul 2013 15:17:23 GMT</pubDate></item><item><title><![CDATA[Reply to Fop showing all buttons as available on Tue, 23 Jul 2013 10:03:22 GMT]]></title><description><![CDATA[<p dir="auto">How does FOP2 fetch the peer information in first instance? I mean, what is the first action perfomed by FOP2 in order to know peers status?</p>
<p dir="auto">When I start fop2 server it displays all peers as available and looking AMI no Action is performed when starting fop2 server. But when I go offline with any of the peers, fop2 displays the correct information for that peer from that moment on. It seems that by default fop2 "think" all are available. I wouldn't be asking this if I didn't use fop2 before. When using it with Asterisk 1.8.15.1 fop2 shows correct information at start.</p>
<p dir="auto">What can I do to have the same behaviour as before?</p>
<p dir="auto">Regards,</p>
<p dir="auto">B.</p>
]]></description><link>https://forum.fop2.com/post/6700</link><guid isPermaLink="true">https://forum.fop2.com/post/6700</guid><dc:creator><![CDATA[biguel1]]></dc:creator><pubDate>Tue, 23 Jul 2013 10:03:22 GMT</pubDate></item><item><title><![CDATA[Reply to Fop showing all buttons as available on Thu, 18 Jul 2013 08:47:46 GMT]]></title><description><![CDATA[<p dir="auto">The configuration was already as you indicated:<br />
There was a manager user specifically for FOP2 with following configuration:</p>
<pre><code>[fop2]
secret = **********
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = all
write = all
writetimeout = 1000
eventfilter=!Event: RTCPSent
eventfilter=!Event: RTCPReceived
eventfilter=!Event: VarSet
eventfilter=!Event: Cdr
eventfilter=!Event: ExtensionStatus
eventfilter=!Event: ChannelUpdate
</code></pre>
<p dir="auto">All SIP peers have qualify=yes defined.</p>
<p dir="auto">We are in production and it worked alright until installing newer Asterisk version. I don't espect to get the solution to the problem here. However, I woul like to know which can be the causes of having all extension buttons showing as available at start. Is there more than one option? Is my reason logic ok? (At FOP2 start, fop2 manager user "asks" for peers' status and it shows them as it gets it. I think Asterisk might be sending that they are available, although it's strange. Where does Asterisk get this information from?..astdb?</p>
<p dir="auto">Regards,<br />
Borja</p>
]]></description><link>https://forum.fop2.com/post/6699</link><guid isPermaLink="true">https://forum.fop2.com/post/6699</guid><dc:creator><![CDATA[biguel1]]></dc:creator><pubDate>Thu, 18 Jul 2013 08:47:46 GMT</pubDate></item><item><title><![CDATA[Reply to Fop showing all buttons as available on Wed, 17 Jul 2013 16:39:38 GMT]]></title><description><![CDATA[<p dir="auto">Start by creating a manager user specifically for FOP2 and giving "all" permissions (in manger.conf). To be sure you are not filtering needed manager events to get status information. Also, all your sip peers might have qualify=yes defined.</p>
<p dir="auto">In FOP 2.27 (beta) there is now an option in presence.js to start with all extensions in unavailable state, and only enable them when the proper event is received (this is to make it work with sip realtime configuration, where initial state is not advertised by AMI).</p>
]]></description><link>https://forum.fop2.com/post/6698</link><guid isPermaLink="true">https://forum.fop2.com/post/6698</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 17 Jul 2013 16:39:38 GMT</pubDate></item></channel></rss>