]> 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)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Tue, 1 Sep 2020 15:14:41 +0000 (10:14 -0500)
commitc83e4821e5a334e571383b7b44e0a569cdb9da63
tree8f84fea25235742033e614c97dd7504aacfa9da7
parente32815dddb3170fbe1f88567edd6b867d8681690
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