]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Let Queue wrap up time influence member availability
authorMatthew Jordan <mjordan@digium.com>
Tue, 20 Aug 2013 00:06:37 +0000 (00:06 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 20 Aug 2013 00:06:37 +0000 (00:06 +0000)
commit7103d3aaed584886b0685920c3308fdcce931f8e
tree9f0e1468a3c4c24345d505a44b52a10c3bb1e6a6
parent15b32a230f05aab044e81935846b2abe9830a4e5
Let Queue wrap up time influence member availability

Queue members who happen to be in multiple queues at the same time may not
have any wrap up time. This problem occurred due to a code change in Asterisk
11.3.0 that unified device state tracking of Queue members in multiple
Queues (which fixed some other problems, but unfortunately caused this one).

This patch fixes the behavior by having the is_member_available function
check the queue's wrap up time and the time of the member's last call, such
that for a particular queue, the member won't be considered available if their
last call is within the wrap up time.

(closes issue ASTERISK-22189)
Reported by: Tony Lewis
Tested by: Tony Lewis

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@396948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c