[Asterisk-Users] Understanding queue timeouts + possible bug found
Lenz
lenz-ml at loway.it
Sun Mar 12 12:08:08 MST 2006
Hello list,
I have been researching a bit into the way the queue app works and how
different timeouts play together, and have prepared a short tutorial on
understanding queue timeouts - see
http://www.oinko.net/astrecipes/index.php?n=118 - any suggestion, error
found or correction is welcome.
While I was at it, I came across a strange bug: imageine you have three
callback agents defined, but the terminal for one of them is unavailable.
In my example they are 101, 102 and 103, where 103 is unavailable. The
strategy is roundrobin. Have a look at what happens:
1142189627|1142189621.27|queue-dps|NONE|ENTERQUEUE||34
1142189627|1142189621.27|queue-dps|Agent/101|AGENTATTEMPT|
1142189644|1142189621.27|queue-dps|Agent/102|AGENTATTEMPT|
1142189655|1142189621.27|queue-dps|Agent/103|AGENTATTEMPT|
1142189655|1142189621.27|queue-dps|Agent/101|AGENTATTEMPT|
1142189672|1142189621.27|queue-dps|Agent/101|AGENTATTEMPT| *******
1142189683|1142189621.27|queue-dps|Agent/102|AGENTATTEMPT|
1142189700|1142189621.27|queue-dps|Agent/103|AGENTATTEMPT|
1142189700|1142189621.27|queue-dps|Agent/101|AGENTATTEMPT|
1142189711|1142189621.27|queue-dps|Agent/101|AGENTATTEMPT| *******
1142189728|1142189621.27|queue-dps|Agent/102|AGENTATTEMPT|
1142189739|1142189621.27|queue-dps|Agent/103|AGENTATTEMPT|
1142189739|1142189621.27|queue-dps|Agent/101|AGENTATTEMPT|
1142189756|1142189621.27|queue-dps|Agent/101|AGENTATTEMPT| ********
1142189767|1142189621.27|queue-dps|Agent/102|AGENTATTEMPT|
1142189784|1142189621.27|queue-dps|Agent/103|AGENTATTEMPT|
1142189784|1142189621.27|queue-dps|Agent/101|AGENTATTEMPT|
1142189795|1142189621.27|queue-dps|NONE|EXITWITHTIMEOUT|1
I have added asterisks to denote a behaviour I dont understand; the
extension 101 is called twice in a row if 103 is unavailable. DO you think
this is a bug or there is a valid reason why * behaves like this? (I'm
running 1.2.4)
Yours
l.
--
Loway Research - Home of QueueMetrics
http://queuemetrics.loway.it
More information about the asterisk-users
mailing list