]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Fix leave-empty not recording a call as abandoned
authorKfir Itzhak <mastertheknife@gmail.com>
Wed, 26 Aug 2020 09:58:21 +0000 (12:58 +0300)
committerKevin Harwell <kharwell@digium.com>
Tue, 1 Sep 2020 15:48:19 +0000 (10:48 -0500)
commitc3a3ab8628419b1b2cf521a12f22064ab8d3c66a
tree68c6ee1c8a440f2817c937bd3e0ca36a70e88e90
parent5989e0de0fe7f38837f7622827778893cfe3bcd1
app_queue: Fix leave-empty not recording a call as abandoned

This fixes a bug introduced mistakenly in ASTERISK-25665:
If leave-empty is enabled, a call may sometimes be removed from
a queue without recording it as abandoned.
This causes Asterisk to not generate an abandon event for that
call, and for the queue abandoned counter to be incorrect.

ASTERISK-29043 #close

Change-Id: I1a71b81df78adff59af587f1d8483cf57df430c7
apps/app_queue.c