[asterisk-bugs] [Asterisk 0016519]: Queue with wrapuptime "call" agent that shouldn't have any call
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Jan 5 02:12:02 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16519
======================================================================
Reported By: benngard2
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16519
Category: Applications/app_queue
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-12-28 09:16 CST
Last Modified: 2010-01-05 02:12 CST
======================================================================
Summary: Queue with wrapuptime "call" agent that shouldn't
have any call
Description:
I did some tests on Asterisk SVN-trunk-r234256.
extensions.conf
exten =>
0317998989,1,ExecIf($[${DB_EXISTS(CFIM/0317998989)}]?Goto(${DB(CFIM/0317998989)},1)
exten =>
0317998989,2,ExecIf($[${QUEUE_MEMBER(0317998989,logged)}=0]?Dial(H323/900 at Avaya))
exten => 0317998989,3,Answer()
exten => 0317998989,4,Queue(0317998989,rt)
exten => 0317998989,5,Hangup()
exten => 989,1,Goto(0317998989,1) <- just for lazy people in our company
queues.conf
[general]
autofill=yes
keepstats=yes
[0317998989]
retry=5
strategy=rrmemory
timeout=20
wrapuptime=120
agents.conf
[general]
persistentagents=yes
[agents]
agent => 0317998971,1234,Stefan Andersson
agent => 0317998972,1234,Kerem Tubluk
agent => 0317998975,1234,Magnus Benngard
agent => 0317998976,1234,Jimmy Beckman
Logging in agents through a manager script, sample output from cli:
sip*CLI> queue show 0317998989
0317998989 has 0 calls (max unlimited) in 'rrmemory' strategy (17s
holdtime, 59s talktime), W:0, C:7, A:2, SL:0.0% within 0s
Members:
SIP/0317998975 with penalty 2 (dynamic) (Not in use) has taken no
calls yet
SIP/0317998976 with penalty 1 (dynamic) (Not in use) has taken 7
calls (last was 2564 secs ago)
No Callers
If I call the queue, 0317998976 will ofc get the call but when we hang up
and I call within 120 seconds, 0317998976 will still get the call.
Shouldn't that second call go to 0317998975?
======================================================================
----------------------------------------------------------------------
(0116025) benngard2 (reporter) - 2010-01-05 02:12
https://issues.asterisk.org/view.php?id=16519#c116025
----------------------------------------------------------------------
0317998971 logged in queue with penalty 2
0317998976 logged in queue with penalty 1
0317998975 calls 989, exten => 989,1,Goto(0317998989,1)
both calls are answered by 0317998976
sip*CLI>
== Using UDPTL CoS mark 5
-- Executing [989 at inputinterior.se:1] Goto("SIP/0317998975-000000a6",
"0317998989,1") in new stack
-- Goto (inputinterior.se,0317998989,1)
-- Executing [0317998989 at inputinterior.se:1]
ExecIf("SIP/0317998975-000000a6", "0?Goto(,1") in new stack
-- Executing [0317998989 at inputinterior.se:2]
ExecIf("SIP/0317998975-000000a6", "0?Dial(OOH323/900 at Avaya)") in new stack
-- Executing [0317998989 at inputinterior.se:3]
Answer("SIP/0317998975-000000a6", "") in new stack
-- Executing [0317998989 at inputinterior.se:4]
Queue("SIP/0317998975-000000a6", "0317998989,rt") in new stack
== Using UDPTL CoS mark 5
-- SIP/0317998976-000000a7 is ringing
-- SIP/0317998976-000000a7 answered SIP/0317998975-000000a6
== Spawn extension (inputinterior.se, 0317998989, 4) exited non-zero on
'SIP/0317998975-000000a6'
== Using UDPTL CoS mark 5
-- Executing [989 at inputinterior.se:1] Goto("SIP/0317998975-000000a8",
"0317998989,1") in new stack
-- Goto (inputinterior.se,0317998989,1)
-- Executing [0317998989 at inputinterior.se:1]
ExecIf("SIP/0317998975-000000a8", "0?Goto(,1") in new stack
-- Executing [0317998989 at inputinterior.se:2]
ExecIf("SIP/0317998975-000000a8", "0?Dial(OOH323/900 at Avaya)") in new stack
-- Executing [0317998989 at inputinterior.se:3]
Answer("SIP/0317998975-000000a8", "") in new stack
-- Executing [0317998989 at inputinterior.se:4]
Queue("SIP/0317998975-000000a8", "0317998989,rt") in new stack
== Using UDPTL CoS mark 5
-- SIP/0317998976-000000a9 is ringing
-- SIP/0317998976-000000a9 answered SIP/0317998975-000000a8
== Spawn extension (inputinterior.se, 0317998989, 4) exited non-zero on
'SIP/0317998975-000000a8'
sip*CLI>
Issue History
Date Modified Username Field Change
======================================================================
2010-01-05 02:12 benngard2 Note Added: 0116025
======================================================================
More information about the asterisk-bugs
mailing list