QueueMetrics > Running QueueMetrics
Outbound not being recorded
(1/1)
torontob:
Hi Everyone,
Earlier in the evening I got OUTBOUND working through a queue and for few minutes I had calls recording as well. Now, I don't know what I changed and I can only see the call was made but no recording was made. I am wondering if MixMonitor requires Answer() as a pre-requisite. Can someone please post the working configs. I have tried the ones in the manual but it doesn't seem to work anymore (very strange). Basically MixMonitor is not recording for some odd reason even though CLI doesn't show any stop at MixMonitor line.
490 is the Queue that was created in FreePBX (Piaf).
--- Code: ---[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-${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=ZAP/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)
--- End code ---
Asterisk CLI output:
--- Code: --- -- Executing [4904166356574@queuedial:1] Set("Local/4904166356574@queuedial-cd78,2", "QDIALER_QUEUE=q-490") in new stack
-- Executing [4904166356574@queuedial:2] Set("Local/4904166356574@queuedial-cd78,2", "QDIALER_NUMBER=4166356574") in new stack
-- Executing [4904166356574@queuedial:3] Set("Local/4904166356574@queuedial-cd78,2", "QDIALER_AGENT=Agent/361") in new stack
-- Executing [4904166356574@queuedial:4] Set("Local/4904166356574@queuedial-cd78,2", "QDIALER_CHANNEL=ZAP/g0/4166356574") in new stack
-- Executing [4904166356574@queuedial:5] Set("Local/4904166356574@queuedial-cd78,2", "QueueName=q-490") in new stack
-- Executing [4904166356574@queuedial:6] MixMonitor("Local/4904166356574@queuedial-cd78,2", "Q-q-490-1303798201.361148.WAV|b|") in new stack
-- Executing [4904166356574@queuedial:7] Goto("Local/4904166356574@queuedial-cd78,2", "qm-queuedial|s|1") in new stack
-- Goto (qm-queuedial,s,1)
-- Executing [s@qm-queuedial:1] NoOp("Local/4904166356574@queuedial-cd78,2", " "Outbound call - A:Agent/361 N:4166356574 Q:q-490 Ch:ZAP/g0/4166356574" ") in new stack
-- Executing [s@qm-queuedial:2] Set("Local/4904166356574@queuedial-cd78,2", "CDR(accountcode)=QDIALAGI") in new stack
-- Executing [s@qm-queuedial:3] Set("Local/4904166356574@queuedial-cd78,2", "ST=1303798201") in new stack
-- Executing [s@qm-queuedial:4] Set("Local/4904166356574@queuedial-cd78,2", "GM=QDV-Agent/361") in new stack
-- Executing [s@qm-queuedial:5] Set("Local/4904166356574@queuedial-cd78,2", "GLOBAL(QDV-Agent/361)=U") in new stack
== Setting global variable 'QDV-Agent/361' to 'U'
-- Executing [s@qm-queuedial:6] Set("Local/4904166356574@queuedial-cd78,2", "GLOBAL(QDV-Agent/361ans)=0") in new stack
== Setting global variable 'QDV-Agent/361ans' to '0'
-- Executing [s@qm-queuedial:7] Macro("Local/4904166356574@queuedial-cd78,2", "queuelog|1303798201|1303798201.361148|q-490|Agent/361|CALLOUTBOUND||4166356574") in new stack
-- Executing [s@macro-queuelog:1] QueueLog("Local/4904166356574@queuedial-cd78,2", "q-490|1303798201.361148|Agent/361|CALLOUTBOUND||4166356574|") in new stack
-- Executing [s@qm-queuedial:9] Dial("Local/4904166356574@queuedial-cd78,2", "ZAP/g0/4166356574|300|gM(queuedial-answer^1303798201.361148^QDV-Agent/361^q-490^Agent/361^1303798201)") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g0/4166356574
--- End code ---
Your input is much appreciated.
QueueMetrics:
It looks correct so far.... is the file/files for MixMonitor created at all?
Which version of Asterisk is that?
torontob:
The file is not created for some very odd reason. So, I appended the /var/spool/asterisk/monitor/ folder in-front of the name and it didn't help. Using the same syntax in a separate context and I get a recorded file just fine. What do you suggest I should do to look further into it?
Regards,
QueueMetrics:
Looks like an Asterisk issue to me.
torontob:
Doesn't mixmonitor have to have Answer() first and then MixMonitor? the current context guide from you doesn't include that. Also, with Asterisk 1.4x are the pipes | still used for b option |b| in MixMonitor or change it to ,?
Navigation
[0] Message Index
Go to full version