<?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[FOP2 completely empty]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I was trying to install FOP2, and everything went fine, from the logs, everything should be working as intended. However, when I log into FOP2, I do not see anything. No extensions, no trunks. I see the filter bar, but no other button (except the phonebook).</p>
<p dir="auto">I am using FreePBX 2.7, all the tables (fop2) are there in the database, all the auto-scripts seem to work (the tables are populated), but no matter what I do, nothing is showing up. I have spent a great deal of time trying to figure it out, but I am at a loss now. I have installed the FreePBX module as well and configured some users, but no matter what I do, nothing shows up.</p>
<p dir="auto">I have created users that match users of my Asterisk installation, with the same password as the voicemail password I set up on Asterisk.</p>
<p dir="auto">I would really appreciate any help. I have tried pretty much everything I could think of before posting this.</p>
<p dir="auto">Thanks!</p>
]]></description><link>http://localhost:4567/topic/369/fop2-completely-empty</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 07:01:59 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/369.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 25 Apr 2010 21:33:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FOP2 completely empty on Tue, 03 Aug 2010 12:37:24 GMT]]></title><description><![CDATA[<p dir="auto">Yes, it is a mysql version problem, I think I fixed the autoconfig script for the beta/dev version already. But I did not remember what mysql parameter was the one causing the trouble.</p>
]]></description><link>http://localhost:4567/post/1704</link><guid isPermaLink="true">http://localhost:4567/post/1704</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 03 Aug 2010 12:37:24 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 completely empty on Mon, 02 Aug 2010 16:18:51 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<pre><code>It finally works!
</code></pre>
<p dir="auto">Why is it not working with the base script? Is it a version problem (mysql) ?</p>
]]></description><link>http://localhost:4567/post/1703</link><guid isPermaLink="true">http://localhost:4567/post/1703</guid><dc:creator><![CDATA[wickedsun]]></dc:creator><pubDate>Mon, 02 Aug 2010 16:18:51 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 completely empty on Sun, 01 Aug 2010 15:11:13 GMT]]></title><description><![CDATA[<p dir="auto">That looks fine, with that output the button config should work.</p>
]]></description><link>http://localhost:4567/post/1702</link><guid isPermaLink="true">http://localhost:4567/post/1702</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Sun, 01 Aug 2010 15:11:13 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 completely empty on Fri, 30 Jul 2010 20:34:21 GMT]]></title><description><![CDATA[<p dir="auto">There you go:</p>
<pre><code>*************************** 1. row ***************************
         channel: USER/100
            type: extension
       extension: 100
           label: Main Line
         mailbox: 
         context: from-internal
    queuecontext: 
  extenvoicemail: *
         privacy: none
           group: 
           email: wickedsun@gmail.com
    queuechannel: 
originatechannel: 
*************************** 2. row ***************************
         channel: USER/200
            type: extension
       extension: 200
           label: Charles
         mailbox: 
         context: from-internal
    queuecontext: 
  extenvoicemail: *
         privacy: none
           group: 
           email: wickedsun@gmail.com
    queuechannel: 
originatechannel: 
*************************** 3. row ***************************
         channel: USER/900
            type: extension
       extension: 900
           label: Fop2
         mailbox: 900@default
         context: from-internal
    queuecontext: 
  extenvoicemail: *900@default
         privacy: none
           group: 
           email: wickedsun@gmail.com
    queuechannel: 
originatechannel: 
*************************** 4. row ***************************
         channel: PARK/default
            type: park
       extension: 
           label: 
         mailbox: 
         context: parkedcalls
    queuecontext: 
  extenvoicemail: *
         privacy: 
           group: 
           email: 
    queuechannel: 
originatechannel: 
*************************** 5. row ***************************
         channel: SIP/voicenetwork-canada
            type: trunk
       extension:  
           label: SIP/voicenetwork-canada
         mailbox: 
         context: 
    queuecontext: 
  extenvoicemail: *
         privacy: 
           group: 
           email: 
    queuechannel: 
originatechannel: 
*************************** 6. row ***************************
         channel: SIP/callcentric
            type: trunk
       extension:  
           label: SIP/callcentric
         mailbox: 
         context: 
    queuecontext: 
  extenvoicemail: *
         privacy: 
           group: 
           email: 
    queuechannel: 
originatechannel: 
*************************** 7. row ***************************
         channel: SIP/voipms
            type: trunk
       extension:  
           label: SIP/voipms
         mailbox: 
         context: 
    queuecontext: 
  extenvoicemail: *
         privacy: 
           group: 
           email: 
    queuechannel: 
originatechannel: 
*************************** 8. row ***************************
         channel: SIP/voicenetwork-usa
            type: trunk
       extension:  
           label: SIP/voicenetwork-usa
         mailbox: 
         context: 
    queuecontext: 
  extenvoicemail: *
         privacy: 
           group: 
           email: 
    queuechannel: 
originatechannel: 
</code></pre>
<p dir="auto">Does anything look out of place?</p>
]]></description><link>http://localhost:4567/post/1701</link><guid isPermaLink="true">http://localhost:4567/post/1701</guid><dc:creator><![CDATA[wickedsun]]></dc:creator><pubDate>Fri, 30 Jul 2010 20:34:21 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 completely empty on Fri, 30 Jul 2010 18:32:09 GMT]]></title><description><![CDATA[<p dir="auto">Try using only -E . The output should look like this (vertical display):</p>
<p dir="auto">*************************** 36. row ***************************<br />
channel: SIP/gsm<br />
type: trunk<br />
extension:<br />
label: SIP/gsm<br />
mailbox:<br />
context:<br />
queuecontext:<br />
extenvoicemail: *<br />
privacy:<br />
group:<br />
email:<br />
queuechannel:<br />
originatechannel:</p>
]]></description><link>http://localhost:4567/post/1700</link><guid isPermaLink="true">http://localhost:4567/post/1700</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 30 Jul 2010 18:32:09 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 completely empty on Fri, 30 Jul 2010 15:36:16 GMT]]></title><description><![CDATA[<p dir="auto">Just as an FYI, this is what the table looks like with your query</p>
<pre><code>mysql -NB -u $DBUSER -p$DBPASS -h $DBHOST $DBNAME -e "SELECT if(type='extension',CONCAT('USER/',exten),device) AS channel,type,if(type&lt;&gt;'trunk',exten,' ') AS extension,label,mailbox,context,'$QUEUECONTEXT' as queuecontext,CONCAT('*',mailbox) AS extenvoicemail, privacy,\`group\`,IF(type='trunk',IF(email&lt;&gt;'',CONCAT('splitme-',email),''),email) as email, queuechannel,originatechannel FROM fop2buttons WHERE device&lt;&gt;'' ORDER BY type,exten"
</code></pre>
<p dir="auto">The table:</p>
<pre><code>USER/100        extension       100     Main Line               from-internal           *       none            wickedsun@gmail.com
USER/200        extension       200     Charles         from-internal           *       none            wickedsun@gmail.com
USER/900        extension       900     Fop2    900@default     from-internal           *900@default    none            wickedsun@gmail.com
PARK/default    park                            parkedcalls             *
SIP/voicenetwork-canada trunk           SIP/voicenetwork-canada                         *
SIP/callcentric trunk           SIP/callcentric                         *
SIP/voipms      trunk           SIP/voipms                              *
SIP/voicenetwork-usa    trunk           SIP/voicenetwork-usa                            *
</code></pre>
]]></description><link>http://localhost:4567/post/1699</link><guid isPermaLink="true">http://localhost:4567/post/1699</guid><dc:creator><![CDATA[wickedsun]]></dc:creator><pubDate>Fri, 30 Jul 2010 15:36:16 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 completely empty on Fri, 30 Jul 2010 15:11:44 GMT]]></title><description><![CDATA[<pre><code>./autoconfig-buttons-freepbx.sh
SIP/100 extension 100 Main Line from-internal from-queue autobuttons.cfg autobuttons.cfg.~1~ autobuttons.cfg.~2~ autobuttons.cfg.~3~ autoconfig-buttons-freepbx.sh autoconfig-buttons-freepbx.sh.~1~ autoconfig-buttons-freepbx.sh.~2~ autoconfig-buttons-freepbx.sh.~3~ autoconfig-users-freepbx.sh autoconfig-users-freepbx.sh.~1~ autoconfig-users-freepbx.sh.~2~ autoconfig-users-freepbx.sh.~3~ buttons.cfg.sample buttons.cfg.sample.~1~ buttons.cfg.sample.~2~ buttons.cfg.sample.~3~ extensions_override_freepbx.conf extensions_override_freepbx.conf~ FOP2Callbacks.pm FOP2Callbacks.pm.sample FOP2Callbacks.pm.sample.~1~ FOP2Callbacks.pm.sample.~2~ fop2.cfg fop2.cfg.new fop2_server op_lang_de.cfg op_lang_de.cfg~ op_lang_en.cfg op_lang_en.cfg~ op_lang_es.cfg op_lang_es.cfg~ op_lang_fr_FR.cfg op_lang_fr_FR.cfg~ op_lang_it.cfg op_lang_it.cfg~ op_lang_pt_BR.cfg op_lang_pt_BR.cfg~ op_lang_zh.cfg op_lang_zh.cfg~ none
</code></pre>
<p dir="auto">Apparently, it only removes the CRs from the request.</p>
<p dir="auto">Any other ideas?</p>
]]></description><link>http://localhost:4567/post/1698</link><guid isPermaLink="true">http://localhost:4567/post/1698</guid><dc:creator><![CDATA[wickedsun]]></dc:creator><pubDate>Fri, 30 Jul 2010 15:11:44 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 completely empty on Fri, 30 Jul 2010 09:03:37 GMT]]></title><description><![CDATA[<p dir="auto">Try to change the mysql parameters to -NB instead of -ENB</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/1697</link><guid isPermaLink="true">http://localhost:4567/post/1697</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 30 Jul 2010 09:03:37 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 completely empty on Thu, 29 Jul 2010 19:35:47 GMT]]></title><description><![CDATA[<p dir="auto">Hey there,</p>
<p dir="auto">I have found a "problem" with the script (and this is a fresh install of the OS). Since my first post, I have reinstalled the entire OS and I am still getting the same problem.</p>
<p dir="auto">Apparently, some rows contain a * in the SQL request, causing the while loop to fail:</p>
<pre><code>mysql -ENB -u $DBUSER -p$DBPASS -h $DBHOST $DBNAME -e \
    "SELECT if(type='extension',CONCAT('USER/',exten),device) AS channel,type,if(type&lt;&gt;'trunk',exten,' ') AS extension,\
    label,mailbox,context,'$QUEUECONTEXT' as queuecontext,concat('*',mailbox) AS extenvoicemail, \
    privacy,\`group\`,IF(type='trunk',IF(email&lt;&gt;'',concat('splitme-',email),''),email) as email, \
    queuechannel,originatechannel FROM fop2buttons WHERE device&lt;&gt;'' ORDER BY type,exten" | \
    sed '/\*\*/d' | sed 's/: /=/g' | sed '/.*=$/d' | while read LINEA
</code></pre>
<p dir="auto">If the line is a *, then it will parse the files in the directoy, like so:</p>
<pre><code>SIP/100
extension
100
Main Line

from-internal
from-queue
autobuttons.cfg autobuttons.cfg.~1~ autobuttons.cfg.~2~ autobuttons.cfg.~3~ autoconfig-buttons-freepbx.sh autoconfig-buttons-freepbx.sh.~1~ autoconfig-buttons-freepbx.sh.~2~ autoconfig-buttons-freepbx.sh.~3~ autoconfig-users-freepbx.sh autoconfig-users-freepbx.sh.~1~ autoconfig-users-freepbx.sh.~2~ autoconfig-users-freepbx.sh.~3~ buttons.cfg.sample buttons.cfg.sample.~1~ buttons.cfg.sample.~2~ buttons.cfg.sample.~3~ extensions_override_freepbx.conf extensions_override_freepbx.conf~ FOP2Callbacks.pm FOP2Callbacks.pm.sample FOP2Callbacks.pm.sample.~1~ FOP2Callbacks.pm.sample.~2~ fop2.cfg fop2.cfg.new fop2_server op_lang_de.cfg op_lang_de.cfg~ op_lang_en.cfg op_lang_en.cfg~ op_lang_es.cfg op_lang_es.cfg~ op_lang_fr_FR.cfg op_lang_fr_FR.cfg~ op_lang_it.cfg op_lang_it.cfg~ op_lang_pt_BR.cfg op_lang_pt_BR.cfg~ op_lang_zh.cfg op_lang_zh.cfg~
none
</code></pre>
<p dir="auto">Now, I added a sed 's/*/ /' before the while, but the buttons are still not showing up in the interface. I don't know exactly what it's supposed to look like (the final output) so it's hard to figure out what's wrong with the output I get. Could you enlighten me?</p>
<p dir="auto">This is the actual output from the SQL request, without the sed:</p>
<pre><code>SIP/100
extension
100
Main Line

from-internal
from-queue
*
none
</code></pre>
]]></description><link>http://localhost:4567/post/1696</link><guid isPermaLink="true">http://localhost:4567/post/1696</guid><dc:creator><![CDATA[wickedsun]]></dc:creator><pubDate>Thu, 29 Jul 2010 19:35:47 GMT</pubDate></item><item><title><![CDATA[Reply to FOP2 completely empty on Wed, 28 Apr 2010 13:12:10 GMT]]></title><description><![CDATA[<p dir="auto">Please run the following script in the linux command line:</p>
<p dir="auto">/usr/local/fop2/autoconfig-buttons-freepbx.sh</p>
<p dir="auto">And look at the output, it should look like valid fop2 button configuration data. If that script fails and it does not produce output, then that is the problem you have and that needs fixing.</p>
]]></description><link>http://localhost:4567/post/1695</link><guid isPermaLink="true">http://localhost:4567/post/1695</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Wed, 28 Apr 2010 13:12:10 GMT</pubDate></item></channel></rss>