QueueMetrics > Outbound and QueueMetrics

Outbound call report by Agent number problem

(1/2) > >>

fredsi:
Hi,

I tried to setup outbound call queue on my Elastix system. If I use queuedial, which will report outbound calls by extension, it works fine. but when I tried to use queuedial-loggedon (I have copied from this forum), I always here "Agents logged off". Here is the line under [queuedial-loggedon]
exten => _XXX.,n,Set(QDIALER_AGENT=Agent/${AGENTBYCALLERID_${CALLERID(num)}})
from the asterisk console I saw this:
    -- Executing [1991NXXNXXXXXX@queuedial-loggedon:3] Set("Local/1991NXXNXXXXXX@queuedial-loggedon-4052,2", "QDIALER_AGENT=Agent/") in new stack
in which, q-199 is outbound queue, and 1NXXNXXXXX is the phone number I dialed. It didn't get the agent ID as expected. By the way, I did logged in, and I changed status to pause cause I don't want receive inbound calls while I dialed out.

Please help. Thanks.

Fred

QueueMetrics:
That's because your agent code is not set - you don't use AGENTCALLBACKLOGIN.
 

--- Code: ---exten => _XXX.,n,Set(QDIALER_AGENT=Agent/${CALLERID(num)})
--- End code ---

Should work....

fredsi:
Thank you.

I see it's the same as under [queuedial], and this logs extension number but not login ID. see below:

04/13 - 14:29:17     1xxxxxxxxxx      199 Outbound      0:04        1:01       0      Agent      agent/4004     1           1

in which 4004 is the extension number, and my login ID 6002 is not logged. How can I fix that?

Sincerely,

Fred

QueueMetrics:
At the moment, unless you have a way in the dialplan to get the agent code from the extension number, I think this is not feasible. Will be fixed with the new version with hotdesking.

fredsi:
I copied this from the post by Zerabox, topic "please help" on 7/9/2009. here is part of his script:

[queuedial-loggedon]
; This piece of dialplan will let only logged on agents dial out
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/${AGENTBYCALLERID_${CALLERID(num)}})
......

I don't know why his script doesn't work for me, as I posted, the last line above didn't catch the actual Agent ID, that's why it always say "Agents logged off". Any idea? Thanks.

Fred

Navigation

[0] Message Index

[#] Next page

Go to full version