FOP2 not logging in
I have a freshly installed FOP2 setup on a Centos5.6+Asterisk1.8.5.0+FreePBX2.7.0.10 but I cannot get the clients to log in.
I've disabled FOP1 and the FOP2 servers starts up just fine with no noticeable error messages. But when I point a client browser to http://blah/fop2 and enter known extension credentials to log in, nothing happens and it prompts for credential again.
Here's the output when running fop2_server -X 15 and attempting to connect several times from another machine:
Any help/hints greatly appreciated!
I've disabled FOP1 and the FOP2 servers starts up just fine with no noticeable error messages. But when I point a client browser to http://blah/fop2 and enter known extension credentials to log in, nothing happens and it prompts for credential again.
Here's the output when running fop2_server -X 15 and attempting to connect several times from another machine:
** CLEAN SOCKET connection lost removing socket IO::Socket::INET=GLOB(0xa685260)
** CLEAN SOCKET flash client connection lost
No flash clients connected
192.168.1.104 => <?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" secure="false" to-ports="4445" />
</cross-domain-policy>
** CLEAN SOCKET connection lost removing socket IO::Socket::INET=GLOB(0x84ca090)
** CLEAN SOCKET flash client connection lost
No flash clients connected
192.168.1.104 <= <msg data="GENERAL|contexto|1|" />
192.168.1.104 => { "btn": "0", "cmd": "key", "data": "lcfgME5Me2vwcjyGW", "slot": "" }
192.168.1.104 => { "btn": "0@GENERAL", "cmd": "version", "data": "2.21!!1", "slot": "" }
192.168.1.104 <= <msg data="1|auth|102|7ee91cb5d3cc01e6e858150b50de47bd" />
192.168.1.104 => { "btn": "0", "cmd": "incorrect", "data": "0", "slot": "" }
** CLEAN SOCKET connection lost removing socket IO::Socket::INET=GLOB(0xa68543c)
** CLEAN SOCKET flash client connection lost
No flash clients connected
192.168.1.104 <= <msg data="GENERAL|contexto|1|" />
192.168.1.104 => { "btn": "0", "cmd": "key", "data": "E5NqiQdHMOEbnCBLFD", "slot": "" }
192.168.1.104 => { "btn": "0@GENERAL", "cmd": "version", "data": "2.21!!1", "slot": "" }
192.168.1.104 <= <msg data="1|auth|102|eaf64aacb19a53dce9173091fa718b24" />
192.168.1.104 => { "btn": "0", "cmd": "incorrect", "data": "0", "slot": "" }
** CLEAN SOCKET connection lost removing socket IO::Socket::INET=GLOB(0xa3f51a4)
** CLEAN SOCKET flash client connection lost
No flash clients connected
192.168.1.104 <= <msg data="GENERAL|contexto|1|" />
192.168.1.104 => { "btn": "0", "cmd": "key", "data": "IBXsbkzggRGv96OgDOvKpkdP4RoEk7l", "slot": "" }
192.168.1.104 => { "btn": "0@GENERAL", "cmd": "version", "data": "2.21!!1", "slot": "" }
192.168.1.104 <= <msg data="1|auth|102|2cdb2205ef72b1560d55603bd5ac3d2f" />
192.168.1.104 => { "btn": "0", "cmd": "incorrect", "data": "0", "slot": "" }
Any help/hints greatly appreciated!
Comments
/usr/local/fop2/autoconfig-users-freepbx.sh
look at the user=xxx lines
You are not passing the correct credentials for 102.
Best regards,
If it's associated, I havent been able to install the freepbx module. The module admin will upload the module, but when I try to install it, it just sits there with the orange box saying "Please wait while module actions are performed"
Or perhaps you have a broken fop2admin install and instead of reading voicemail.conf it reads the fop2admin database that is probably empty. In that case you should uninstall fop2admin or remove the fop2admin tables from the asterisk database (all the fop2XXXXX tables, like fop2users, fop2buttons, etc).
Best regards,
I just tried nuking the database entries along with reinstalling the tarball to start over. No luck. The fop2admin module wont get installed. I do have a valid voicemail entry.
If you are still out of luck you can configure things manually, but you will have to work it out a little bit: If autoconfig-buttons-freepbx.sh does output some valid configs, you can create users manually in fop2.cfg and set buttonfile=autobuttons.cfg
But I think it will be better to troubleshot your fop2admin problem, look at the apache error logs for clues..
Here's what /var/log/httpd/error_log reports when I try to install fop2admin module:
These numbers, 500 to 504, represent Ring Groups I have defined.
A search for the queues_list function returns only one instance of it:
I installed the Queues module and now the fop2admin module installs! Hum, so you may want to put a note in the documentation that the Queues module must be installed to install fop2admin module. This particular system doesnt have Queues, nor does a stock install of AsteriskNow include the Queues module.