<?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[buttons_custom.cfg not being loaded]]></title><description><![CDATA[<p dir="auto">New question</p>
<p dir="auto">in buttons_custom.cfg I have</p>
<p dir="auto">[SIP/XXXX]<br />
type=extension<br />
label=Bob<br />
extension=XXXX<br />
context=from-internal<br />
server=10.5.5.253</p>
<p dir="auto">(where XXXX is an extension number)</p>
<p dir="auto">But this extension does not show up in the FOP2 panel.   Did I miss a step?</p>
]]></description><link>http://localhost:4567/topic/865/buttons_custom.cfg-not-being-loaded</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 08:11:19 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/865.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 25 Aug 2011 05:19:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Thu, 20 Sep 2012 21:08:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">FOP2 does not discretely monitor same device name across multiple servers. It was mentioned many times in the forum:</p>
<p dir="auto"><a href="http://forum.fop2.com/esotalk/index.php/495" rel="nofollow ugc">View Post 495</a></p>
<p dir="auto">You cannot have a button for SIP/100 on server A and another button for SIP/100 on server B. FOP2 will group activity for SIP/100 no matter the server it is located.</p>
<p dir="auto">This is why you cannot monitor DAHDI trunks on multiple servers for examples, let alone DAHDI extensions. Well, you can, but you cannot do that discretely.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/3848</link><guid isPermaLink="true">http://localhost:4567/post/3848</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 20 Sep 2012 21:08:54 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Thu, 20 Sep 2012 20:33:17 GMT]]></title><description><![CDATA[<p dir="auto">Thanks,</p>
<p dir="auto">I got it working now, however how I did it was not what I expected.  It looks like when you set FOP2 to connect to multiple servers, if you build the extensions as a mirror on both servers, FOP2 picks up hints from whichever is actually registered/active.  There is no need to create any custom buttons using the "server=" value what so ever.</p>
<p dir="auto">The added advantage is I can also use display groups without it affecting the visibility of the buttons.  I don't know if this will work for others, but this might help people who are having issues with the FreePBX admin module and monitoring multiple servers.</p>
<p dir="auto">Thanks,</p>
]]></description><link>http://localhost:4567/post/3847</link><guid isPermaLink="true">http://localhost:4567/post/3847</guid><dc:creator><![CDATA[TRAFSupport]]></dc:creator><pubDate>Thu, 20 Sep 2012 20:33:17 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Thu, 20 Sep 2012 15:12:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">There are 2 things to check. That the include of the custom button config file has a full path (if you run fop2 from the init script, an #include buttons_custom.cfg will probably fail, while #include /usr/local/fop2/buttons_custom.cfg will work).</p>
<p dir="auto">The other thing to check is still the groups. If you want to see custom buttons, your fop2 user should not have ANY groups clicked on the fop2 users page in Fop2admin. You have to check that by running:</p>
<p dir="auto">/usr/local/fop2/autoconfig-users-freepbx.sh</p>
<p dir="auto">you should have something like</p>
<p dir="auto">user=100<img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f4af.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--100" style="height:1.4em;width:auto;vertical-align:middle" title=":100:" alt="💯" />all</p>
<p dir="auto">if you have</p>
<p dir="auto">user=100<img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f4af.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--100" style="height:1.4em;width:auto;vertical-align:middle" title=":100:" alt="💯" />all:somegroup</p>
<p dir="auto">you will face issues unless somegroup includes the buttons for the custom config file, and as somegroup is autogenerated, <em>it will not contain anything!</em>.</p>
]]></description><link>http://localhost:4567/post/3846</link><guid isPermaLink="true">http://localhost:4567/post/3846</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 20 Sep 2012 15:12:46 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Sat, 15 Sep 2012 23:10:22 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am having a similar issue.</p>
<p dir="auto">I have FOP2 registered and set up to monitor two servers and because I am using FreePBX, I have to define buttons for these users manually using the "server=" value.</p>
<p dir="auto">When I run <a href="http://autoconfig-users-freepbx.sh" rel="nofollow ugc">autoconfig-users-freepbx.sh</a>, it does show that it is parsing the buttons_custom.cfg file, but the custom buttons do not show in FOP.  I originally tried with no groups set in FreePBX, then I tried setting up a group ("ALL") and manually joining that button to it using a "group=ALL" value, but it still does not show up.  I have ensured that the user I am logging into FOP2 as, is able to see that group.</p>
<p dir="auto">The test extension in buttons_custom.cfg looks like the following:<br />
[SIP/${XXXX}]<br />
type=extension<br />
extension=${XXXX}<br />
context=from-internal<br />
label=${LABEL}<br />
server=${HOST_IP}</p>
<p dir="auto">With an optionally added "group=ALL" for after I tried creating a group to see if that would help.</p>
<p dir="auto">Any information as to why I can't get these buttons to show up would be appreciated.</p>
<p dir="auto">Thank you,</p>
]]></description><link>http://localhost:4567/post/3845</link><guid isPermaLink="true">http://localhost:4567/post/3845</guid><dc:creator><![CDATA[TRAFSupport]]></dc:creator><pubDate>Sat, 15 Sep 2012 23:10:22 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Sat, 17 Mar 2012 12:29:38 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Passwords can differt, there is no reason to make them the same, you can specify any password, host, user, port, etc.</p>
<p dir="auto">Making this work is not hard at all, but fop2 restrictions might come into play for displaying the buttons ON THE WEB BROWSER, not so when running the autoconfiguration script as I suggested above.</p>
<p dir="auto">If you see the buttons when running the autoconfig script, but not on the browser, then your limitation is for buttons groups assigned to users, as custom buttons will not be placed into groups.</p>
<p dir="auto">The new version will work the same as the old one, just try to catch me on the live help and I will guide you on making it work.</p>
]]></description><link>http://localhost:4567/post/3844</link><guid isPermaLink="true">http://localhost:4567/post/3844</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Sat, 17 Mar 2012 12:29:38 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Sat, 17 Mar 2012 04:15:55 GMT]]></title><description><![CDATA[<p dir="auto">I gave up trying to get this working, but I am upgrading to the new version and thought I'd try again.</p>
<p dir="auto">Does the AMI manager user and secret need to be the same on the external server for it to work?   In other words, how does it query the external server for status?</p>
]]></description><link>http://localhost:4567/post/3843</link><guid isPermaLink="true">http://localhost:4567/post/3843</guid><dc:creator><![CDATA[atsak]]></dc:creator><pubDate>Sat, 17 Mar 2012 04:15:55 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Mon, 29 Aug 2011 12:33:03 GMT]]></title><description><![CDATA[<p dir="auto">Do not look at the fop2admin screen, but at the output from <a href="http://autoconfig-users-freepbx.sh" rel="nofollow ugc">autoconfig-users-freepbx.sh</a> script, that way you know for sure if you have groups assigned or not, look for the user=xxx lines, the 4th parameter is the group.</p>
<p dir="auto">In any case, if your button config shows when you run <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> and you do not see it in the fop2 screen (after reloading fop2, if you change your button config you must reload fop2 server and also relogin to the web client), it is probably there is something missing or incorrect in the button definitions themselves, from what I read about your sample, it is correct, so it should show. It is mandatory to set the type, the type must be valid (type=extension), and you also must put the extension, context and label values. If one of them is missing , the button will not show.</p>
<p dir="auto">Also, be sure you are using the registered version so you are not bitten by the 15 buttons limit of the free version.</p>
]]></description><link>http://localhost:4567/post/3842</link><guid isPermaLink="true">http://localhost:4567/post/3842</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Mon, 29 Aug 2011 12:33:03 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Mon, 29 Aug 2011 03:31:32 GMT]]></title><description><![CDATA[<p dir="auto">But I don't have any groups for users  . . . that's what I keep saying.</p>
<p dir="auto">Really!   I have never defined a group for users.    It's just the default settings.   I can't figure out how to post a screenshot of my freepbx fop2 admin screen shot where it shows no groups are configured . . . but I have one to prove it if you want  <img src="http://localhost:4567/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=9c14fadbfa0" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title=":D" alt="😄" /></p>
]]></description><link>http://localhost:4567/post/3841</link><guid isPermaLink="true">http://localhost:4567/post/3841</guid><dc:creator><![CDATA[atsak]]></dc:creator><pubDate>Mon, 29 Aug 2011 03:31:32 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Sun, 28 Aug 2011 10:52:57 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Problem with buttons_custom.cfg is that if you define groups for users, they won't show up as they will not appear in the group definitions.</p>
</blockquote>
]]></description><link>http://localhost:4567/post/3840</link><guid isPermaLink="true">http://localhost:4567/post/3840</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Sun, 28 Aug 2011 10:52:57 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Sun, 28 Aug 2011 00:19:51 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">It says there is no buttons_custom.cfg</p>
<p dir="auto">But there is - here's the directory listing.   I must be missing something simple.<br />
-rw-r--r-- 1 root     root          91 Aug 25 01:07 buttons_custom.cfg</p>
<p dir="auto">root@pbx:/usr/local/fop2 $</p>
</blockquote>
<p dir="auto">OK I found if I changed the script to use the full path /usr/local/fop2/buttons_custom.cfg, the autoconfig freepbx script will now call the file correctly.</p>
<p dir="auto">Except it still doesn't show up in the panel.</p>
<p dir="auto">What's my next step?</p>
]]></description><link>http://localhost:4567/post/3839</link><guid isPermaLink="true">http://localhost:4567/post/3839</guid><dc:creator><![CDATA[atsak]]></dc:creator><pubDate>Sun, 28 Aug 2011 00:19:51 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Fri, 26 Aug 2011 04:27:33 GMT]]></title><description><![CDATA[<p dir="auto">It says there is no buttons_custom.cfg</p>
<p dir="auto">But there is - here's the directory listing.   I must be missing something simple.</p>
<p dir="auto">-rw-r--r-- 1 root     root          36 Aug 24 00:03 autobuttons.cfg<br />
-rw-r--r-- 1 asterisk asterisk      36 Jun 23 13:35 autobuttons.cfg.~1~<br />
-rwxr-x--x 1 root     root        7889 Aug 26 00:19 <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a><br />
-rwxr-x--x 1 asterisk asterisk    7588 Jun 23 13:35 autoconfig-buttons-freepbx.sh.~1~<br />
-rwxr-x--x 1 root     root        3032 Aug 24 00:03 <a href="http://autoconfig-users-freepbx.sh" rel="nofollow ugc">autoconfig-users-freepbx.sh</a><br />
-rwxr-x--x 1 asterisk asterisk    2444 Jun 23 13:35 autoconfig-users-freepbx.sh.~1~<br />
-rw-r--r-- 1 root     root       74974 Jun 23 18:31 borrame.log<br />
-rw-r--r-- 1 root     root        1032 Aug 24 00:03 buttons.cfg.sample<br />
-rw-r--r-- 1 asterisk asterisk    1032 Jun 23 13:35 buttons.cfg.sample.~1~<br />
-rw-r--r-- 1 root     root          91 Aug 25 01:07 buttons_custom.cfg<br />
-rw-r--r-- 1 root     root         122 Aug 24 00:03 extensions_override_freepbx.conf<br />
-rw-r--r-- 1 asterisk asterisk    6569 Jun 23 13:35 extensions_override_freepbx.conf~<br />
-rw-r--r-- 1 asterisk asterisk    3001 Jun 23 13:35 <a href="http://FOP2Callbacks.pm" rel="nofollow ugc">FOP2Callbacks.pm</a><br />
-rw-r--r-- 1 root     root        3001 Aug 24 00:03 FOP2Callbacks.pm.sample<br />
-rw-r--r-- 1 asterisk asterisk    5184 Jul 25 15:55 fop2.cfg<br />
-rw-r--r-- 1 root     root        6200 Aug 24 00:03 fop2.cfg.new<br />
-rw-r--r-- 1 root     root          77 Aug 24 00:03 fop2.lic<br />
-rw-r--r-- 1 root     root          77 Jun 23 13:51 fop2.lic.~1~<br />
-rwxr-x--x 1 root     root     8410474 Aug 24 00:03 fop2_server<br />
-rw-r--r-- 1 root     root        7168 Aug 25 23:35 fop2settings.db<br />
-rwxr-x--x 1 root     root        8219 Aug 24 00:03 generate_override_contexts.pl<br />
-rw-r--r-- 1 root     root        5230 Aug 24 00:00 NEWFOPmezFEJ<br />
-rwxr-xr-x 1 root     root        6934 Aug 24 00:03 recording_fop2.pl<br />
-rwxr-xr-x 1 root     root        6271 Aug 24 00:03 <a href="http://tovoicemail.pl" rel="nofollow ugc">tovoicemail.pl</a><br />
root@pbx:/usr/local/fop2 $</p>
]]></description><link>http://localhost:4567/post/3838</link><guid isPermaLink="true">http://localhost:4567/post/3838</guid><dc:creator><![CDATA[atsak]]></dc:creator><pubDate>Fri, 26 Aug 2011 04:27:33 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Fri, 26 Aug 2011 02:28:59 GMT]]></title><description><![CDATA[<p dir="auto">modify the script a little bit:</p>
<pre><code>echo
if [ -f buttons_custom.cfg ]; then
cat buttons_custom.cfg
else
echo "there is no buttons_custom.cfg file"
echo "there is no buttons_custom.cfg file"
echo "there is no buttons_custom.cfg file"
echo "there is no buttons_custom.cfg file"
echo "there is no buttons_custom.cfg file"
echo "there is no buttons_custom.cfg file"
fi
</code></pre>
<p dir="auto">then execute it and look at the output.</p>
]]></description><link>http://localhost:4567/post/3837</link><guid isPermaLink="true">http://localhost:4567/post/3837</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 26 Aug 2011 02:28:59 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Fri, 26 Aug 2011 00:48:19 GMT]]></title><description><![CDATA[<p dir="auto">You misunderstood what I was saying - the contents of the custom file are not included; I ran the debug as you requested and it did not show the extension in the buttons_custom.cfg file.</p>
<p dir="auto">What I was saying is that the script definitely contains the code to call it (ie I have the current version), and the file definately exists, but the button does not appear.</p>
<p dir="auto">How do I debug why buttons_custom.cfg file can't be loaded?</p>
]]></description><link>http://localhost:4567/post/3836</link><guid isPermaLink="true">http://localhost:4567/post/3836</guid><dc:creator><![CDATA[atsak]]></dc:creator><pubDate>Fri, 26 Aug 2011 00:48:19 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Thu, 25 Aug 2011 22:28:39 GMT]]></title><description><![CDATA[<p dir="auto">I told you already how to debug, run the script and look at the output</p>
<p dir="auto">/usr/local/fop2/autoconfig-buttons-freepbx.sh</p>
<p dir="auto">look at the output, is the contents of your custom file displayed? If it is , then the file IS being include, if it is not then no.</p>
]]></description><link>http://localhost:4567/post/3835</link><guid isPermaLink="true">http://localhost:4567/post/3835</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 25 Aug 2011 22:28:39 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Thu, 25 Aug 2011 22:22:25 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Problem with buttons_custom.cfg is that if you define groups for users, they won't show up as they will not appear in the group definitions.</p>
<p dir="auto">To see if the file is being incuded or not, just run</p>
<p dir="auto">/usr/local/fop2/autoconfig-buttons-freepbx.sh</p>
<p dir="auto">and eximine the output, does it show?</p>
</blockquote>
<p dir="auto">I don't have any groups for users at all, so that's not an issue.</p>
<p dir="auto">It's not being included.   Yet, here's the last few lines of the script.</p>
<p dir="auto">echo<br />
if [ -f buttons_custom.cfg ]; then<br />
cat buttons_custom.cfg<br />
fi</p>
<p dir="auto">And the /usr/local/fop2 folder I have it stored in ls - output</p>
<p dir="auto">-rw-r--r-- 1 asterisk asterisk      91 Aug 25 01:07 buttons_custom.cfg</p>
]]></description><link>http://localhost:4567/post/3834</link><guid isPermaLink="true">http://localhost:4567/post/3834</guid><dc:creator><![CDATA[atsak]]></dc:creator><pubDate>Thu, 25 Aug 2011 22:22:25 GMT</pubDate></item><item><title><![CDATA[Reply to buttons_custom.cfg not being loaded on Thu, 25 Aug 2011 10:04:17 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">New question</p>
<p dir="auto">in buttons_custom.cfg I have</p>
<p dir="auto">[SIP/XXXX]<br />
type=extension<br />
label=Bob<br />
extension=XXXX<br />
context=from-internal<br />
server=10.5.5.253</p>
<p dir="auto">(where XXXX is an extension number)</p>
<p dir="auto">But this extension does not show up in the FOP2 panel.   Did I miss a step?</p>
</blockquote>
<p dir="auto">Problem with buttons_custom.cfg is that if you define groups for users, they won't show up as they will not appear in the group definitions.</p>
<p dir="auto">To see if the file is being incuded or not, just run</p>
<p dir="auto">/usr/local/fop2/autoconfig-buttons-freepbx.sh</p>
<p dir="auto">and eximine the output, does it show?</p>
]]></description><link>http://localhost:4567/post/3833</link><guid isPermaLink="true">http://localhost:4567/post/3833</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 25 Aug 2011 10:04:17 GMT</pubDate></item></channel></rss>