[asterisk-users] Addqueuemember and roaming users problem.

David Gagnon dgagnon at bgm.qc.ca
Mon Dec 4 00:28:14 MST 2006


Hi,

 

       I'm having hard time to emulate agencallbacklogin. Agent can logon
and receive call without any problem using addqueuemember. The problem comes
when I try to evaluate their performance using queuemetrics. Here is an
exemple of my log script:

 

;Agent Login

exten => _60XXX,1,Macro(agentLogin)

 

[macro-agentlogin]

exten => standard,1,AddQueueMember(queue1) exten =>
standard,n,AddQueueMember(queue2) exten => standard,n,AddQueueMember(queue3)
exten => standard,n,AddQueueMember(queue4) exten => standard,n,System(echo
"${EPOCH}|${UNIQUEID}|NONE|SIP/${MACRO_EXTEN:2}|AGENTLOGIN|-" >>
/var/log/asterisk/queue_log) exten => standard,n,Wait(0.5) exten =>
standard,n,Playback(agent-loginok)

exten => standard,n,Hangup()

 

In queuemetrics realtime panel, I can see the name of the agent who is
logged because of this part : SIP/${MACRO_EXTEN:2}

 

But, when Asterisk sends a call to the agent, he sends the call to the
station where the agent is sit and not to the agent himself. I explain: if
agent 204 is sit a desk 260 then in the realtime panel I can see that agent
204 is on but if I analyse the report, this agent didn't received any call,
it's 260 that answered the call. So if more than one person use this
station, I cannot know how many call as been taken by every agent.

 

With agentcallback login, this wasn't a problem because of the use of way it
handle logon and login.

 

Anyone has been able to fix this problem ?

 

David

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061204/0e874399/attachment.htm


More information about the asterisk-users mailing list