Hello,
autologoff=yes in agent.conf can logoff an agent that signed in, but don't signed by the extension. If a agent forgot to logoff before shut off sip client, it will stay login forever.
Im had applyed the patch
http://bugs.digium.com/view.php?id=6038 on chan_agent.c but don't work.
This is the log on asterisk:
----------------------------------
-- Executing Dial("Local/101@from-internal-6736,2", "SIP/101||trM(auto-blkvm)") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Set("Local/101@from-internal-6736,2", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing Set("Local/101@from-internal-6736,2", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing GosubIf("Local/101@from-internal-6736,2", "0?docfu|1") in new stack
-- Executing GosubIf("Local/101@from-internal-6736,2", "0?docfb|1") in new stack
-- Executing Set("Local/101@from-internal-6736,2", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing NoOp("Local/101@from-internal-6736,2", "Voicemail is novm") in new stack
-- Executing GotoIf("Local/101@from-internal-6736,2", "1?s-CHANUNAVAIL|1") in new stack
-- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
-- Executing PlayTones("Local/101@from-internal-6736,2", "congestion") in new stack
-- Executing Congestion("Local/101@from-internal-6736,2", "10") in new stack
-- Agent/820 is circuit-busy
----------------------------------
On this case the status is "UNKNOWN" to peer SIP/101 then the call would be send to an agent available, but the call always is send it to Agent 820.
How can I use autologoffunavail ?? I have asterisk 1.2.26.2 and queuemetrics 1.4.3
Regards.
Vlad.