QueueMetrics > Running QueueMetrics

Realtime Monitoring showing 2 entries per dynamic agent

(1/4) > >>

perlmaster:
When the agent first logs in, the agent field shows the extension number.  When they receive their 1st call, a second entry is added displaying their full name.  When the agent logs out, the entry displaying the exten is removed, but the entry with their name remains until I restart asterisk

Why am I getting a second entry?

My goal is to have only 1 entry that displays their name and is removed at logoff.

I'm sure there's a simple fix, but I haven't found it.


This is the relevant section for their login:

--- Code: ---exten => login,n,Set(SIP_EXTEN=${CUT(CUT(CHANNEL,-,1),/,2)})
exten => login,n,Set(DB(Agent/${SIP_EXTEN})=${AGENT(${AID}:name))  ; used later for constructing the MixMonitor filename
exten => login,n,AddQueueMember(${CURRENT_QUEUE},Local/${SIP_EXTEN}@${AGENT_CONTEXT}/n,${PENALTY},,${AGENT(${AID}:name)})

--- End code ---

queue_log

--- Quote ---1260288305|1260288299.13688|test1|Local/15031@iso/n|ADDMEMBER|
1260288924|1260288924.13703|test1|NONE|ENTERQUEUE||40842xxxxx
1260288926|1260288924.13703|test1|Ron Bergin|CONNECT|2|1260288924.13704
1260288982|1260288924.13703|test1|Ron Bergin|COMPLETECALLER|2|56|1
1260289229|1260289229.13707|test1|Local/15031@iso/n|REMOVEMEMBER|

--- End quote ---

.../WEB-INF/configuration.properties

--- Code: ---default.rewriteLocalChannels=true
default.useEndingChannelName=true

--- End code ---

If needed, I have print screens showing the problem, but I don't see an attachment button to include them in the post.

QueueMetrics:
This is easy - as you see when you log in you have:


--- Code: ---1260288305|1260288299.13688|test1|Local/15031@iso/n|ADDMEMBER|
--- End code ---

But when a call is directed, you have:


--- Code: ---1260288926|1260288924.13703|test1|Ron Bergin|CONNECT|2|1260288924.13704
--- End code ---


Please remove the name form the agent config so that the log will always be "local/1503@iso"

perlmaster:
Are you saying that I should remove the agent name in agents.conf or from the AddQueueMember(...) command?

I suspect that you mean from the AddQueueMember command.  The problem with doing that is that is the only way I've found to get realtime monitoring to display the agent's name instead of extension.

In my prior related quested, you said that I should read the docs that come with asterisk.  Well I did, and they give extensions.ael login examples, but don't give any info on the interaction between asterisk and queuemetrics.

Can you give me a clear concrete example of how to get realtime monitoring to display the dynamic agent's real name?

QueueMetrics:
I would leave the agent name blank, so that the channel name is logged instead.

perlmaster:
That doesn't fulfill my required goal!

Was that suggested because neither you nor anyone else at QM knows how to get and properly display the dynamic agent's name in Realtime Monitor?  I can't believe that I'm I only QM user that requires this feature.

In my other related thread you stated,
--- Quote ---the problem is that nobody has yet prepared a standard drop-in replacement for AgentCallBackLogin to be used with Asterisk 1.6's, so everybody is programming their own call-center differently.
--- End quote ---

At this point I don't need a standard drop-in replacement for AgentCallBackLogin, I just need a working solution.  Can you point me to a working example that meets my goal?

Navigation

[0] Message Index

[#] Next page

Go to full version