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:
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)})
queue_log
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|
.../WEB-INF/configuration.properties
default.rewriteLocalChannels=true
default.useEndingChannelName=true
If needed, I have print screens showing the problem, but I don't see an attachment button to include them in the post.