Last active 2 months ago
We are having a problem with FreePBX 13 and FOP2 in that FOP will become erratic in how it reports stats and eventually it seems to crash the server to the point where Asterisk can no longer accept calls. We have experienced this on two different platforms. We initially had a Dell PowerEdge 720R and now we are on the UC400 appliances from Sangoma. What we are seeing is that Fop will report that a user is on a call but that user is no longer on the call. It will show calls in a queue but those calls are no longer in the queue. We also see from the freepbx dashboard that active calls goes higher than the number of online users. We often see 100-200 active calls when there are only 50-80 active users.
Users will also report that they are unable to change their presence or that a user shows they are still on a call when they have long ago hung up.
We also see that a caller ends up in a queue and they only hear silence instead of the hold music. Other times the call gets rejected altogether.
When we did an inspect we are seeing a couple errors.
Failed to load resource: the server responded with a status of 500 (Internal Server Error) /fop2/admin/plugins/callhistory/callhistorybs.php:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
jquery-1.11.3.min.js:5 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/ .
Is there a way to run FOP on a server other than the actual asterisk server?
What should we be looking for that might be causing these issues?
We are running v2.31.19
We are setting up a High Availability FreePBX 13 server and we are being told by Sangoma that FOP2 won't work on an HA configuration. I've seen that you have some documentation on that indicating that it does work. Be that as it may, is it possible to install FOP2 on a separate server other than the FreePBX server?
We have FOP2 on a couple different server configurations. The first is a single server and the other is an HA configuration. What we have been experiencing is the server will stop taking calls, stop allowing calls, and eventually hangs. We also see a lot of phantom calls in that it will show far more active calls than we have agents. We are running the latest versions of FOP2 and FreePBX 13.
What we think we have found is that CPU utilization will start to get very high and then eventually the server experiences the symptoms above.
This all started about two months ago when we started to have more than 50 agents using FOP2. Looking at some metrics, we feel that the Call History plug-in is causing the high CPU utilization.
Does this make any sense or do you have any other suggestions. If this is a problem with call history, is there something we can do to reduce the resources it consumes?
We are seeing a situation where when we look at the number of active calls on the dashboard of FreePBX it will show far more calls than what is actually in use. Eventually the server will stop accepting calls and we are unable to place outbound calls. This has happened several times over the last couple months. We have had this problem on two separate hardware platforms. What we see are periodic spikes in active calls and then eventually it will climb to over 100 active calls and the server hangs.
We are running:
I also noticed a situation where a couple users had placed themselves on pause for a break and when they came back they were unable to unpause their extensions. The only way we could clear that was to restart FOP2 by using "service fop2 restart". The last time we did that, about five minutes later, the server stopped accepting calls and users were no longer able to dial out.
Other times we have noticed that phantom calls will get stuck in the queue and users are not able to pick up the call and it will continue to accumulate time on the timer well past our cutoff of 10 minutes where normally it would route the call to voicemail.
Any suggestions as to what might be going on or where to look?
Where is the custom file located?
I've changed the fop2.cfg file to point to the same files that the httpd server config uses.
Eventually it comes back with "System is not available right now"
I couldn't find disableWebSockets in the presence.js file so I added it but it just caused the big yellow bang to show right away instead of after some number of attempts.
So when we were testing we noticed that if we changed to https it would load. That was using the self-signed cert on our FreePBX box. Thinking we were onto something we purchased a GoDaddy cert and installed that. Now when we try to access https://server/fop2 it will give us the message "One moment please" and will do that until it reaches 6-12 attempts and then complains that we need to install the Flash player.
Blank page when trying to load FOP2 with Chrome Version 65.0.3325.181 (Official Build) (64-bit). When I look at the source, it shows that the page loads right up to the point where the css links are located in the head. Simply switching to Edge allows us to access FOP2.
<!DOCTYPE html> <html> <head> <meta content="text/html; charset=utf-8" http-equiv="content-type"> <meta content="yes" name="apple-mobile-web-app-capable"> <meta content="YES" name="apple-touch-fullscreen"> <meta content="width=device-width, minimum-scale = 0.1, maximum-scale = 1.0, user-scalable=yes" name="viewport"> <title></title> <link href="images/favicon.ico" rel="icon" type="image/ico"> <link media="screen" rel="stylesheet" type="text/css" href="css/bootstrap.min.css" > <link media="screen" rel="stylesheet" type="text/css" href="css/operator.css" > <link media="screen" rel="stylesheet" type="text/css" href="css/chat.css" > <link media="screen" rel="stylesheet" type="text/css" href="css/vmail.css" > <link media="screen" rel="stylesheet" type="text/css" href="css/alertify.core.css" > <link media="screen" rel="stylesheet" type="text/css" href="css/alertify.bootstrap3.css" > <link media="screen" rel="stylesheet" type="text/css" href="css/jquery.contextMenu.css" >
We are using Version: 2.31.08. Can we upgrade to the latest or will we need to purchase the annual maint. ?
We did a reboot of the server this past weekend and that seems to have cleared up this issue.
Running FOP2 on FreePBX and we're seeing extensions being added back to queues after they have been removed. In the queue settings, none of the users showing up are in the static or dynamic users. In fact, I have this going on for a queue where there are no extensions listed under static or dynamic.
While FOP2 is open, I can click on the extensions and select "Remove Member" and they disappear. Then about five minutes later or so, they reappear.
FOP version 2.31.08