Author Topic: Agent Logon Issue  (Read 4366 times)

steves21

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Agent Logon Issue
« on: July 15, 2015, 21:21:20 »
Hi Everyone,

I'm installing QM 15.02 on a new installation of FreePBX running Asterisk 11.  I'm running into an issue with agents joining queues. 

After selecting an available queue to join and attempting to join it, the queue moves over to the "Queues Logged In" section.  However, the loading circle just continually spins until eventually the queue moves back to the "Available" section.

The catch is that during this time the extension is actually added to the asterisk queue.  QM just doesn't reflect that it is added. 

Any help would be appreciated.

Thanks

mirkox

  • Full Member
  • ***
  • Posts: 231
  • Karma: 4
    • View Profile
Re: Agent Logon Issue
« Reply #1 on: July 20, 2015, 10:49:12 »
Hi steves21,

could you check that the AMI test is ok?
also, QueueMetrics is set to read from file or from the database?

Mirko

shahidge4

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Agent Logon Issue
« Reply #2 on: March 21, 2016, 14:05:39 »
Hi
I have purched licence for 4 years. we want to  enable "Hot Desking". 
and getting this problem too . AMI testing is not successful. and Log is follow
Mar 21, 2016 5:36:08 PM ch.loway.app.queuemetrics.gwt.server.svc.SvcDoLogin perform
SEVERE: qToLeave:[802]
Mar 21, 2016 5:36:08 PM ch.loway.app.queuemetrics.gwt.server.svc.SvcDoLogin perform
SEVERE: qToJoin :[802]
Mar 21, 2016 5:36:08 PM ch.loway.app.queuemetrics.gwt.server.svc.SvcDoLogin perform
SEVERE: Srv     :
Mar 21, 2016 5:36:09 PM it.loway.app.queuemetrics.liveData.actions.PBXActionsAMI genericDial
SEVERE: -- Inner Exception --
Exception: it.loway.tpf.common.exceptions.TechException

Stack trace:
Auth error for U:'admin'  P:'amp123' DS: AstManagerThroughSocket S:'127.0.0.1' P:'5038'
        at it.loway.app.queuemetrics.asterisk.manager.AstManager.connectFromUri(AstManager.java:83)
        at it.loway.app.queuemetrics.asterisk.callfiles.callFileProxy.generateCallFile(callFileProxy.java:71)
        at it.loway.app.queuemetrics.liveData.actions.PBXActionsAMI.genericDial(PBXActionsAMI.java:406)
        at it.loway.app.queuemetrics.liveData.actions.PBXActionsAMI.genericDial(PBXActionsAMI.java:342)
        at it.loway.app.queuemetrics.liveData.actions.PBXActionsAMI.remove(PBXActionsAMI.java:139)
        at ch.loway.app.queuemetrics.gwt.server.svc.SvcDoLogin.perform(SvcDoLogin.java:92)
        at ch.loway.app.queuemetrics.gwt.server.BaseJsonService.doRun(BaseJsonService.java:68)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.runVerb(LowayTransactionController.java:151)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.processClassicSynchronizedRequest(LowayTransactionController.java:467)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(LowayTransactionController.java:338)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(LowayTransactionController.java:268)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.doPost(LowayTransactionController.java:105)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)
-- End Inner Exception --

Mar 21, 2016 5:36:09 PM ch.loway.app.queuemetrics.gwt.server.BaseJsonService doRun
SEVERE: -- Inner Exception --
Exception: it.loway.tpf.common.exceptions.TechException

Stack trace:
Auth error for U:'admin'  P:'amp123' DS: AstManagerThroughSocket S:'127.0.0.1' P:'5038'
        at it.loway.app.queuemetrics.asterisk.manager.AstManager.connectFromUri(AstManager.java:83)
        at it.loway.app.queuemetrics.asterisk.callfiles.callFileProxy.generateCallFile(callFileProxy.java:71)
        at it.loway.app.queuemetrics.liveData.actions.PBXActionsAMI.genericDial(PBXActionsAMI.java:406)
        at it.loway.app.queuemetrics.liveData.actions.PBXActionsAMI.genericDial(PBXActionsAMI.java:342)
        at it.loway.app.queuemetrics.liveData.actions.PBXActionsAMI.remove(PBXActionsAMI.java:139)
        at ch.loway.app.queuemetrics.gwt.server.svc.SvcDoLogin.perform(SvcDoLogin.java:92)
        at ch.loway.app.queuemetrics.gwt.server.BaseJsonService.doRun(BaseJsonService.java:68)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.runVerb(LowayTransactionController.java:151)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.processClassicSynchronizedRequest(LowayTransactionController.java:467)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequest(LowayTransactionController.java:338)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.serveRequestWrapper(LowayTransactionController.java:268)
        at it.loway.tpf.transaction.servlets.LowayTransactionController.doPost(LowayTransactionController.java:105)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
        at java.lang.Thread.run(Thread.java:662)
-- End Inner Exception --


mirkox

  • Full Member
  • ***
  • Posts: 231
  • Karma: 4
    • View Profile
Re: Agent Logon Issue
« Reply #3 on: March 21, 2016, 15:01:55 »
Hi,

are you sure that admin/amp123 are valid credentials for AMI in your PBX? Check that in /etc/asterisk/manager.conf

shahidge4

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Agent Logon Issue
« Reply #4 on: March 21, 2016, 16:09:50 »
same problem

but now logs are different

Mar 21, 2016 8:02:35 PM ch.loway.app.queuemetrics.gwt.server.svc.SvcDoLogin perform
SEVERE: qToLeave:[300]
Mar 21, 2016 8:02:35 PM ch.loway.app.queuemetrics.gwt.server.svc.SvcDoLogin perform
SEVERE: qToJoin :[300]
Mar 21, 2016 8:02:35 PM ch.loway.app.queuemetrics.gwt.server.svc.SvcDoLogin perform
SEVERE: Srv     :
Mar 21, 2016 8:03:13 PM ch.loway.app.queuemetrics.gwt.server.svc.SvcDoLogin perform
SEVERE: qToLeave:[300]
Mar 21, 2016 8:03:13 PM ch.loway.app.queuemetrics.gwt.server.svc.SvcDoLogin perform
SEVERE: qToJoin :[300]
Mar 21, 2016 8:03:13 PM ch.loway.app.queuemetrics.gwt.server.svc.SvcDoLogin perform
SEVERE: Srv     :
 



I am using Elastix 2.4


can you guid step by step with Elastix Extension with queuemetrics agent

mirkox

  • Full Member
  • ***
  • Posts: 231
  • Karma: 4
    • View Profile
Re: Agent Logon Issue
« Reply #5 on: March 21, 2016, 16:13:45 »
is your QueueMetrics set in order to read from database? Reading directly from queue_log prevents it from auto-refreshing (it's only for debug).