]> 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:07:29 +0000 (10:07 -0500)
commit0064aa0107c377805293198e5214611f79778485
tree0abc16558bdc1864481f149bfb899b667f430395
parentbc615ee4c4911856ef5b43b1b1174e604fdbb446
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