So I did, thank you! It works in this way: if an agent has the softphone cliente running, but not answering, he is changed in pause mode.Good
BUT, if the agent is in the queue and then, he closes his softphone program, without member removing operation, Queuemetrics considers him anyway as connected and no pause mode is changed,even if an incoming call is waiting.
Why do you think it happens ?
The agent number is 003 and it's disconnected:
> sip show peers
Name/username Host Dyn Nat ACL Port Status
xxxxxxxxxxxxxxxx xxxxxxxxxxxx
xxxxxxxxxxxxxxxx xxxxxxxx
006 (Unspecified) D N A 0 UNKNOWN
005/005 212.97.xx.xx D N A 5060 OK (5 ms)
004 (Unspecified) D N A 0 UNKNOWN
003/003 (Unspecified) D N A 0 UNKNOWN
002 (Unspecified) D N A 0 UNKNOWN
001/001 212.97.xx.xx D N A 1037 OK (125 ms)
8 sip peers [Monitored: 4 online, 4 offline Unmonitored: 0 online, 0 offline]
but the queue keeps on considering present and autopause option doesn't work
obelisk*CLI> queue show 0909
0909 has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), W:0, C:0, A:7, SL:0.0% within 0s
Members:
Local/003@from-internal (dynamic) (Not in use) has taken no calls yet
No Callers
I see that, if it can help you:
-- Executing [s@macro-dial:7] Dial("Local/003@from-internal-cd0b,2", "SIP/003||trM(auto-blkvm)") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dial:8] Set("Local/003@from-internal-cd0b,2", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-dial:9] GosubIf("Local/003@from-internal-cd0b,2", "0?CHANUNAVAIL|1") in new stack
-- Executing [s@macro-exten-vm:10] GotoIf("Local/003@from-internal-cd0b,2", "0?exit|return") in new stack
-- Executing [s@macro-exten-vm:11] Set("Local/003@from-internal-cd0b,2", "SV_DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:12] GosubIf("Local/003@from-internal-cd0b,2", "0?docfu|1") in new stack
-- Executing [s@macro-exten-vm:13] GosubIf("Local/003@from-internal-cd0b,2", "0?docfb|1") in new stack
-- Executing [s@macro-exten-vm:14] Set("Local/003@from-internal-cd0b,2", "DIALSTATUS=CHANUNAVAIL") in new stack
-- Executing [s@macro-exten-vm:15] NoOp("Local/003@from-internal-cd0b,2", "Voicemail is novm") in new stack
-- Executing [s@macro-exten-vm:16] GotoIf("Local/003@from-internal-cd0b,2", "1?s-CHANUNAVAIL|1") in new stack
-- Goto (macro-exten-vm,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-exten-vm:1] NoOp("Local/003@from-internal-cd0b,2", "IVR_RETVM: IVR_CONTEXT: ") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:2] GotoIf("Local/003@from-internal-cd0b,2", "0?exit|1") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:3] PlayTones("Local/003@from-internal-cd0b,2", "congestion") in new stack
-- Executing [s-CHANUNAVAIL@macro-exten-vm:4] Congestion("Local/003@from-internal-cd0b,2", "10") in new stack
-- Local/003@from-internal-cd0b,1 is circuit-busy
-- Nobody picked up in 0 ms