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 - hwjustin

Pages: [1]
1
Running QueueMetrics / Auto generate/email reports failing
« on: December 28, 2009, 18:53:21 »
Using the instructions in the FAQ:  http://queuemetrics.com/faq.jsp#faq-063-printing_pdf

I am getting an error with this script regarding the wget command:

Code: [Select]
Cannot specify both -k and -O if multiple URLs are given, or in combination with -p or -r. See the manual for details.
Any ideas on how to make this work? BTW, I'm using Gentoo and have htmldoc and nail emerged.

2
Running QueueMetrics / Old data still showing in reports
« on: December 11, 2009, 19:42:06 »
Before going live with my QM install, I cleared the the file /var/log/asterisk/queue_log and the queue_log table in MySQL. However, when I run reports, specifically on Agent Availabilty, I see old data included 100+ hours of login time when the 'live' operation hasn't even been up that long. How can I truncate the data to show only the relevant data since going live?

3
Realtime Live / Robot AJAX Realtime Login
« on: December 03, 2009, 16:53:22 »
I know you can use http://server:8080/queuemetrics/qm_wab.do?user=robot&pass=xxx&reloads=1&queues=00-All for the 'old' realtime page. What would the URL be for the new AJAX realtime page?

4
Outbound and QueueMetrics / Using IVR code to track outgoing
« on: November 19, 2009, 16:04:32 »
I have successfully setup IVR tracking for inbound calls:

Code: [Select]
QueueLog(incoming-q,${UNIQUEID},NONE,INFO,IVR|${IVR})
And I'm using the default qm-queuedial context for outbound calls. How can I insert an IVR code 'outgoing' for all outbound calls?

Here's what I tried (it shows Untracked in the IVR detail in QM):

Code: [Select]
exten => s,n,Macro(queuelog,${ST},${UNIQUEID},${QDIALER_QUEUE},${QDIALER_AGENT},CALLOUTBOUND,-,${QDIALER_NUMBER},IVR|${IVR})
Quote
-- Executing [s@qm-queuedial:7] Macro("SIP/NOC1-f6819b48", "queuelog|1258642605|1258642605.151|outgoing-q|413|CALLOUTBOUND|-|4077828790|IVR|Outgoing") in new stack
-- Executing [s@macro-queuelog:1] QueueLog("SIP/NOC1-f6819b48", "outgoing-q|1258642605.151|413|CALLOUTBOUND|-|4077828790|IVR") in new stack

It cuts off the actual IVR selection in the QueueLog command. How shall I restructure this?

5
Running QueueMetrics / Handled By displays different name in QM
« on: November 06, 2009, 21:13:53 »
I have incoming and outgoing queues setup in Asterisk and Queuemetrics. Both are populating data in the queue_log and the QM web interface. The problem is, Agents are being identified differently in each queue.

Here is the QM interface:

Quote
Date        Caller        Queue        Wait        Duration        Pos.        Disconnection        Handled by        Attempts        Code        Stints                       
11/06 - 11:05:20    4072152428    incoming-q    0:07      1:04      1    Caller    agent/chris ryan    1         1         Details         Details
11/06 - 13:00:44    2458    outgoing-q    0:01      0:04      0    Agent    Chris Ryan    1         1         Details         Details

Here is the queue_log:

Quote
1257530720|1257530687.55|incoming-q|NONE|INFO|IVR|Service
1257530720|1257530687.55|incoming-q|NONE|ENTERQUEUE||4072152428
1257530727|1257530687.55|incoming-q|Chris Ryan|CONNECT|7|1257530720.58
1257530791|1257530687.55|incoming-q|Chris Ryan|COMPLETECALLER|7|64|1
1257537644|1257537644.60|outgoing-q|NONE|INFO|IVR|Outgoing
1257537644|1257537644.60|outgoing-q|413|CALLOUTBOUND|-|2458|
1257537645|1257537644.60|outgoing-q|413|CONNECT|1||
1257537649|1257537644.60|outgoing-q|413|COMPLETEAGENT|1|4

And the relevant dialplan info:

Code: [Select]
exten => begin,n,Set(CALLERID(name)=EN/${CALLERID(name)})
exten => begin,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/EN-${UNIQUEID})
exten => begin,n,QueueLog(incoming-q,${UNIQUEID},NONE,INFO,IVR|${IVR})
exten => begin,n,Queue(incoming-q|t|||300)

exten => _XXX.,1,Set(QDIALER_QUEUE=outgoing-q)
exten => _XXX.,n,Set(QDIALER_NUMBER=${EXTEN})
exten => _XXX.,n,Set(QDIALER_AGENT=${AGENTID})
exten => _XXX.,n,Set(QDIALER_CHANNEL=IAX2/PHX/${QDIALER_NUMBER})
exten => _XXX.,n,Set(QueueName=${QDIALER_QUEUE})
exten => _XXX.,n,MixMonitor(/var/spool/asterisk/monitor/OUT-${UNIQUEID}.WAV|b|)
exten => _XXX.,n,Goto(qm-queuedial,s,1)

[qm-queuedial]
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,QueueLog(${QDIALER_QUEUE},${UNIQUEID},NONE,INFO,IVR|Outgoing) ;Set IVR code for Outoing
exten => s,n,Macro(queuelog,${ST},${UNIQUEID},${QDIALER_QUEUE},${QDIALER_AGENT},CALLOUTBOUND,-,${QDIALER_NUMBER})
exten => s,n,Dial(${QDIALER_CHANNEL},30,gM(queuedial-answer^${UNIQUEID}^${GM}^${QDIALER_QUEUE}^${QDIALER_AGENT}^${ST}))
exten => s,n,Set(CAUSECOMPLETE=${IF($["${DIALSTATUS}" = "ANSWER"]?C)})

My question is why is the agent displayed as 'agent/chris ryan' for the incoming-q and 'Chris Ryan' for the outgoing-q?

Pages: [1]