QueueMetrics > Outbound and QueueMetrics
outbound calls not working if logged in via QM
QueueMetrics:
From what you say, the agent IS logged on correctly....
--- Code: --- == Callback Agent '1002' logged in on 1002@from-internal
--- End code ---
blackgecko:
i dont know if a cant make myself clear enough, the problem is not to log on, is that if you do it from the qm agent screen, you cant make outside calls trough the quemetrics-loggeon context, im following the trixbox-outgoing manual.
if instead you log from the phone calling the AgentCallBackLogin() you also get logged on and can make outbound calls that are correctly tracked by queuemetrics.
in both cases the agent gets logged on, but in one case he just cant make outbound calls.
QueueMetrics:
I really see no difference, but if in a case it does not work, there must be some. ;)
Can you point a trace of an outbound call when you are logged in manually versus logged in via QM, so we can see what the difference is?
blackgecko:
Executing [s@macro-record-enable:5] NoOp("SIP/1001-09670138", "No recording needed") in new stack
-- Executing [860057142513@from-internal:4] Macro("SIP/1001-09670138", "dialout-trunk|2|60057142513||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/1001-09670138", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/1001-09670138", "0|Authenticate|") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1001-09670138", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/1001-09670138", "DIAL_NUMBER=60057142513") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/1001-09670138", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/1001-09670138", "GROUP()=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1001-09670138", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1001-09670138", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/1001-09670138", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/1001-09670138", "outbound-callerid|2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1001-09670138", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] GotoIf("SIP/1001-09670138", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,4)
-- Executing [s@macro-outbound-callerid:4] NoOp("SIP/1001-09670138", "REALCALLERIDNUM is 1001") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("SIP/1001-09670138", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,10)
-- Executing [s@macro-outbound-callerid:10] Set("SIP/1001-09670138", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("SIP/1001-09670138", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] Set("SIP/1001-09670138", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/1001-09670138", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,17)
-- Executing [s@macro-outbound-callerid:17] GotoIf("SIP/1001-09670138", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,19)
-- Executing [s@macro-outbound-callerid:19] GotoIf("SIP/1001-09670138", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,23)
-- Executing [s@macro-outbound-callerid:23] NoOp("SIP/1001-09670138", "CallerID set to "Agente 1" <1001>") in new stack
-- Executing [s@macro-dialout-trunk:12] AGI("SIP/1001-09670138", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/1001-09670138", "OUTNUM=60057142513") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/1001-09670138", "custom=AMP") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/1001-09670138", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/1001-09670138", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1001-09670138", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/1001-09670138", "1?customtrunk") in new stack
-- Goto (macro-dialout-trunk,s,22)
-- Executing [s@macro-dialout-trunk:22] Set("SIP/1001-09670138", "pre_num=AMP:Local/") in new stack
-- Executing [s@macro-dialout-trunk:23] Set("SIP/1001-09670138", "the_num=OUTNUM") in new stack
-- Executing [s@macro-dialout-trunk:24] Set("SIP/1001-09670138", "post_num=@queuedial-loggedon/n") in new stack
-- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/1001-09670138", "1?outnum:skipoutnum") in new stack
-- Goto (macro-dialout-trunk,s,26)
-- Executing [s@macro-dialout-trunk:26] Set("SIP/1001-09670138", "the_num=60057142513") in new stack
-- Executing [s@macro-dialout-trunk:27] Dial("SIP/1001-09670138", "Local/60057142513@queuedial-loggedon/n|300|") in new stack
-- Called 60057142513@queuedial-loggedon/n
-- Executing [60057142513@queuedial-loggedon:1] Set("Local/60057142513@queuedial-loggedon-7c2c,2", "QDIALER_QUEUE=q-600") in new stack
-- Executing [60057142513@queuedial-loggedon:2] Set("Local/60057142513@queuedial-loggedon-7c2c,2", "QDIALER_NUMBER=57142513") in new stack
-- Executing [60057142513@queuedial-loggedon:3] Set("Local/60057142513@queuedial-loggedon-7c2c,2", "QDIALER_AGENT=Agent/") in new stack
-- Executing [60057142513@queuedial-loggedon:4] Set("Local/60057142513@queuedial-loggedon-7c2c,2", "QDIALER_CHANNEL=Zap/g0/57142513") in new stack
-- Executing [60057142513@queuedial-loggedon:5] Set("Local/60057142513@queuedial-loggedon-7c2c,2", "QueueName=q-600") in new stack
-- Executing [60057142513@queuedial-loggedon:6] MixMonitor("Local/60057142513@queuedial-loggedon-7c2c,2", "Q-q-600-1229973938.11644.WAV49|b|") in new stack
-- Executing [60057142513@queuedial-loggedon:7] GotoIf("Local/60057142513@queuedial-loggedon-7c2c,2", "0?qm-queuedial|s|1") in new stack
-- Executing [60057142513@queuedial-loggedon:8] NoOp("Local/60057142513@queuedial-loggedon-7c2c,2", "Extension 1001 is not logged on as agent.") in new stack
-- Executing [60057142513@queuedial-loggedon:9] Playback("Local/60057142513@queuedial-loggedon-7c2c,2", "agent-loggedoff") in new stack
== Begin MixMonitor Recording Local/60057142513@queuedial-loggedon-7c2c,2
-- <Local/60057142513@queuedial-loggedon-7c2c,2> Playing 'agent-loggedoff' (language 'en')
-- Local/60057142513@queuedial-loggedon-7c2c,1 answered SIP/1001-09670138
-- Executing [60057142513@queuedial-loggedon:10] Congestion("Local/60057142513@queuedial-loggedon-7c2c,2", "") in new stack
== Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/1001-09670138' in macro 'dialout-trunk'
== Spawn extension (macro-dialout-trunk, s, 27) exited non-zero on 'SIP/1001-09670138'
-- Executing [h@macro-dialout-trunk:1] Macro("SIP/1001-09670138", "hangupcall|") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/1001-09670138", "w") in new stack
-- Executing [s@macro-hangupcall:2] NoCDR("SIP/1001-09670138", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf("SIP/1001-09670138", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf("SIP/1001-09670138", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf("SIP/1001-09670138", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("SIP/1001-09670138", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/1001-09670138' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/1001-09670138'
== Spawn extension (queuedial-loggedon, 60057142513, 10) exited non-zero on 'Local/60057142513@queuedial-loggedon-7c2c,2'
== End MixMonitor Recording Local/60057142513@queuedial-loggedon-7c2c,2
there it is
pbxccvallejo*CLI> show agents
1001 (Agente 1) available at '1001@from-internal' (musiconhold is 'default')
blackgecko:
This one is after the agent has logged in via the phone.
-- AGI Script recordingcheck completed, returning 0
-- Executing [s@macro-record-enable:5] NoOp("SIP/1001-b700f958", "No recording needed") in new stack
-- Executing [860052582880@from-internal:4] Macro("SIP/1001-b700f958", "dialout-trunk|2|60052582880||") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("SIP/1001-b700f958", "DIAL_TRUNK=2") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("SIP/1001-b700f958", "0|Authenticate|") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/1001-b700f958", "0?disabletrunk|1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("SIP/1001-b700f958", "DIAL_NUMBER=60052582880") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("SIP/1001-b700f958", "DIAL_TRUNK_OPTIONS=tr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("SIP/1001-b700f958", "GROUP()=OUT_2") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/1001-b700f958", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/1001-b700f958", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("SIP/1001-b700f958", "DIAL_TRUNK_OPTIONS=") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("SIP/1001-b700f958", "outbound-callerid|2") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/1001-b700f958", "0|SetCallerPres|") in new stack
-- Executing [s@macro-outbound-callerid:2] GotoIf("SIP/1001-b700f958", "1?start") in new stack
-- Goto (macro-outbound-callerid,s,4)
-- Executing [s@macro-outbound-callerid:4] NoOp("SIP/1001-b700f958", "REALCALLERIDNUM is 1001") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("SIP/1001-b700f958", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,10)
-- Executing [s@macro-outbound-callerid:10] Set("SIP/1001-b700f958", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("SIP/1001-b700f958", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:12] Set("SIP/1001-b700f958", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:13] GotoIf("SIP/1001-b700f958", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,17)
-- Executing [s@macro-outbound-callerid:17] GotoIf("SIP/1001-b700f958", "1?usercid") in new stack
-- Goto (macro-outbound-callerid,s,19)
-- Executing [s@macro-outbound-callerid:19] GotoIf("SIP/1001-b700f958", "1?report") in new stack
-- Goto (macro-outbound-callerid,s,23)
-- Executing [s@macro-outbound-callerid:23] NoOp("SIP/1001-b700f958", "CallerID set to "Agente 1" <1001>") in new stack
-- Executing [s@macro-dialout-trunk:12] AGI("SIP/1001-b700f958", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalprefix completed, returning 0
-- Executing [s@macro-dialout-trunk:13] Set("SIP/1001-b700f958", "OUTNUM=60052582880") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("SIP/1001-b700f958", "custom=AMP") in new stack
-- Executing [s@macro-dialout-trunk:15] GotoIf("SIP/1001-b700f958", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,17)
-- Executing [s@macro-dialout-trunk:17] Macro("SIP/1001-b700f958", "dialout-trunk-predial-hook|") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/1001-b700f958", "0?bypass|1") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("SIP/1001-b700f958", "1?customtrunk") in new stack
-- Goto (macro-dialout-trunk,s,22)
-- Executing [s@macro-dialout-trunk:22] Set("SIP/1001-b700f958", "pre_num=AMP:Local/") in new stack
-- Executing [s@macro-dialout-trunk:23] Set("SIP/1001-b700f958", "the_num=OUTNUM") in new stack
-- Executing [s@macro-dialout-trunk:24] Set("SIP/1001-b700f958", "post_num=@queuedial-loggedon/n") in new stack
-- Executing [s@macro-dialout-trunk:25] GotoIf("SIP/1001-b700f958", "1?outnum:skipoutnum") in new stack
-- Goto (macro-dialout-trunk,s,26)
-- Executing [s@macro-dialout-trunk:26] Set("SIP/1001-b700f958", "the_num=60052582880") in new stack
-- Executing [s@macro-dialout-trunk:27] Dial("SIP/1001-b700f958", "Local/60052582880@queuedial-loggedon/n|300|") in new stack
-- Called 60052582880@queuedial-loggedon/n
-- Executing [60052582880@queuedial-loggedon:1] Set("Local/60052582880@queuedial-loggedon-4c4e,2", "QDIALER_QUEUE=q-600") in new stack
-- Executing [60052582880@queuedial-loggedon:2] Set("Local/60052582880@queuedial-loggedon-4c4e,2", "QDIALER_NUMBER=52582880") in new stack
-- Executing [60052582880@queuedial-loggedon:3] Set("Local/60052582880@queuedial-loggedon-4c4e,2", "QDIALER_AGENT=Agent/1001") in new stack
-- Executing [60052582880@queuedial-loggedon:4] Set("Local/60052582880@queuedial-loggedon-4c4e,2", "QDIALER_CHANNEL=Zap/g0/52582880") in new stack
-- Executing [60052582880@queuedial-loggedon:5] Set("Local/60052582880@queuedial-loggedon-4c4e,2", "QueueName=q-600") in new stack
-- Executing [60052582880@queuedial-loggedon:6] MixMonitor("Local/60052582880@queuedial-loggedon-4c4e,2", "Q-q-600-1229974350.11666.WAV49|b|") in new stack
== Begin MixMonitor Recording Local/60052582880@queuedial-loggedon-4c4e,2
-- Executing [60052582880@queuedial-loggedon:7] GotoIf("Local/60052582880@queuedial-loggedon-4c4e,2", "1?qm-queuedial|s|1") in new stack
-- Goto (qm-queuedial,s,1)
-- Executing [s@qm-queuedial:1] NoOp("Local/60052582880@queuedial-loggedon-4c4e,2", "Outbound call -> A:Agent/1001 N:52582880 Q:q-600 Ch:Zap/g0/52582880") in new stack
-- Executing [s@qm-queuedial:2] Set("Local/60052582880@queuedial-loggedon-4c4e,2", "CDR(accountcode)=QDIALAGI") in new stack
-- Executing [s@qm-queuedial:3] Set("Local/60052582880@queuedial-loggedon-4c4e,2", "ST=1229974350") in new stack
-- Executing [s@qm-queuedial:4] Set("Local/60052582880@queuedial-loggedon-4c4e,2", "GM=QDV-Agent/1001") in new stack
-- Executing [s@qm-queuedial:5] Set("Local/60052582880@queuedial-loggedon-4c4e,2", "GLOBAL(QDV-Agent/1001)=U") in new stack
== Setting global variable 'QDV-Agent/1001' to 'U'
-- Executing [s@qm-queuedial:6] Set("Local/60052582880@queuedial-loggedon-4c4e,2", "GLOBAL(QDV-Agent/1001ans)=0") in new stack
== Setting global variable 'QDV-Agent/1001ans' to '0'
-- Executing [s@qm-queuedial:7] Macro("Local/60052582880@queuedial-loggedon-4c4e,2", "queuelog|1229974350|1229974350.11666|q-600|Agent/1001|ENTERQUEUE|-|52582880") in new stack
-- Executing [s@macro-queuelog:1] QueueLog("Local/60052582880@queuedial-loggedon-4c4e,2", "q-600|1229974350.11666|Agent/1001|ENTERQUEUE|-|52582880|") in new stack
-- Executing [s@qm-queuedial:8] Dial("Local/60052582880@queuedial-loggedon-4c4e,2", "Zap/g0/52582880|30|gM(queuedial-answer^1229974350.11666^QDV-Agent/1001^q-600^Agent/1001^1229974350)") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g0/52582880
-- Zap/2-1 is proceeding passing it to Local/60052582880@queuedial-loggedon-4c4e,2
-- Local/60052582880@queuedial-loggedon-4c4e,1 is proceeding passing it to SIP/1001-b700f958
pbxccvallejo*CLI> show agents
1001 (Agente 1) available at '1001@from-internal' (musiconhold is 'default')
as you can see it is not passing the agent correct but i dont know why.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version