QueueMetrics > Outbound and QueueMetrics

Outbound with Asterisk 1.6

<< < (6/8) > >>

QueueMetrics:
Simple: you use the ADDMEMBER / REMOVEMEMBER buttons.

You cannot do an AgentCallbackLogin because - of course - it does not exist in Asterisk 1.6.

But the ADDMEMBER  / REMOVEMEMBER option are easier to use than the Asterisk counterparts because they can log you in and out of all queues at once.


viniciusfontes:
EDIT: I tought it was working, but QM is adding Local/[agentnumber]@interno to the queue. [agentnumber] is an invalid extension, the extension the agent currently is at is completely ignored. That makes sense because the agent never logged in, so there's no way to bind an agent number to an extension number. At least, not that I know of.

Also, I can't pause and unpause agents because the commands use the Agent channel, like this:


--- Code: ---; extension 22: agent pause (with pause code)
exten => 22,1,Answer
exten => 22,2,NoOp( "QM: Pausing Agent/${AGENTCODE} with pause reason '${PAUSEREASON}' made by '${QM_LOGIN}' " )
exten => 22,3,PauseQueueMember(,Agent/${AGENTCODE})
exten => 22,4,System( echo "${EPOCH}|${UNIQUEID}|NONE|Agent/${AGENTCODE}|PAUSEREASON|${PAUSEREASON}" >> /var/log/asterisk/queue_log )
exten => 22,5,Hangup

; extension 23: agent unpause
exten => 23,1,Answer
exten => 23,2,NoOp( "QM: Unpausing Agent/${AGENTCODE} made by '${QM_LOGIN}' " )
exten => 23,3,UnpauseQueueMember(,Agent/${AGENTCODE})
exten => 23,4,Hangup

--- End code ---

Any workaround for that?

QueueMetrics:
Just modify the dialplan supplied so that it works consistently.

 Change PauseQueueMember(,Agent/${AGENTCODE}) to PauseQueueMember(,Local/${AGENTCODE}@interno)

Also on recent systems the System line is not necessary.

viniciusfontes:
I gave up with using 1.6. Too much hacking needed and I don't have enough time for that.

Downgraded to 1.4. I want to use the feature where only logged on agents can dial out, but this is happening on the CLI:


--- Code: ---    -- Executing [021047051@callcenter:1] Goto("SIP/201-00000001", "queuedial-loggedon|00121047051|1") in new stack
    -- Goto (queuedial-loggedon,00121047051,1)
    -- Executing [00121047051@queuedial-loggedon:1] Set("SIP/201-00000001", "QDIALER_QUEUE=q-001") in new stack
    -- Executing [00121047051@queuedial-loggedon:2] Set("SIP/201-00000001", "QDIALER_NUMBER=21047051") in new stack
    -- Executing [00121047051@queuedial-loggedon:3] Set("SIP/201-00000001", "QDIALER_AGENT=Agent/") in new stack
    -- Executing [00121047051@queuedial-loggedon:4] Set("SIP/201-00000001", "QDIALER_CHANNEL=SIP/21047051") in new stack
    -- Executing [00121047051@queuedial-loggedon:5] Set("SIP/201-00000001", "QueueName=q-001") in new stack
    -- Executing [00121047051@queuedial-loggedon:6] MixMonitor("SIP/201-00000001", "Q-q-001-1268750945.1.WAV|b|") in new stack
  == Begin MixMonitor Recording SIP/201-00000001
    -- Executing [00121047051@queuedial-loggedon:7] GotoIf("SIP/201-00000001", "0?qm-queuedial|s|1") in new stack
    -- Executing [00121047051@queuedial-loggedon:8] NoOp("SIP/201-00000001", "Extension 201 is not logged on as agent.") in new stack
    -- Executing [00121047051@queuedial-loggedon:9] Playback("SIP/201-00000001", "agent-loggedoff") in new stack
    -- <SIP/201-00000001> Playing 'agent-loggedoff' (language 'pt_BR')
    -- Executing [00121047051@queuedial-loggedon:10] Congestion("SIP/201-00000001", "") in new stack
  == Spawn extension (queuedial-loggedon, 00121047051, 10) exited non-zero on 'SIP/201-00000001'
  == End MixMonitor Recording SIP/201-00000001


--- End code ---

As far as I can tell, it looks like the variable ${AGENTBYCALLERID_${CALLERID(num)}} is null. Was it deprecated, removed from the code or something?

The agent number in this case is 101 and the extension is 201.

QueueMetrics:
Why don't you simply change that to ${CALLERID(num), so you'll see calls being made from AGENT/XXX where XXX is the local extension?
Every version of Asterisk is slightly different :-(

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version