QueueMetrics > Outbound and QueueMetrics
Using IVR code to track outgoing
hwjustin:
I have successfully setup IVR tracking for inbound calls:
--- Code: ---QueueLog(incoming-q,${UNIQUEID},NONE,INFO,IVR|${IVR})
--- End code ---
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: ---exten => s,n,Macro(queuelog,${ST},${UNIQUEID},${QDIALER_QUEUE},${QDIALER_AGENT},CALLOUTBOUND,-,${QDIALER_NUMBER},IVR|${IVR})
--- End code ---
--- 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
--- End quote ---
It cuts off the actual IVR selection in the QueueLog command. How shall I restructure this?
QueueMetrics:
One thing first: how/why would you need to track the IVR code for an outgoing call? (just acuriosity)
hwjustin:
Because all of my incoming calls have an IVR tag. If the outgoing calls do not, they are confusingly marked in QM as Untracked.
QueueMetrics:
But they are on different queues - so you could simply run separate reports... :)
Anyway, you could add the IVR line in the qm-queuedial context, just before the line with the Goto command.
hwjustin:
There is no Goto in start:
--- Code: ---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},IVR|${IVR})
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)})
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version