Author Topic: Agents pause isn't showing in the reports  (Read 2924 times)

joaopereira

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
Agents pause isn't showing in the reports
« on: November 25, 2009, 23:56:47 »
Hello
I want my Agents to be able to put their login in pause, when they need to be away from the PC for a while.
To do that, the agents could press the "Pause" button in their Queuemetrics web access.... but the report doesn't show that.... In the Real Time Monitoring, the agent doesn't become paused... and the final report doesn't show the "pause time".

Again... could this be a problem of using qloader?

Thanks
Joao Pereira

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Agents pause isn't showing in the reports
« Reply #1 on: November 26, 2009, 15:53:59 »
No this is likely because the tcp connection to your box is not working AND/OR you did not include the extensions_queuemetrics.conf file i your Asterisk dialplan 8I don't know if this is possible - depends on your GUI).


joaopereira

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
Re: Agents pause isn't showing in the reports
« Reply #2 on: November 27, 2009, 00:10:45 »
Hello

>this is likely because the tcp connection to your box is not working

thats probably it. How can I debug the Queuemetrics commands to Asterisk?
(remember my asterisk is in a different server)

>AND/OR you did not include the extensions_queuemetrics.conf file i your Asterisk >dialplan

I do have extensions_queuemetrics.conf included in my Asterisk


So, my asterisk (with qloader) is sucsessfully sending information to Queuemetrics database, because QM its creating reports.

The problem is when Agents give some comands through QMs interface (log in, log off, pause, etc)... thats the part it isnt working. How can I debug that?

Thanks
regards
Joao Pereira






joaopereira

  • Newbie
  • *
  • Posts: 13
  • Karma: 0
    • View Profile
Re: Agents pause isn't showing in the reports
« Reply #3 on: November 27, 2009, 01:48:37 »
Im trying to find the problem in the communication between my QM and Asterisk (version 1.4.23).

I tried to debug logging an agent through Queuemetrics interface and looking for errors in "localhost_log.2009-11-27.txt" and "catalina.out"

But I didnt found nothing that could help me.
Do you have an idea of what could be missing?

Thanks
Regards
Joao Pereira

PS: sorry for this long post

localhost_log.2009-11-27.txt -----------------------------

2009-11-27 01:29:49 StandardContext[/queuemetrics][FD8A5E8F1AB61AA1E470BCFDA409DE38] Inizio classe it.loway.app.queuemetrics.liveData.openAgentPopup
2009-11-27 01:29:49 StandardContext[/queuemetrics][FD8A5E8F1AB61AA1E470BCFDA409DE38] Fine classe it.loway.app.queuemetrics.liveData.openAgentPopup
2009-11-27 01:29:49 StandardContext[/queuemetrics]LowayTransactionController: [FD8A5E8F1AB61AA1E470BCFDA409DE38] Tempo totale esecuzione verbo 'qm_popup_agente': 5 ms
2009-11-27 01:29:54 StandardContext[/queuemetrics][FD8A5E8F1AB61AA1E470BCFDA409DE38] Inizio classe it.loway.app.queuemetrics.liveData.performAgentPopup
2009-11-27 01:29:54 StandardContext[/queuemetrics][FD8A5E8F1AB61AA1E470BCFDA409DE38] Calling subverb 'L': agentlogin
2009-11-27 01:29:54 StandardContext[/queuemetrics][FD8A5E8F1AB61AA1E470BCFDA409DE38]   -> Chan : 'Local/20@queuemetrics/n'
2009-11-27 01:29:54 StandardContext[/queuemetrics][FD8A5E8F1AB61AA1E470BCFDA409DE38]   -> Dial : '10@queuemetrics'
2009-11-27 01:29:54 StandardContext[/queuemetrics][FD8A5E8F1AB61AA1E470BCFDA409DE38]   -> Path : '/var/spool/asterisk/outgoing'
2009-11-27 01:29:54 StandardContext[/queuemetrics][FD8A5E8F1AB61AA1E470BCFDA409DE38] Fine classe it.loway.app.queuemetrics.liveData.performAgentPopup
2009-11-27 01:29:54 StandardContext[/queuemetrics]LowayTransactionController: [FD8A5E8F1AB61AA1E470BCFDA409DE38] Tempo totale esecuzione verbo 'qm_popup_agente_exec': 4 ms
2009-11-27 01:29:55 StandardContext[/queuemetrics][FD8A5E8F1AB61AA1E470BCFDA409DE38] Inizio classe it.loway.app.queuemetrics.liveData.changeAgentServer
2009-11-27 01:29:55 StandardContext[/queuemetrics][FD8A5E8F1AB61AA1E470BCFDA409DE38] Fine classe it.loway.app.queuemetrics.liveData.changeAgentServer
2009-11-27 01:29:55 StandardContext[/queuemetrics][FD8A5E8F1AB61AA1E470BCFDA409DE38] Inizio classe it.loway.app.queuemetrics.liveData.agentLive
2009-11-27 01:29:55 StandardContext[/queuemetrics][FD8A5E8F1AB61AA1E470BCFDA409DE38]  Modo SQL - preset: '1' - partition: 'P05042009'
2009-11-27 01:29:55 StandardContext[/queuemetrics][8353E8777C44EA624A7733C76D4D42F2] Inizio classe it.loway.app.queuemetrics.liveData.realtime
2009-11-27 01:29:55 StandardContext[/queuemetrics][8353E8777C44EA624A7733C76D4D42F2]  MEMBER AGENTS ONLY: '1'
2009-11-27 01:29:55 StandardContext[/queuemetrics][8353E8777C44EA624A7733C76D4D42F2]  Modo SQL - preset: '1' - partition: 'P05042009'
2009-11-27 01:29:55 StandardContext[/queuemetrics][8353E8777C44EA624A7733C76D4D42F2]  - fILE: sql:P05042009
2009-11-27 01:29:55 StandardContext[/queuemetrics][8353E8777C44EA624A7733C76D4D42F2]  - Data da: Fri Nov 27 00:00:00 WAT 2009 Data a: Wed Jan 01 01:01:01 WAT 2020 Fuso orario: 0 - Ignore QUEUESTARTs: false - Anomalous wait:1000s talk:2000s



catalina.out -------------------

Popup response: 'OK'
[FD8A5E8F1AB61AA1E470BCFDA409DE38] Tempo totale esecuzione verbo 'qm_popup_agente_exec': 5 ms
loadLogInfo v2 $Revision: 1.28 $ '/usr/local/queuemetrics/tomcat/temp/QueueMetrics_152089.log'
Unknown verb: '1'
[FD8A5E8F1AB61AA1E470BCFDA409DE38] Tempo totale esecuzione verbo 'qm_agente_live': 313 ms
loadLogInfo v2 $Revision: 1.28 $ '/usr/local/queuemetrics/tomcat/temp/QueueMetrics_152090.log'
[8353E8777C44EA624A7733C76D4D42F2] Tempo totale esecuzione verbo 'qm_realtime': 12 ms
loadLogInfo v2 $Revision: 1.28 $ '/usr/local/queuemetrics/tomcat/temp/QueueMetrics_152091.log'
Unknown verb: '1'
[FD8A5E8F1AB61AA1E470BCFDA409DE38] Tempo totale esecuzione verbo 'qm_agente_live': 324 ms

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Agents pause isn't showing in the reports
« Reply #4 on: November 27, 2009, 12:05:52 »
This is easy: it is trying to write a call-file locally to

Path : '/var/spool/asterisk/outgoing'

instead of connecting to Asterisk.

For how to do that, see this FAQ: http://queuemetrics.com/faq.jsp#faq-041-no_rights