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.


Messages - ryan82

Pages: [1]
1
Running QueueMetrics / Re: No data on Realtime page
« on: January 06, 2020, 16:33:54 »
Thanks, the temp workaround worked. I will complete an update during off hours.

Although in release notes, this info might be useful in this FAQ (https://www.queuemetrics.com/faq.jsp?uid=faq-057-rt_not_working) or other related FAQs regarding MySQL FAQs.

2
Running QueueMetrics / No data on Realtime page
« on: January 05, 2020, 23:27:58 »
Hello,

After a recent server issue and subsequent reboot, our Realtime page is no longer showing any data. I have searched this forum as well as the support documentation related to Realtime page issues and server time and have verified the following:

- Call data is being captured in reports.
- Verified server time is correct and matches the hwclock (service isn't connected to internet, so no NTP).
- The correct time also shows at the bottom right of the realtime page when it is loaded.
- Data appears to be captured correctly in /var/log/asterisk/queue_log and qloader.log.

The issue seems to be with the "last heartbeat" values in the Mysql storage information. The time is updating, however what's strange is that the time never leaves the 1am hour. So for example it is currently 15:14 local time, however the time showing in Mysql last hearbeat is 01:14. Once it gets to 01:59, it will restart again at 01:00.

I have restarted all relevant services (queuemetrics, qloader, mysqld). I also disabled qloader and installed uniloader, but no change.
Any idea why the mysql time won't update from the 1am hour? How can I get the heartbeat to match actual system time.

Thanks in advance!

3
Outbound and QueueMetrics / Re: Outbound on Realtime Page
« on: November 17, 2017, 00:24:25 »
No, I'm not familiar with Uniloader.

4
Outbound and QueueMetrics / Outbound on Realtime Page
« on: November 16, 2017, 01:07:48 »
Apologies in advance, but I've read several posts here in the forums as well as every guide I could find in the support section, and I still can't get outbound call reporting to work correctly. I'm also a complete novice to Asterisk and don't really understand the dialplan code very well.

We don't use the QM agent web interface, agents use hard phones to manually log in and out of queue, use pause, etc. Making calls isn't an issue, showing report in QM of those calls is. Outbound queue has been created in freepbx, outbound trunk and routes are setup as described in the guide. Below is the dialplan from extensions_queuemetrics.conf. I think that's the problem.

My goal is to show outbound calls on the QM realtime page as well as in QM historical reporting. Agents may dial the following prefixes when making calls outgoing: 8, 9, 91, as well as a couple 5-digit dialing combinations (3xxxx or 6xxxx). Any help with how I would create a dialplan to accomplish this would be much appreciated. If any additional information is needed, please let me know.

Code: [Select]
[queuedial]
; this piece of dialplan is just a calling hook into the [qm-queuedial] context that actually does the
; outbound dialing - replace as needed - just fill in the same variables.
exten => _XXX.,1,Set(QDIALER_QUEUE=q-350{EXTEN:0:3})
exten => _XXX.,n,Set(QDIALER_NUMBER=${EXTEN:3})
exten => _XXX.,n,Set(QDIALER_AGENT=Agent/${CALLERID(num)})
exten => _XXX.,n,Set(QDIALER_CHANNEL=DAHDI/g0/${QDIALER_NUMBER})
exten => _XXX.,n,Set(QueueName=${QDIALER_QUEUE})
exten => _XXX.,n,MixMonitor(Q-${QDIALER_QUEUE}-${UNIQUEID}.WAV,b,)
exten => _XXX.,n,Goto(qm-queuedial,s,1)

[qm-queuedial]
; We use a global variable to pass values back from the answer-detect macro.
; STATUS = U unanswered
;        = A answered    (plus CAUSECOMPLETE=C when callee hung up)
; The 'g' dial parameter must be used in order to track callee disconnecting.
; Note that we'll be using the 'h' hook in any case to do the logging when channels go down.
; We set the CDR(accountcode) for live monitoring by QM.
;
exten => s,1,NoOp( "Outbound call - A:${QDIALER_AGENT} N:${QDIALER_NUMBER} Q:${QDIALER_QUEUE} Ch:${QDIALER_CHANNEL}" )
exten => s,n,Set(CDR(accountcode)=QDIALAGI)
exten => s,n,Set(ST=${EPOCH})
exten => s,n,Set(GM=QDV-${QDIALER_AGENT})
exten => s,n,Set(GLOBAL(${GM})=U)
exten => s,n,Set(GLOBAL(${GM}ans)=0)
exten => s,n,Macro(queuelog,${ST},${UNIQUEID},${QDIALER_QUEUE},${QDIALER_AGENT},CALLOUTBOUND,,${QDIALER_NUMBER})
exten => s,n,Dial(${QDIALER_CHANNEL},300,gM(queuedial-answer^${UNIQUEID}^${GM}^${QDIALER_QUEUE}^${QDIALER_AGENT}^${ST}))
exten => s,n,Set(CAUSECOMPLETE=${IF($["${DIALSTATUS}" = "ANSWER"]?C)})

; Trapping call termination here
exten => h,1,NoOp( "Call exiting: status ${GLOBAL(${GM})} answered at: ${GLOBAL(${GM}ans)} DS: ${DIALSTATUS}"  )
exten => h,n,Goto(case-${GLOBAL(${GM})})
exten => h,n,Hangup()

; Call unanswered
exten => h,n(case-U),Set(WT=$[${EPOCH} - ${ST}])
exten => h,n,Macro(queuelog,${EPOCH},${UNIQUEID},${QDIALER_QUEUE},${QDIALER_AGENT},ABANDON,1,1,${WT})
exten => h,n,Hangup()

; call answered: agent/callee hung
exten => h,n(case-A)i,Set(COMPLETE=${IF($["${CAUSECOMPLETE}" = "C"]?COMPLETECALLER:COMPLETEAGENT)})
exten => h,n,Set(WT=$[${GLOBAL(${GM}ans)} - ${ST}])
exten => h,n,Set(CT=$[${EPOCH} - ${GLOBAL(${GM}ans)}])
exten => h,n,Macro(queuelog,${EPOCH},${UNIQUEID},${QDIALER_QUEUE},${QDIALER_AGENT},${COMPLETE},${WT},${CT})
exten => h,n,Hangup()


5
Running QueueMetrics / Re: Agent Pause Status on Realtime Page
« on: August 18, 2015, 01:33:09 »
Hello. Can anyone give me an idea of what needs to be configured to show agent pauses as already described?

6
Running QueueMetrics / Re: Agent Pause Status on Realtime Page
« on: August 06, 2015, 22:11:36 »
Thanks very much for the quick reply. I've reviewed the queue_log and no, it doesn't appear that pauses are being captured there. Does something need to be enabled?

Regarding the pause codes, the manual indicates that the numeric pause code can be optionally inputted via the agent's terminal. Am I misreading that or is it not possible to enter pause codes via the physical desk phone? http://manuals.loway.ch/QM_UserManual-chunked/ch21.html#_configuring_pause_codes

7
Running QueueMetrics / Agent Pause Status on Realtime Page
« on: August 06, 2015, 02:41:40 »
Hello,

I'm hoping someone can help me with what I think is probably just a minor change/tweak. A little background, I'm using QM 14.06.2 along with FreePBX 5.211.65-14 and Asterisk 11.12. I've read through the QM manual and the integration with Trixbox/Freepbx manual several times and was successful with install, config, creating agents, queues, etc.

However I've been unable to figure out how to show agent pause status on the realtime page and wallboard. Outbound calls also aren't displaying. This is an inbound ACD environment, but outbound calls are needed at times, and I'd like to be able to capture that data realtime and historically.

I'm currently unable to use the agent webGUI with my current configuration, but hope to in the future. The agents login/logout of all assigned queues using FreePBX default feature codes on their phones (*45) and pause/unpause using *46. Agent login/logout reflects correctly in the realtime reports, but not pause. Additionally I'd like to have the agents define a pause code. I see in the manual that the numeric pause codes are possible, but so far it's unclear to me as to how to accomplish this.

I found the extensions_queuemetrics.conf file and see that pause is defined as extension 22 and unpause is 23. I have also confirmed that this file is being used by the main extensions file. How do I actually make use of these extensions or get them to work with the *46 feature code functionality? Maybe the dialplan settings needs to be changed?

I apologize in advance if I've overlooked something small. I'm a telephony newbie and I've had to take on this project from someone else with very little experience. Thanks for any help you can provide. Please let me know if any specific logs are needed as well.

Pages: [1]