Sadly, you cannot edit /var/www/html/stats/admin-language.php because it is encoded with IonCube, so your only option is to upgrade.
jerryriggin
Posts
-
Security Vulnerability in Asternic Call Center Stats PRO -
Park Button not Working on FOP2 2.31.32You may also have to take the 3rd "m" from "defcommmand" on line 53
-
Park Button not Working on FOP2 2.31.32You can fix this by changing line 71 in /var/www/html/fop2/admin/plugins/parkbutton/parkbutton.js from
queuedcommand = "<msg data=\"" + myposition + "|"+defcommand+"|" + parkExten + "|" + hash + "\" />";
to
queuedcommand = "<msg data=\"" + myposition + "|" + defcommand + "|" + parkExten + "|" + hash + "\" />"; -
Fop2 Admin Panel - AsteriskIf you click on "Users" in admin panel you will see "Recreate Users" under "Actions" (Same place as reload -top right). This loads the users and extensions from asterisk automagically.
-
Park Button not Working on FOP2 2.31.32I have FreePBX 16 and Asterisk 18. When I have a live call, I can click the parkig lot and get the blue line, then click blind transfer and the call is parked and everything is fine. However, if I click the Park button, I get the following error in the console:
> Uncaught ReferenceError: defcommand is not definedat Object.action_parkcall (eval at plugin (eval at <anonymous> (eval at <anonymous> (VM88 jquery-1.11.3.min.js:2:2622))), <anonymous>:70:71) at Object.clicky (eval at <anonymous> (eval at <anonymous> (VM88 jquery-1.11.3.min.js:2:2622)), <anonymous>:1:117806) at HTMLDivElement.eval (eval at <anonymous> (eval at <anonymous> (VM88 jquery-1.11.3.min.js:2:2622)), <anonymous>:1:87755) at HTMLDivElement.dispatch (jquery-1.11.3.min.js:4:8549) at HTMLDivElement.r.handle (jquery-1.11.3.min.js:4:5252) action_parkcall @ VM122:70 clicky @ VM45:1 eval @ VM45:1 dispatch @ jquery-1.11.3.min.js:4 r.handle @ jquery-1.11.3.min.js:4 -
IVR Flow - Visual Designer 500 ErrorThis 500 happens because the installation of IVRFlow fails to include the program customerror.php, and the first thing that will happen when you call the program is that it will notice you don't have IOCube installed as you would have been told by the customerror.php page. You can just run the IONCube installation and it will fix that problem. Use this line as root:
wget -O - http://download.fop2.com/install_ioncube.sh | bash
If you are on Issabel, just use this line:
yum install php-ioncubeloader -y
Installing Asternic Stats also installs IONCube, so that is why it worked after installing Stats. -
Checkdir opens multiple popups for the same eventI don't know of any way, without some php mods, to see actual popups without being logged into the queue, but the default information from the popup is in the queue widget, and there is a wealth of info in the full wallboard. You don't have to be logged into a queue to either of those. Just make a user/group/template that is allowed to see them.
-
Checkdir opens multiple popups for the same eventI believe your suspicion is correct. If you have 3 browsers logged into the same extension, all 3 browsers will get 3 popups when the phone rings. I can't think of a workaround for seeing popups, but they can see who's calling or in queue without a popup by making a FOP2 login without an extension but allowing them to see what caller IDs are waiting in the queue.
A little PHP page with fast refresh and some tweaks in checkdir would allow you to essentially echo all the popup info from every call to a web page non-agents could monitor.
-
Question regarding queue pauseTypo:
Also, if you click on the little circle in upper left of extension widgit and select "Pause" the agent is paused without a reason. -
Question regarding queue pauseWhen an agent selects a pause reason other than "Available" the agent is paused in the queue. Also, if you click on the little circle in upper left of extension wided and select "Pause" the agent is paused with a reason. In either case, the agent is paused until someone un-pauses.
I assum you have check out the docs at https://www.fop2.com/docs/userguide.php
-
revoke licenceProbably a bad idea to post your key. Best to email use the little chat box below (when it says, "Let's Talk") or email support@astnernic.biz
-
Admin Panel / Credentials IssuePlease see https://www.fop2.com/docs/installation.php#AccessingtheFOP2Manager -- if you can get to FOP2/admin when logged into FreePBX you have USE_BACKEND_AUTH = TRUE in /var/www/html/fop2/admin/config.php. You can also set admin UN/PW there.
Also, Note that FreePBX 15 is still beta and there have been MANY changes, so FOP2 is not fully integrated. If you can't access the CDR from FOP2, try this:
Problems is not credentials but that freepbx.conf file in /etc/ differs in format from the one in /etc/freepbx. You can do a quick fix by editing /var/www/html/fop2/config.php and replace (at the end of the file), the function parse_amportal_conf with this version:
function parse_amportal_conf($filename) {
$file = file($filename);
if (is_array($file)) {
foreach ($file as $line) {
if (preg_match("/^\s*([^=])\s=\s*["']?([\w/:.,}{><()*?%!=+#@&\$-])["']?\s([;].*)?/",$line,$matches)) {
if(preg_match('/$amp_conf/',$matches[1])) {
$matches[1] = preg_replace('/$amp_conf['/','',$matches[1]);
$matches[1] = trim($matches[1]);
$matches[1] = substr($matches[1],0,-2);
}
$matches[1] = trim($matches[1]);
$conf[ $matches[1] ] = trim($matches[2]);
}
}
} else {
die("<h1>".sprintf("Missing or unreadable config file (%s)...cannot continue", $filename)."</h1>");
}
return $conf;
}
Nicolás Gudiño Jul 31, 22:07 -
DNIS is cidname of extensionSounds like a PBX issue, not an FOP2 issue. What happens when you use a soft phone to dial without FOP2?
-
Chrome Extension on FreePBX 14 not workingIs FreePBX firewall or fail2ban running? What OS are you running chrome on?
Also, if you are running FOP2 the only use I am aware of for the Chrome plugin is click-to-dial. Is that why you are installing it?
-
New 2.31.19Hi, Nicolás!
Thanks for 2.31.19 and the new popURLHangup!
What varaibales are available in the querystring for this popup?
sadly no way to put a title on this. -
Logout FOP2 Agent from ServerWhen an agent leaves their workstation without logging out (hard to believe but it happens!) Their phones are on auto-answer so they get calls and customer hears background noise. Of course I can log them out of queues, or pause them with FOP2 GUI, but I want a complete logout so my logout scripts run.
How can I log a user out of FOP2 from the server? Essentially I want to click the logout button "<span class="logouttitle">Logout</span>" remotely and have FOP2 also run my logout script. Maybe a way to call setvar.php with sessionID, key, etc?
-
Reset Mini-Browser on HangupHi!
I have a client whose CRM page I pop up in the mini browser window. I want to reset the browser to a page that says, “Waiting for Call” after wrapup time ends. I can catch the change in status or hangup event and do something, but I don’t know what command to send where to reset the browser for this agent. Any ideas?
(Other than the obvious put something in the CRM page that reloads the “waiting” page on save, which was my first suggestion, but client doesn’t want me to mess with CRM code unless I have to as it is also used outside FOP2.)
Thanks!
-
Is fop2 dead?Well, it is not really "dead" -- just on life support. Many users know a lot about FOP2. We have to because Nicolás supports FOP2, Asternic Stats and Issabel almost single handed. I did get chat support with one of his knowledgeable associates at one point. I have found most answers scattered among this forum, the docs and google.
In any case, if you ask a question here, it is more likely to get answered than if you don't ask.

-
SQL to Update Abandoned Calls Picked up from QueueI'm sure this question has been asked, but I don't see it anywhere.
I understand from experience and this forum that calls picked up out of the queue by an agent causes the call to become abandoned in Asternic Stats Pro.
Is there a way, (possibly be joining queue_stats and cel?) to update the tables so historical data shows the call answered and corrects agent call stats, etc?
-
FOP2 Full WallBoard Queue Block Active Calls WrongI am so sorry - cut an pate error. (2 glasses of wine). Delete these lines from Queue Boc Template :
<tr> <td class='qboxtd'> <div class="img-rounded"> <span class='number'>{AGENTSSTAFFED}</span><br/> <span class='lxabel translate'>Agents Staffed</span> </div> </td> <td class='qboxtd'> <span class='number'>{ACTIVECALLS}</span><br> <span class='lxabel translate'>Active Calls</span> </td> </tr>I deleted another <TD> I didn't need and added Agents Staffed back in.