ernied

Member

Last active 6 years ago

  1. 6 years ago
    Fri Feb 23 19:30:24 2018
    ernied started the conversation Full wallboard and outbound calls..

    Hi everyone!

    Recently I went through the installation procedure for installing the full Wallboard here: https://www.fop2.com/docs/wallboard_guide.php

    Which also referenced this page: http://www.asternic.net/docs/#OutboundCallTrackingandFreePBX

    After following that very carefully, I was able to see outbound calls in Asternic Call Center Stats, but the count for outbound calls was always zero in the full wallboard.

    After turning on the debugging in the getstatsfromasternic.php script (located in /var/www/html/fop2/admin/plugins/fullwallboard on a standard FreePBX installation), I found that the problem existed in the database where Asternic keeps its settings and statistics. getstatsfromasternic.php looked for the settings for what the outbound call queue was called with the following MySQL call:

     SELECT * FROM setup WHERE keyword='call_flow' OR keyword='sla_answered';
    +----+--------------+------------+----------+
    | id | keyword      | parameter  | value    |
    +----+--------------+------------+----------+
    | 45 | call_flow    | queue_name | outbound |
    | 23 | sla_answered |            | 60       |
    +----+--------------+------------+----------+
    2 rows in set (0.00 sec)

    However, for the wallboard to work properly, it requires that both the parameter AND value fields be set to the name you gave your outbound queue. I had to do the following MySQL query to fix the problem:

    UPDATE setup SET parameter='outbound' WHERE keyword='call_flow';

    So far, I haven't noticed any bad side effects to this change, but I remain wary. I'm sure that other people will find this documentation helpful. I'm not sure if there's any way to make this change except by updating the database directly through the MySQL console.

  2. Fri Feb 23 19:15:16 2018
    ernied posted in Is fop2 dead?.

    Well... I suppose it's a good thing we've got a community forum to continue to support it among ourselves, for what that's worth.

  3. 7 years ago
    Tue Sep 5 21:16:26 2017

    Okay, that's all I needed to do! Thank you for your help!

  4. Tue Aug 29 21:30:57 2017

    Hi everyone.

    Today, I did a fresh install of AsteriskNow, then immediately ran the one-step install script described at https://www.fop2.com/docs/installation.php#Installationwithonecommand , and I can't log into the FOP2 Manager with the default username and password. I even tried changing the password in the MySQL database (using UPDATE fop2managerusers SET password=SHA1('newpassword');) but without any luck. I've checked the configuration of the FOP2 Manager in /var/www/html/fop2/admin/config.php and I see the 'USE_BACKEND_AUTH' set to "true".

    I'm not sure where to go from here. Any help is appreciated!

  5. 11 years ago
    Wed May 22 18:16:38 2013

    Nevermind, I found the issue.

    For future reference (and for others with the same problem), edit /usr/local/fop2/fop2.cfg and change "spy_options" to "bq". It looks like this might be the default, but we had it set to "o" for some reason.

  6. Wed May 22 17:10:32 2013
    ernied started the conversation Listen only works for local audio..

    We have FOP2 version 2.27 running on a Debian Asterisk PBX (v 1.8.13.1) for our office. Any time we try to use the Listen feature in FOP2, we can only hear one side of the conversation. It doesn't matter if the call is local or if it's going through our SIP trunk, we can only hear the audio being transmitted from the extension we selected before clicking "Listen".

  7. Thu May 16 17:11:31 2013
    ernied started the conversation How to uninstall FOP2?.

    We're using Asterisk on Debian 7 (recently upgraded from Debian 6), and we're having some issues getting FOP2 to work. Specifically, when I try to start fop2 through the init script or by running /usr/local/fop2/fop2_server, I get the following error:

    Starting Flash Operator Panel 2: fop2Can't load '/tmp/par-root/cache-bd84369857edf71ae914444b0d29dbae09dc34e4/a491a08b.so' for module Filter::Crypto::Decrypt: libcrypto.so.0.9.8: cannot open shared object file: No such file or directory at /usr/lib/perl/5.8/DynaLoader.pm line 225.
     at /usr/share/perl5/PAR/Heavy.pm line 107
    BEGIN failed--compilation aborted at /tmp/par-root/cache-bd84369857edf71ae914444b0d29dbae09dc34e4/inc/lib/Filter/Crypto/Decrypt.pm line 37.
    Compilation failed in require at script/fop2_server.pl line 1.
    BEGIN failed--compilation aborted at script/fop2_server.pl line 1.

    As far as I can tell, the biggest problem is that /usr/lib/perl/5.8/DynaLoader.pm now lives at /usr/lib/perl/5.14.2/DynaLoader.pm. Re-compiling FOP2 should fix this problem (and probably several others that I have yet to detect), but it seems that FOP2 will just upgrade itself when it detects its presence on the server. Therefore, in order to fix the path issues, I need to completely remove FOP2 from the machine.

  8. 13 years ago
    Tue Aug 23 22:05:28 2011
    ernied started the conversation Maximum number of SIP peers?.

    FOP2 says that the free version is limited to 15 extensions. We're trying to test the software to see if it's at all suitable for what *we* do, which is generally acting like an incumbent telephone company using an internet PBX, as well as some hosted PBX services.

    The trick is, that we already have hundreds of SIP clients. And when I run `fop2_server -X 15` for debugging, it periodically refreshes the SIP peer list and it lists many screenfuls before stopping, apparently at some random spot in the list. At the end, it shows this message:

    ** CLEAN SOCKET  connection lost removing socket IO::Socket::INET=GLOB(0xa4f81d8)
    ** CLEAN SOCKET  Connection lost to server 0
    
    CLEAN activity for buttons for server 0 as the connection was lost

    Is this because FOP2 simply can't handle the number of SIP peers that we have, or is there something else going on here? It's also not displaying any buttons in the panel after I log in.

  9. Tue Aug 23 21:04:18 2011

    We've just installed FOP 2.21 on a Debian system running Asterisk 1.8.5. After successfully logging in with a user defined in /usr/local/fop2/fop2.cfg, I get a popup window with the error "Manager connection problem".

    Besides being a vague error message, I'm really not sure where to go from here. I've followed the directions for installation at http://www.fop2.com/documentation-insta ... arball.php and gleaned the user configuration from http://www.fop2.com/documentation-userm ... gin-in.php. Not only is there no mention of this error, it appears to be the assumption that everything should be working fine from here.

    I've also found a few details about how to debug FOP2 from other forum messages, so here's the output from /usr/local/fop2/fop2_server -X 15:

    Flash Operator Panel 2 - No valid license found. Demo Mode
    
    ** MANAGER CONNECTION Connecting to localhost:5038 (Server 0)
    ** MANAGER CONNECTION Connected to localhost:5038 (Server 0)
    
    127.0.0.1       -> Action: Challenge
    127.0.0.1       -> AuthType: MD5
    
    127.0.0.1       <- Asterisk Call Manager/1.1
    127.0.0.1       <- Response: Success
    127.0.0.1       <- Challenge: 203534767
    127.0.0.1       <- Server: 0
    
    127.0.0.1       -> Action: Login
    127.0.0.1       -> Username: admin
    127.0.0.1       -> AuthType: MD5
    127.0.0.1       -> Key: e20d04d7ee18b5238ce0ff9afa7de443
    
    127.0.0.1       <- Response: Error
    127.0.0.1       <- Message: Authentication failed
    127.0.0.1       <- Server: 0
    
    ** CLEAN SOCKET  connection lost removing socket IO::Socket::INET=GLOB(0xba20dbc)
    ** CLEAN SOCKET  Connection lost to server 0
    
    CLEAN activity for buttons for server 0 as the connection was lost
    
    ** MANAGER CONNECTION Connecting to localhost:5038 (Server 0)
    ** MANAGER CONNECTION Connected to localhost:5038 (Server 0)
    
    Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xbcd9300) (unauthenticated or connection failed)
    
    127.0.0.1       -> Action: Challenge
    127.0.0.1       -> AuthType: MD5
    
    65.110.29.154   => HTTP/1.1 101 WebSocket Protocol Handshake
    Upgrade: WebSocket
    Connection: Upgrade
    Sec-WebSocket-Origin: http://voip.lightspeed.ca
    Sec-WebSocket-Location: ws://voip.lightspeed.ca:4445/
    
    
    -ŠÍ¸dè1ÏF†"õgI
    
    127.0.0.1       <- Asterisk Call Manager/1.1
    127.0.0.1       <- Response: Success
    127.0.0.1       <- Challenge: 146891476
    127.0.0.1       <- Server: 0
    
    127.0.0.1       -> Action: Login
    127.0.0.1       -> Username: admin
    127.0.0.1       -> AuthType: MD5
    127.0.0.1       -> Key: 8e32099bd3eac31e7e619731386ad094
    
    65.110.29.154   <= <msg data="GENERAL|contexto|1|" />
    65.110.29.154   => { "btn": "0", "cmd": "key", "data": "vXjnM8208zvsdSzMN4foxA1CmbKqzejnMZSJ5", "slot": "" }
    
    65.110.29.154   => { "btn": "0@GENERAL", "cmd": "version", "data": "2.21!!1", "slot": "" }
    
    65.110.29.154   <= <msg data="1|auth|ernied|dfd99345766202202283790218fe1470" />
    65.110.29.154   => { "btn": "0@GENERAL", "cmd": "preferences", "data": "e30=", "slot": "" }
    
    65.110.29.154   => { "btn": "0@GENERAL", "cmd": "vmailpath", "data": "/var/spool/asterisk/voicemail", "slot": "" }
    
    65.110.29.154   => { "btn": "0@GENERAL", "cmd": "permit", "data": "YWxs", "slot": "" }
    
    65.110.29.154   => { "btn": "0@GENERAL", "cmd": "permitbtn", "data": "YWxsITA=", "slot": "" }
    
    65.110.29.154   => { "btn": "1@GENERAL", "cmd": "zbuttons", "data": "AwA=", "slot": "" }
    
    65.110.29.154   <= <msg data="1|initState||dfd99345766202202283790218fe1470" />
    65.110.29.154   => { "btn": "0@GENERAL", "cmd": "demo", "data": "2", "slot": "0" }
    
    65.110.29.154   => { "btn": "0@GENERAL", "cmd": "managerproblem", "data": "2", "slot": "0" }
    
    65.110.29.154   => { "btn": "0@GENERAL", "cmd": "pong", "data": "PGRpdiBpZD0iI3tpZH0iPjxhIGhyZWY9Imh0dHA6Ly93d3cuZm9wMi5jb20iPkZPUDI8L2E+IC0gVmVyc2lvbiA8c3BhbiBpZD0iZm9wdmVyc2lvbiI+I3t2ZXJzaW9ufTwvc3Bhbj4gLSBMaXRlIFZlcnNpb24gLSBMaW1pdGVkIHRvIDE1IGV4dGVuc2lvbnMgLiBCdXkgaXQgPGEgaHJlZj0iaHR0cDovL3d3dy5mb3AyLmNvbS9idXkucGhwIj5ub3c8L2E+IGZvciB1bmxpbWl0ZWQgZXh0ZW5zaW9ucy4gSWYgeW91IGFscmVhZHkgaGF2ZSBhIGNvZGUgZW50ZXIgaXQgPGEgaHJlZj0iIyIgb25DbGljaz0icmVnaXN0ZXIoKTsgcmV0dXJuIGZhbHNlOyI+aGVyZTwvYT48L2Rpdj4=", "slot": "" }
    
    127.0.0.1       <- Response: Error
    127.0.0.1       <- Message: Authentication failed
    127.0.0.1       <- Server: 0
    
    ** CLEAN SOCKET  connection lost removing socket IO::Socket::INET=GLOB(0xbcd9300)
    ** CLEAN SOCKET  Connection lost to server 0
    
    CLEAN activity for buttons for server 0 as the connection was lost
    
    65.110.29.154   <= <msg data="1|ping||" />
    
    Cannot send command to  (unauthenticated or connection failed)
    
    65.110.29.154   => { "btn": "0", "cmd": "pong", "data": "PGRpdiBpZD0iI3tpZH0iPjxhIGhyZWY9Imh0dHA6Ly93d3cuZm9wMi5jb20iPkZPUDI8L2E+IC0gVmVyc2lvbiA8c3BhbiBpZD0iZm9wdmVyc2lvbiI+I3t2ZXJzaW9ufTwvc3Bhbj4gLSBMaXRlIFZlcnNpb24gLSBMaW1pdGVkIHRvIDE1IGV4dGVuc2lvbnMgLiBCdXkgaXQgPGEgaHJlZj0iaHR0cDovL3d3dy5mb3AyLmNvbS9idXkucGhwIj5ub3c8L2E+IGZvciB1bmxpbWl0ZWQgZXh0ZW5zaW9ucy4gSWYgeW91IGFscmVhZHkgaGF2ZSBhIGNvZGUgZW50ZXIgaXQgPGEgaHJlZj0iIyIgb25DbGljaz0icmVnaXN0ZXIoKTsgcmV0dXJuIGZhbHNlOyI+aGVyZTwvYT48L2Rpdj4=", "slot": "" }
    
    ** MANAGER CONNECTION Connecting to localhost:5038 (Server 0)
    ** MANAGER CONNECTION Connected to localhost:5038 (Server 0)
    
    Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xb1e550c) (unauthenticated or connection failed)
    
    127.0.0.1       -> Action: Challenge
    127.0.0.1       -> AuthType: MD5
    
    127.0.0.1       <- Asterisk Call Manager/1.1
    127.0.0.1       <- Response: Success
    127.0.0.1       <- Challenge: 447284182
    127.0.0.1       <- Server: 0
    
    127.0.0.1       -> Action: Login
    127.0.0.1       -> Username: admin
    127.0.0.1       -> AuthType: MD5
    127.0.0.1       -> Key: 6d834ed839621075235bbec0036c89a2
    
    127.0.0.1       <- Response: Error
    127.0.0.1       <- Message: Authentication failed
    127.0.0.1       <- Server: 0
    
    ** CLEAN SOCKET  connection lost removing socket IO::Socket::INET=GLOB(0xb1e550c)
    ** CLEAN SOCKET  Connection lost to server 0
    
    CLEAN activity for buttons for server 0 as the connection was lost
    
    65.110.29.154   <= <msg data="1|ping||" />
    
    Cannot send command to  (unauthenticated or connection failed)
    
    65.110.29.154   => { "btn": "0", "cmd": "pong", "data": "PGRpdiBpZD0iI3tpZH0iPjxhIGhyZWY9Imh0dHA6Ly93d3cuZm9wMi5jb20iPkZPUDI8L2E+IC0gVmVyc2lvbiA8c3BhbiBpZD0iZm9wdmVyc2lvbiI+I3t2ZXJzaW9ufTwvc3Bhbj4gLSBMaXRlIFZlcnNpb24gLSBMaW1pdGVkIHRvIDE1IGV4dGVuc2lvbnMgLiBCdXkgaXQgPGEgaHJlZj0iaHR0cDovL3d3dy5mb3AyLmNvbS9idXkucGhwIj5ub3c8L2E+IGZvciB1bmxpbWl0ZWQgZXh0ZW5zaW9ucy4gSWYgeW91IGFscmVhZHkgaGF2ZSBhIGNvZGUgZW50ZXIgaXQgPGEgaHJlZj0iIyIgb25DbGljaz0icmVnaXN0ZXIoKTsgcmV0dXJuIGZhbHNlOyI+aGVyZTwvYT48L2Rpdj4=", "slot": "" }
    
    ** MANAGER CONNECTION Connecting to localhost:5038 (Server 0)
    ** MANAGER CONNECTION Connected to localhost:5038 (Server 0)
    
    Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
    Cannot send command to IO::Socket::INET=GLOB(0xa9af6f8) (unauthenticated or connection failed)
    
    127.0.0.1       -> Action: Challenge
    127.0.0.1       -> AuthType: MD5
    
    127.0.0.1       <- Asterisk Call Manager/1.1
    127.0.0.1       <- Response: Success
    127.0.0.1       <- Challenge: 174705327
    127.0.0.1       <- Server: 0
    
    127.0.0.1       -> Action: Login
    127.0.0.1       -> Username: admin
    127.0.0.1       -> AuthType: MD5
    127.0.0.1       -> Key: 56275ad14818f22e950284e58c46f95b
    
    127.0.0.1       <- Response: Error
    127.0.0.1       <- Message: Authentication failed
    127.0.0.1       <- Server: 0
    
    ** CLEAN SOCKET  connection lost removing socket IO::Socket::INET=GLOB(0xa9af6f8)
    ** CLEAN SOCKET  Connection lost to server 0
    
    CLEAN activity for buttons for server 0 as the connection was lost