QueueMetrics Call Monitoring Problem

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

QueueMetrics Call Monitoring Problem

Postby runderwood » Wed Jan 29, 2014 5:14 pm

Hello,

Not sure if someone already posted bout this or not, but I'll like to share this problem, which I solved with a workaround(not nice but works) so it may be solved in the next release of vicidial.
Back in October 2013 I upgraded a Vicibox Cluster from 4 to 5, after several issues we sorted out the cluster started to work very stable, we have a QM integration for reporting and QA, after we upgraded to Vicibox 5 with vicidial VERSION: 2.8-415a BUILD: 131007-1234 our supervisors and QA agents started to complain that they weren't longer enable to listen to the calls from QM, so I started to investigate on it and indeed when on QM in the RealTime Report I clicked on
Monitor now
I got the pop-up window, I typed the extension on which I wanted to listen the call and clicked on Submit and no call was send to my exten but I got this message:
ERROR: Login incorrect, please try again: |361|m1291555140003480184|BAD|

I had to left that unsolved due some other projects, but I started to work on this today and I found the following, when trying to monitor the calls from QM using XML_RPC this script its called QM_live_monitor.php and I found that the API its not being called correctly, this is the url for API generated by the script: http://xx.xx.xx.xx/vicidial/non_agent_api.php?source=queuemetrics&function=blind_monitor&user=361&pass=m1291555140003480184&phone_login=1097&session_id=8600052&server_ip=xx.xx.xx.xx&stage=MONITOR (the IPs are masked for security) and I realized that the "pass" value its not really a password but the call id and that's why we were getting the Login incorrect message due an incorrect call to the API function, so what was my fix well pretty simple I replaced the
user=&pass=
with some hard coded values
user=dummyuser&pass=dummypass
and that user has the enable the API usage but restricted to only that, after that change the Monitoring from QM started to work again, for some reason this used to work on Vicidial 2.7 and below but not on the new versions, maybe someone can look into this and generate patch to fix the issue.

Regards,
---
ViciBox Redux v.5.0.3 64 bit (ViciBox5.x86_64-5.0.3)
Admin-GUI: VERSION: 2.8-415a BUILD: 131007-1234
Asterisk 1.8.23.1-vici| Cluster with: 1 DB, 1 Web, 2 Dialer |1 Archive | No Cards
All Servers: 2x Intel(R) Xeon(R) E5-2620 | 16 GB | SAS 15k RAID1
runderwood
 
Posts: 17
Joined: Tue Feb 14, 2012 3:52 pm

Re: QueueMetrics Call Monitoring Problem

Postby williamconley » Thu Jan 30, 2014 11:35 pm

This would be best posted to the Vicidial Issue Tracker as a DIFF against the latest SVN code (ie: show The Vicidial Group exactly how to fix the problem in the Vicidial code ...). Then post a link to that back here for Matt to see. If your solution will resolve the issue and you make it "simple" in this fashion, your next upgrade of Vicidial could include your fix.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: QueueMetrics Call Monitoring Problem

Postby mflorell » Fri Jan 31, 2014 7:26 am

We have clients using QM and the most recent svn/trunk version of Vicidial without issue, so I'm not sure what this issue on your system would be caused by. I'm sure it could be an issue with the code and some specific configuration, but it doesn't appear to be a clear bug that is on all systems in all cases.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 79 guests