<?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[Cannot login to FOP2]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Just upgraded to v2.11 and find that I can't get a login as an extension. FOP2 is running on port 4445 and appears to be OK, however I enter the extension number and password on starting the flash client, then it attempts to connect to the server but fails. fop2_server -X 15 gives:</p>
<p dir="auto">192.168.200.33  =&gt; &lt;?xml version="1.0"?&gt;<br />
&lt;!DOCTYPE cross-domain-policy SYSTEM "<a href="http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd" rel="nofollow ugc">http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd</a>"&gt;<br />
&lt;cross-domain-policy&gt;<br />
&lt;allow-access-from domain="*" secure="false" to-ports="4445" /&gt;<br />
&lt;/cross-domain-policy&gt;</p>
<p dir="auto">** CLEAN SOCKET  connection lost removing socket IO::Socket::INET=GLOB(0xab01ce8)<br />
** CLEAN SOCKET  flash client connection lost<br />
No flash clients connected</p>
<p dir="auto">192.168.200.33  &lt;= &lt;msg data="GENERAL|contexto|1|" /&gt;<br />
192.168.200.33  =&gt; { 'btn': '0', 'cmd': 'key', 'data': 'ZiQmv0sh6uNJNcm7WbgeuLpCg', 'slot': '' }</p>
<p dir="auto">192.168.200.33  =&gt; { 'btn': '0@GENERAL', 'cmd': 'version', 'data': '2.11', 'slot': '' }</p>
<p dir="auto">192.168.200.33  &lt;= &lt;msg data="1|auth|501|e1a60eeb9f4026059a177f3f3e22bb4e" /&gt;<br />
192.168.200.33  =&gt; { 'btn': '0', 'cmd': 'incorrect', 'data': '0', 'slot': '' }</p>
<p dir="auto">** CLEAN SOCKET  connection lost removing socket IO::Socket::INET=GLOB(0xaa38c44)<br />
** CLEAN SOCKET  flash client connection lost<br />
No flash clients connected</p>
<p dir="auto">Any ideas?</p>
<p dir="auto">Cheers,</p>
<p dir="auto">Carlos</p>
]]></description><link>http://localhost:4567/topic/382/cannot-login-to-fop2</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 04:01:14 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/382.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 30 Apr 2010 13:53:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cannot login to FOP2 on Tue, 04 May 2010 19:31:15 GMT]]></title><description><![CDATA[<p dir="auto">Hola Carlos,</p>
<p dir="auto">The <a href="http://autoconfig-users-scripts.sh" rel="nofollow ugc">autoconfig-users-scripts.sh</a> first try to determine if you have the table created or not, maybe that part is failing or not correctly done ? The table is created when you install the fop2admin freepbx module, that lets you manage users password, permissions and groups from the web gui.</p>
<pre><code>for A in `mysql -NB -u $DBUSER -p$DBPASS -h $DBHOST $DBNAME -e "SHOW tables FROM asterisk LIKE 'fop2users'"`
do
let FOP2PLUGIN=FOP2PLUGIN+1
done
</code></pre>
<p dir="auto">That is the part of the script that will increment the FOP2PLUGIN variable if it finds the fop2user table. Perhaps you can add an echo line so we can debug why it is failing:</p>
<pre><code>for A in `mysql -NB -u $DBUSER -p$DBPASS -h $DBHOST $DBNAME -e "SHOW tables FROM asterisk LIKE 'fop2users'"`
do
echo $A
let FOP2PLUGIN=FOP2PLUGIN+1
done
</code></pre>
<p dir="auto">You can also just set the variable to zero after that snippet to force the regular user creationg based on voicemail.conf... but if you use freepbx the fop2admin module is much better.</p>
<p dir="auto">Best regards,</p>
]]></description><link>http://localhost:4567/post/1758</link><guid isPermaLink="true">http://localhost:4567/post/1758</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Tue, 04 May 2010 19:31:15 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot login to FOP2 on Tue, 04 May 2010 11:24:02 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Nicolas,</p>
<p dir="auto">You're correct, there's no appropriate output. Checking the MySQL databases, there's no such table as 'fop2users' within the 'asterisk' database, hence <a href="http://autoconfig-users.sh" rel="nofollow ugc">autoconfig-users.sh</a> produces no output other than the button file.</p>
<p dir="auto">How was that supposed to be added? During the installation of FOP2?</p>
<p dir="auto">Cheers,</p>
<p dir="auto">Carlos.</p>
]]></description><link>http://localhost:4567/post/1757</link><guid isPermaLink="true">http://localhost:4567/post/1757</guid><dc:creator><![CDATA[CTJackal]]></dc:creator><pubDate>Tue, 04 May 2010 11:24:02 GMT</pubDate></item><item><title><![CDATA[Reply to Cannot login to FOP2 on Fri, 30 Apr 2010 15:08:52 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Run the script <a href="http://autoconfig-users-freepbx.sh" rel="nofollow ugc">autoconfig-users-freepbx.sh</a> in the linux command line and look for the output for valid extnesions and passwords to login.</p>
]]></description><link>http://localhost:4567/post/1756</link><guid isPermaLink="true">http://localhost:4567/post/1756</guid><dc:creator><![CDATA[nicolas]]></dc:creator><pubDate>Fri, 30 Apr 2010 15:08:52 GMT</pubDate></item></channel></rss>