QueueMetrics > Running QueueMetrics

Agent showed in the queue, even if softphone is closed

<< < (3/3)

QueueMetrics:
Look for the autopause option....

astor99:
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  :D

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:


--- Code: ---> 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]
--- End code ---

but the queue keeps on considering present and autopause option doesn't work


--- Code: ---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

--- End code ---

I see that, if it can help you:


--- Code: ---   -- 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


--- End code ---

marcos:
Hi,
I think the problem is related to a set of macroes that are called by your dialplan if the channel becomes unavailable.

For what I can see from the CLI you posted, the call is answered by Asterisk when playing the unavailable tones. In this way the queue_app is not able to understand that the user is not available (because the call was answered by the PBX).

I think that changing/eliminating the "Playtones" call in your s-CHANUNAVAIL should solve your problem.

Thank you and regards,
Marco Signorini.

astor99:
Hi Marco,
It worked!
I added this lines to extensions_additional.conf:

[macro-exten-vm]
exten => s-CHANUNAVAIL,1,Noop(Extension is reporting CHANUNAVAIL)
exten => s-CHANUNAVAIL,n,MacroExit()

Thank youuuuuuuuuuuuuuuuu  :D

marcos:
Fine! That's good to know.

Thank you and regads,
Marco Signorini.

Navigation

[0] Message Index

[*] Previous page

Go to full version