Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Scott B

Pages: [1]
1
Saw this shiny new feature on the What's New page, scoured the manuals (notably the 7.2. Calls being processed section, which highlights that new item), QueueMetrics User Manual: chapter 6.1.13 (Music on Hold by agent), 6.1.13. OK13 - Music On Hold by Agent, and browsed through 23 "Configuring Asterisk for QueueMetrics"  in its entirety. I'm not super familiar with configuring Queuemetrics or Asterisk, so be gentle. I'm r'ing the f'ing m!

2
Hey, I created a test.html with the following code and dropped the rpc.js into the same diretory as frontPage.jsp in my brand-spanking newly updated 1.7.0 Queuemetrics:

<html>
<head>
<title>test.html</title>
<script src="rpc.js"></script>
</head>
<body>
<h1>QueueMetrics JavaScript XML-RPC example </h1>
<script>
var server = "/DAILY/xmlrpc.do";
function run() {
try {
var service = new rpc.ServiceProxy( server, {
asynchronous:false,
protocol: "XML-RPC",
methods: ["QM.stats", "QM.realtime", "QM.auth"]
} );
res = service.QM.stats( "q1", "robot", "robot","", "",
"2005-10-10.10:23:12", "2009-10-10.10:23:10","",
[ "KoDO.DiscCauses", "CallDistrDO.AnsDistrPerDay" ]
);
document.getElementById("RESULT").innerHTML = plotBlocks(res);
} catch(e) {
alert("Error raised: " + e);
}
}
function plotBlocks( hmBlocks ) {
s = "";
for (var i in hmBlocks) {
s += "<h2>Block: " + i + "</h2>";
s += plotBlock( hmBlocks );
}
return s;
}
function plotBlock( arBlock ) {
s = "";
for ( r =0; r < arBlock.length; r++ ) {
s += "<tr>";
for ( c = 0; c < arBlock[r].length; c++ ) {
s += "<td>" + arBlock[r][c] + "</td>";
}
s += "</tr>";
}
return "<table border=1>" + s + "</table>";
}
</script>
<input type="button" value="Click me!" onclick="run();" >
<div id="RESULT"></div>
</body>

</html>



and I get the following error once I click "Click me!"

Block: result

Status   ERR
Description   -- Inner Exception -- Exception: it.loway.tpf.common.exceptions.UserException Stack trace: The user cannot login: 'robot' at it.loway.app.queuemetrics.autenticazione.effettuaLogOn.doRun(effettuaLogOn.java:92) at it.loway.app.queuemetrics.xmlrpc.tpfServer.runClass(tpfServer.java:910) at it.loway.app.queuemetrics.xmlrpc.tpfServer.stats(tpfServer.java:168) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at redstone.xmlrpc.handlers.ReflectiveInvocationHandler.execute(Unknown Source) at redstone.xmlrpc.handlers.ReflectiveInvocationHandler.invoke(Unknown Source) at redstone.xmlrpc.XmlRpcDispatcher.dispatch(Unknown Source) at redstone.xmlrpc.XmlRpcServer.execute(Unknown Source) at it.loway.app.queuemetrics.xmlrpc.tpfServer.doRun(tpfServer.java:91) at it.loway.tpf.transaction.servlets.LowayTransactionController.runVerb(LowayTransactionController.java:262) at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(LowayTransactionController.java:552) at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(LowayTransactionController.java:373) at it.loway.tpf.transaction.servlets.LowayTransactionController.doPost(LowayTransactionController.java:224) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619) -- End Inner Exception --
Time elapsed (ms)   19
QM Version   1.7.0.0

3
Hi, just tried updating from 1.6.0.1 to 1.6.3.0. I followed the directions, copied the files over, replaced the web.xml and configuration.properties from my old version, copied the mysql connector and restarted tomcat (and apache for that matter.) Also I ran the dbtest updater and it all came up green lights. Some pages are working, the logo switched to "your logo here" but pages like Show License Information, or if you click to pause or unpause yourself it throws:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 34 in the jsp file: /includes/00_page_header_context.jsp.inc
The method initOggettiContesto(HttpSession, ServletContext) in the type start is not applicable for the arguments (HttpSession, ServletContext, String)
31:     // 1. Ottiene gli oggetti impliciti
32:     //    Se non esistono, li va a creare
33:
34:     start.initOggettiContesto( session, application, request.getHeader("Accept-Language") );
35:     LContext oC = (LContext) session.getAttribute( K.SESSION_CONTESTO );
36:     LDecoder oDec = (LDecoder) session.getAttribute( K.SESSION_DECODER );
37:     LUser oU = (LUser) session.getAttribute( K.SESSION_USER );


Stacktrace:
   org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
   org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
   org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:451)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:319)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
   org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.28 logs.

4
Hi all,

I've been poking around the forums for a couple of days here trying to find a quick and dirty way to display the number of calls in queue on the agent screen (live_agent.jsp) so our agents know when call volume is heavy. I understand changing .jsp pages is not supported, so is my only recourse to try and design something similar to the live_agent.jsp page from scratch? At first glance the XML-RPC interface is not robust enough to do that but I am obviously just learning this.

Thanks for any and all help, even pointing me to docs that might give me a better idea of where to start.

Pages: [1]