<?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 file for multiple freepbx]]></title><description><![CDATA[<p dir="auto">Hi,  I know its possible to link 2x asterisk boxs to fop2 by putting the 2nd PBX in the fop2.cfg file</p>
<p dir="auto">However, as these are Freepbx based, the buttons are configured automatically by the fop2 module for FPBX.</p>
<p dir="auto">I want to show the buttons from PBX2 on PBX1<br />
This is probably not something that can be done automatically - but could get fop2 to read the autobuttons file AND the manual buttons file??</p>
<p dir="auto">I could then have all PBX1 buttons created automatically, and just manually add the few extra buttons for PBX2</p>
<p dir="auto">Is this possible?</p>
]]></description><link>http://localhost:4567/topic/1279/buttons-file-for-multiple-freepbx</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 04:05:17 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/1279.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Oct 2012 18:48:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to buttons file for multiple freepbx on Tue, 20 Nov 2012 15:34:41 GMT]]></title><description><![CDATA[<p dir="auto">Thanks!  That seems to have worked!</p>
]]></description><link>http://localhost:4567/post/5720</link><guid isPermaLink="true">http://localhost:4567/post/5720</guid><dc:creator><![CDATA[cbsys]]></dc:creator><pubDate>Tue, 20 Nov 2012 15:34:41 GMT</pubDate></item><item><title><![CDATA[Reply to buttons file for multiple freepbx on Thu, 08 Nov 2012 11:28:45 GMT]]></title><description><![CDATA[<p dir="auto">it is correct, but you can just run the script on the local machine, the error will be the same. You can modify the script as I said in the previous post, if you have fop2admin installed, just set the variable to 1 and remove the block that tests for its existence and that for some reason is giving you that error only on one of the servers.</p>
]]></description><link>http://localhost:4567/post/5719</link><guid isPermaLink="true">http://localhost:4567/post/5719</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 08 Nov 2012 11:28:45 GMT</pubDate></item><item><title><![CDATA[Reply to buttons file for multiple freepbx on Thu, 08 Nov 2012 09:54:54 GMT]]></title><description><![CDATA[<p dir="auto">I have fop2 admin on both servers</p>
<p dir="auto">Server 1 calls the script <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> on server 2 via SSH<br />
<a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> script on server 2 has server=x.x.x.x  as the first line (correct IP address though!)</p>
<p dir="auto">Is this incorrect?  It seems to be the correct method you mentioned previously on this thread.</p>
]]></description><link>http://localhost:4567/post/5718</link><guid isPermaLink="true">http://localhost:4567/post/5718</guid><dc:creator><![CDATA[cbsys]]></dc:creator><pubDate>Thu, 08 Nov 2012 09:54:54 GMT</pubDate></item><item><title><![CDATA[Reply to buttons file for multiple freepbx on Thu, 08 Nov 2012 03:22:36 GMT]]></title><description><![CDATA[<p dir="auto">If the script runs on one server, it should also run on the other. What modifications did you do? Perhaps some kind of syntax error was introduced (?). Have you installed fop2admin on that server? The particular line that gives you an error and the 3 previous lines can be removed and replaced with FOP2PLUGIN=1 if fop2admin is already installed.</p>
]]></description><link>http://localhost:4567/post/5717</link><guid isPermaLink="true">http://localhost:4567/post/5717</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Thu, 08 Nov 2012 03:22:36 GMT</pubDate></item><item><title><![CDATA[Reply to buttons file for multiple freepbx on Fri, 26 Oct 2012 15:12:05 GMT]]></title><description><![CDATA[<p dir="auto">Nicolas,</p>
<p dir="auto">Ive just finished setting that up, but when we run the buttons script on PBX2 from PBX1 we get this error-</p>
<p dir="auto">/root/autoconfig-buttons-freepbx.sh: line 41: syntax error near unexpected token <code>&lt;' /root/autoconfig-buttons-freepbx.sh: line 41: </code>done &lt; &lt;( mysql -NB -u $DBUSER -p$DBPASS -h $DBHOST $DBNAME -e "SHOW tables FROM `$DBNAME` LIKE 'fop2users'" )'</p>
]]></description><link>http://localhost:4567/post/5716</link><guid isPermaLink="true">http://localhost:4567/post/5716</guid><dc:creator><![CDATA[cbsys]]></dc:creator><pubDate>Fri, 26 Oct 2012 15:12:05 GMT</pubDate></item><item><title><![CDATA[Reply to buttons file for multiple freepbx on Sun, 21 Oct 2012 11:26:18 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, I should be able to do that without too much difficulty!</p>
]]></description><link>http://localhost:4567/post/5715</link><guid isPermaLink="true">http://localhost:4567/post/5715</guid><dc:creator><![CDATA[cbsys]]></dc:creator><pubDate>Sun, 21 Oct 2012 11:26:18 GMT</pubDate></item><item><title><![CDATA[Reply to buttons file for multiple freepbx on Fri, 19 Oct 2012 21:22:49 GMT]]></title><description><![CDATA[<p dir="auto">Its possible but you have to do several tweak by hand</p>
<ol>
<li>setup passwordless ssh between both servers</li>
<li>install fop2admin on the 2nd asterisk box</li>
<li>copy <a href="http://autoconfig-users-freepbx.sh" rel="nofollow ugc">autoconfig-users-freepbx.sh</a> and <a href="http://autoconfig-buttons-freepbx.sh" rel="nofollow ugc">autoconfig-buttons-freepbx.sh</a> into the 2ndary box</li>
<li>edit those scripts to add a server=x.x.x.x line, and display only extensions to avoid name collisions with trunks/park</li>
<li>edit autoconfig scripts on main server to run via ssh autoconfig scripts in the remote box</li>
</ol>
<p dir="auto">We do this kind of work, for a fee. It is not <em>that</em> hard but it is not easy either, it takes time to set everything up.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/5714</link><guid isPermaLink="true">http://localhost:4567/post/5714</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 19 Oct 2012 21:22:49 GMT</pubDate></item></channel></rss>