9
« on: March 25, 2007, 09:01:07 »
Hi,
I'm trying to get queuemetrics to report when the agent login and logout. I'm unable to get it work. I have tried with addqueuemember and with agentcalllogin. None of them work. The agetn can receive call and realtime panel show the agent as logged in but when I generate a report, I can't see the agent session detail.
Here are the queue_log details with addqueuemember :
1174803275|1174803275.25578|NONE|SIP/640|AGENTLOGIN|-
1174803670|1174803668.25579|NONE|SIP/640|AGENTLOGOFF|-|
Macro used to login:
exten => s,1,AddQueueMember(payment,SIP/${CALLERID(num)})
exten => s,n,System( echo "${EPOCH}|${UNIQUEID}|NONE|SIP/${CALLERID(num)}|AGENTLOGIN|-" >> /var/log/asterisk/queue_log)
exten => s,n,Wait(0.5)
exten => s,n,Playback(agent-loginok)
exten => s,n,Hangup()
And with agentcallbacklogin:
1174804437|1174804435.25586|NONE|Agent/640|AGENTCALLBACKLOGIN|640@internalCommunications
Is there anything special I should do ? I'm version 1.3.3. I did the installation using the yum repositories.
Thx