Here is the output from the failed QM call.
[2013-04-11 23:00:20] NOTICE[4918]: manager.c:2479 authenticate: Seems to have passed...
-- Executing [35@queuemetrics:1] Answer("Local/35@queuemetrics-0000000a;2", "") in new stack
> Channel Local/35@queuemetrics-0000000a;1 was answered.
-- Executing [10@queuemetrics:1] Answer("Local/35@queuemetrics-0000000a;1", "") in new stack
-- Executing [10@queuemetrics:2] Wait("Local/35@queuemetrics-0000000a;1", "10") in new stack
-- Executing [35@queuemetrics:2] NoOp("Local/35@queuemetrics-0000000a;2", " "QM: AddQueueMember (asterisk v1.4+) Agent/200 at extension SIP/315 on queue 350 made by 'Agent/200' with prioritylabel 'M' and prioritynum '0'" ") in new stack
-- Executing [35@queuemetrics:3] Macro("Local/35@queuemetrics-0000000a;2", "queuelog,1365735620,1365735620.29,NONE,Agent/200,HOTDESK,SIP/315") in new stack
-- Executing [s@macro-queuelog:1] QueueLog("Local/35@queuemetrics-0000000a;2", "NONE,1365735620.29,Agent/200,HOTDESK,SIP/315||") in new stack
-- Executing [35@queuemetrics:4] AddQueueMember("Local/35@queuemetrics-0000000a;2", "350,SIP/315") in new stack
[2013-04-11 23:00:20] NOTICE[4919]: app_queue.c:6118 aqm_exec: Added interface 'SIP/315' to queue '350'
-- Executing [35@queuemetrics:5] Hangup("Local/35@queuemetrics-0000000a;2", "") in new stack
== Spawn extension (queuemetrics, 35, 5) exited non-zero on 'Local/35@queuemetrics-0000000a;2'
== Spawn extension (queuemetrics, 10, 2) exited non-zero on 'Local/35@queuemetrics-0000000a;1'
[2013-04-11 23:00:29] NOTICE[4940]: manager.c:2479 authenticate: Seems to have passed...
-- Executing [315@from-internal:1] Set("Local/315@from-internal-0000000b;2", "__RINGTIMER=15") in new stack
-- Executing [315@from-internal:2] Macro("Local/315@from-internal-0000000b;2", "exten-vm,novm,315,0,0,0") in new stack
-- Executing [s@macro-exten-vm:1] Macro("Local/315@from-internal-0000000b;2", "user-callerid,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/315@from-internal-0000000b;2", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:2] GotoIf("Local/315@from-internal-0000000b;2", "0?report") in new stack
-- Executing [s@macro-user-callerid:3] ExecIf("Local/315@from-internal-0000000b;2", "1?Set(REALCALLERIDNUM=)") in new stack
-- Executing [s@macro-user-callerid:4] Set("Local/315@from-internal-0000000b;2", "AMPUSER=") in new stack
-- Executing [s@macro-user-callerid:5] Set("Local/315@from-internal-0000000b;2", "AMPUSERCIDNAME=") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("Local/315@from-internal-0000000b;2", "1?report") in new stack
-- Goto (macro-user-callerid,s,13)
-- Executing [s@macro-user-callerid:13] GotoIf("Local/315@from-internal-0000000b;2", "0?continue") in new stack
-- Executing [s@macro-user-callerid:14] Set("Local/315@from-internal-0000000b;2", "__TTL=64") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("Local/315@from-internal-0000000b;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,26)
-- Executing [s@macro-user-callerid:26] Set("Local/315@from-internal-0000000b;2", "CALLERID(number)=") in new stack
-- Executing [s@macro-user-callerid:27] Set("Local/315@from-internal-0000000b;2", "CALLERID(name)=") in new stack
-- Executing [s@macro-user-callerid:28] Set("Local/315@from-internal-0000000b;2", "CHANNEL(language)=en") in new stack
-- Executing [s@macro-exten-vm:2] Set("Local/315@from-internal-0000000b;2", "RingGroupMethod=none") in new stack
-- Executing [s@macro-exten-vm:3] Set("Local/315@from-internal-0000000b;2", "__EXTTOCALL=315") in new stack
-- Executing [s@macro-exten-vm:4] Set("Local/315@from-internal-0000000b;2", "__PICKUPMARK=315") in new stack
-- Executing [s@macro-exten-vm:5] Set("Local/315@from-internal-0000000b;2", "RT=") in new stack
-- Executing [s@macro-exten-vm:6] Gosub("Local/315@from-internal-0000000b;2", "sub-record-check,s,1(exten,315,)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("Local/315@from-internal-0000000b;2", "1?check") in new stack
-- Goto (sub-record-check,s,6)
-- Executing [s@sub-record-check:6] Set("Local/315@from-internal-0000000b;2", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:7] GotoIf("Local/315@from-internal-0000000b;2", "1?next") in new stack
-- Goto (sub-record-check,s,10)
-- Executing [s@sub-record-check:10] ExecIf("Local/315@from-internal-0000000b;2", "0?Return()") in new stack
-- Executing [s@sub-record-check:11] GotoIf("Local/315@from-internal-0000000b;2", "0?exten,1") in new stack
-- Executing [s@sub-record-check:12] Set("Local/315@from-internal-0000000b;2", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:13] ExecIf("Local/315@from-internal-0000000b;2", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:14] Set("Local/315@from-internal-0000000b;2", "NOW=1365735629") in new stack
-- Executing [s@sub-record-check:15] Set("Local/315@from-internal-0000000b;2", "__DAY=11") in new stack
-- Executing [s@sub-record-check:16] Set("Local/315@from-internal-0000000b;2", "__MONTH=04") in new stack
-- Executing [s@sub-record-check:17] Set("Local/315@from-internal-0000000b;2", "__YEAR=2013") in new stack
-- Executing [s@sub-record-check:18] Set("Local/315@from-internal-0000000b;2", "__TIMESTR=20130411-230029") in new stack
-- Executing [s@sub-record-check:19] Set("Local/315@from-internal-0000000b;2", "__FROMEXTEN=unknown") in new stack
-- Executing [s@sub-record-check:20] Set("Local/315@from-internal-0000000b;2", "__CALLFILENAME=exten-315-unknown-20130411-230029-1365735629.31") in new stack
-- Executing [s@sub-record-check:21] Goto("Local/315@from-internal-0000000b;2", "exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [exten@sub-record-check:1] GotoIf("Local/315@from-internal-0000000b;2", "0?callee") in new stack
-- Executing [exten@sub-record-check:2] Set("Local/315@from-internal-0000000b;2", "__REC_POLICY_MODE=dontcare") in new stack
-- Executing [exten@sub-record-check:3] GotoIf("Local/315@from-internal-0000000b;2", "1?caller") in new stack
-- Goto (sub-record-check,exten,10)
-- Executing [exten@sub-record-check:10] Set("Local/315@from-internal-0000000b;2", "__REC_POLICY_MODE=") in new stack
-- Executing [exten@sub-record-check:11] GosubIf("Local/315@from-internal-0000000b;2", "0?record,1(exten,315,unknown)") in new stack
-- Executing [exten@sub-record-check:12] Return("Local/315@from-internal-0000000b;2", "") in new stack
-- Executing [s@macro-exten-vm:7] GotoIf("Local/315@from-internal-0000000b;2", "1?macrodial") in new stack
-- Goto (macro-exten-vm,s,13)
-- Executing [s@macro-exten-vm:13] GosubIf("Local/315@from-internal-0000000b;2", "0?clrheader,1()") in new stack
-- Executing [s@macro-exten-vm:14] Macro("Local/315@from-internal-0000000b;2", "dial-one,,tr,315") in new stack
-- Executing [s@macro-dial-one:1] Set("Local/315@from-internal-0000000b;2", "DEXTEN=315") in new stack
-- Executing [s@macro-dial-one:2] Set("Local/315@from-internal-0000000b;2", "DIALSTATUS_CW=") in new stack
-- Executing [s@macro-dial-one:3] GosubIf("Local/315@from-internal-0000000b;2", "0?screen,1()") in new stack
-- Executing [s@macro-dial-one:4] GosubIf("Local/315@from-internal-0000000b;2", "0?cf,1()") in new stack
-- Executing [s@macro-dial-one:5] GotoIf("Local/315@from-internal-0000000b;2", "1?skip1") in new stack
-- Goto (macro-dial-one,s,8)
-- Executing [s@macro-dial-one:8] GotoIf("Local/315@from-internal-0000000b;2", "0?nodial") in new stack
-- Executing [s@macro-dial-one:9] GotoIf("Local/315@from-internal-0000000b;2", "0?continue") in new stack
-- Executing [s@macro-dial-one:10] Set("Local/315@from-internal-0000000b;2", "EXTHASCW=ENABLED") in new stack
-- Executing [s@macro-dial-one:11] GotoIf("Local/315@from-internal-0000000b;2", "0?next1:cwinusebusy") in new stack
-- Goto (macro-dial-one,s,23)
-- Executing [s@macro-dial-one:23] GotoIf("Local/315@from-internal-0000000b;2", "1?next3:continue") in new stack
-- Goto (macro-dial-one,s,24)
-- Executing [s@macro-dial-one:24] ExecIf("Local/315@from-internal-0000000b;2", "0?Set(DIALSTATUS_CW=BUSY)") in new stack
-- Executing [s@macro-dial-one:25] GotoIf("Local/315@from-internal-0000000b;2", "0?nodial") in new stack
-- Executing [s@macro-dial-one:26] GosubIf("Local/315@from-internal-0000000b;2", "1?dstring,1():dlocal,1()") in new stack
-- Executing [dstring@macro-dial-one:1] Set("Local/315@from-internal-0000000b;2", "DSTRING=") in new stack
-- Executing [dstring@macro-dial-one:2] Set("Local/315@from-internal-0000000b;2", "DEVICES=315") in new stack
-- Executing [dstring@macro-dial-one:3] ExecIf("Local/315@from-internal-0000000b;2", "0?Return()") in new stack
-- Executing [dstring@macro-dial-one:4] ExecIf("Local/315@from-internal-0000000b;2", "0?Set(DEVICES=15)") in new stack
-- Executing [dstring@macro-dial-one:5] Set("Local/315@from-internal-0000000b;2", "LOOPCNT=1") in new stack
-- Executing [dstring@macro-dial-one:6] Set("Local/315@from-internal-0000000b;2", "ITER=1") in new stack
-- Executing [dstring@macro-dial-one:7] Set("Local/315@from-internal-0000000b;2", "THISDIAL=SIP/315") in new stack
-- Executing [dstring@macro-dial-one:8] GosubIf("Local/315@from-internal-0000000b;2", "1?zap2dahdi,1()") in new stack
-- Executing [zap2dahdi@macro-dial-one:1] ExecIf("Local/315@from-internal-0000000b;2", "0?Return()") in new stack
-- Executing [zap2dahdi@macro-dial-one:2] Set("Local/315@from-internal-0000000b;2", "NEWDIAL=") in new stack
-- Executing [zap2dahdi@macro-dial-one:3] Set("Local/315@from-internal-0000000b;2", "LOOPCNT2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:4] Set("Local/315@from-internal-0000000b;2", "ITER2=1") in new stack
-- Executing [zap2dahdi@macro-dial-one:5] Set("Local/315@from-internal-0000000b;2", "THISPART2=SIP/315") in new stack
-- Executing [zap2dahdi@macro-dial-one:6] ExecIf("Local/315@from-internal-0000000b;2", "0?Set(THISPART2=DAHDI/315)") in new stack
-- Executing [zap2dahdi@macro-dial-one:7] Set("Local/315@from-internal-0000000b;2", "NEWDIAL=SIP/315&") in new stack
-- Executing [zap2dahdi@macro-dial-one:8] Set("Local/315@from-internal-0000000b;2", "ITER2=2") in new stack
-- Executing [zap2dahdi@macro-dial-one:9] GotoIf("Local/315@from-internal-0000000b;2", "0?begin2") in new stack
-- Executing [zap2dahdi@macro-dial-one:10] Set("Local/315@from-internal-0000000b;2", "THISDIAL=SIP/315") in new stack
-- Executing [zap2dahdi@macro-dial-one:11] Return("Local/315@from-internal-0000000b;2", "") in new stack
-- Executing [dstring@macro-dial-one:9] Set("Local/315@from-internal-0000000b;2", "DSTRING=SIP/315&") in new stack
-- Executing [dstring@macro-dial-one:10] Set("Local/315@from-internal-0000000b;2", "ITER=2") in new stack
-- Executing [dstring@macro-dial-one:11] GotoIf("Local/315@from-internal-0000000b;2", "0?begin") in new stack
-- Executing [dstring@macro-dial-one:12] Set("Local/315@from-internal-0000000b;2", "DSTRING=SIP/315") in new stack
-- Executing [dstring@macro-dial-one:13] Return("Local/315@from-internal-0000000b;2", "") in new stack
-- Executing [s@macro-dial-one:27] GotoIf("Local/315@from-internal-0000000b;2", "0?nodial") in new stack
-- Executing [s@macro-dial-one:28] GotoIf("Local/315@from-internal-0000000b;2", "0?skiptrace") in new stack
-- Executing [s@macro-dial-one:29] GosubIf("Local/315@from-internal-0000000b;2", "0?ctset,1():ctclear,1()") in new stack
-- Executing [ctclear@macro-dial-one:1] NoOp("Local/315@from-internal-0000000b;2", "Deleting: CALLTRACE/315 ") in new stack
-- Executing [ctclear@macro-dial-one:2] Return("Local/315@from-internal-0000000b;2", "") in new stack
-- Executing [s@macro-dial-one:30] Set("Local/315@from-internal-0000000b;2", "D_OPTIONS=tr") in new stack
-- Executing [s@macro-dial-one:31] ExecIf("Local/315@from-internal-0000000b;2", "0?SIPAddHeader(Alert-Info: )") in new stack
-- Executing [s@macro-dial-one:32] ExecIf("Local/315@from-internal-0000000b;2", "0?SIPAddHeader()") in new stack
-- Executing [s@macro-dial-one:33] ExecIf("Local/315@from-internal-0000000b;2", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [s@macro-dial-one:34] GosubIf("Local/315@from-internal-0000000b;2", "0?qwait,1()") in new stack
-- Executing [s@macro-dial-one:35] Set("Local/315@from-internal-0000000b;2", "__CWIGNORE=") in new stack
-- Executing [s@macro-dial-one:36] Set("Local/315@from-internal-0000000b;2", "__KEEPCID=TRUE") in new stack
-- Executing [s@macro-dial-one:37] GotoIf("Local/315@from-internal-0000000b;2", "0?usegoto,1") in new stack
-- Executing [s@macro-dial-one:38] GotoIf("Local/315@from-internal-0000000b;2", "1?godial") in new stack
-- Goto (macro-dial-one,s,42)
-- Executing [s@macro-dial-one:42] Dial("Local/315@from-internal-0000000b;2", "SIP/315,,tr") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/315
-- SIP/315-00000008 is ringing
-- SIP/315-00000008 answered Local/315@from-internal-0000000b;2
> Channel Local/315@from-internal-0000000b;1 was answered.
[2013-04-11 23:00:35] ERROR[4940]: utils.c:1222 ast_careful_fwrite: fwrite() returned error: Broken pipe
[2013-04-11 23:00:35] ERROR[4940]: utils.c:1222 ast_careful_fwrite: fwrite() returned error: Broken pipe
-- Executing [28@queuemetrics:1] Answer("Local/315@from-internal-0000000b;1", "") in new stack
-- Executing [28@queuemetrics:2] NoOp("Local/315@from-internal-0000000b;1", " "QM: Agent Custom Dial. Dialing 83210987 on queue 350 made by 'Agent/200'" ") in new stack
-- Executing [28@queuemetrics:3] Set("Local/315@from-internal-0000000b;1", "QDIALER_QUEUE=350") in new stack
-- Executing [28@queuemetrics:4] Set("Local/315@from-internal-0000000b;1", "QDIALER_NUMBER=83210987") in new stack
-- Executing [28@queuemetrics:5] Set("Local/315@from-internal-0000000b;1", "QDIALER_AGENT=Agent/200") in new stack
-- Executing [28@queuemetrics:6] Set("Local/315@from-internal-0000000b;1", "QDIALER_CHANNEL=SIP/83210987") in new stack
-- Executing [28@queuemetrics:7] Set("Local/315@from-internal-0000000b;1", "QueueName=350") in new stack
-- Executing [28@queuemetrics:8] MixMonitor("Local/315@from-internal-0000000b;1", "Q-350-1365735629.30.WAV,b,") in new stack
-- Executing [28@queuemetrics:9] Goto("Local/315@from-internal-0000000b;1", "qm-queuedial,s,1") in new stack
-- Goto (qm-queuedial,s,1)
-- Executing [s@qm-queuedial:1] NoOp("Local/315@from-internal-0000000b;1", " "Outbound call - A:Agent/200 N:83210987 Q:350 Ch:SIP/83210987" ") in new stack
-- Executing [s@qm-queuedial:2] Set("Local/315@from-internal-0000000b;1", "CDR(accountcode)=QDIALAGI") in new stack
-- Executing [s@qm-queuedial:3] Set("Local/315@from-internal-0000000b;1", "ST=1365735635") in new stack
-- Executing [s@qm-queuedial:4] Set("Local/315@from-internal-0000000b;1", "GM=QDV-Agent/200") in new stack
-- Executing [s@qm-queuedial:5] Set("Local/315@from-internal-0000000b;1", "GLOBAL(QDV-Agent/200)=U") in new stack
== Setting global variable 'QDV-Agent/200' to 'U'
-- Executing [s@qm-queuedial:6] Set("Local/315@from-internal-0000000b;1", "GLOBAL(QDV-Agent/200ans)=0") in new stack
== Setting global variable 'QDV-Agent/200ans' to '0'
-- Executing [s@qm-queuedial:7] Macro("Local/315@from-internal-0000000b;1", "queuelog,1365735635,1365735629.30,350,Agent/200,CALLOUTBOUND,,83210987") in new stack
-- Executing [s@macro-queuelog:1] QueueLog("Local/315@from-internal-0000000b;1", "350,1365735629.30,Agent/200,CALLOUTBOUND,|83210987|") in new stack
-- Executing [s@qm-queuedial:8] Dial("Local/315@from-internal-0000000b;1", "SIP/83210987,300,gM(queuedial-answer^1365735629.30^QDV-Agent/200^350^Agent/200^1365735635)") in new stack
== Begin MixMonitor Recording Local/315@from-internal-0000000b;1
This post exceeded the limit so will be continued on the next reply.