]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Ensure member is removed from pending when hanging up. 12/4612/2
authorMartin Tomec <tomec@ipex.cz>
Fri, 9 Dec 2016 18:23:37 +0000 (19:23 +0100)
committerMartin Tomec <tomec.martin@gmail.com>
Mon, 19 Dec 2016 09:45:39 +0000 (03:45 -0600)
commit2840731d81802601ac5dd1d7889b0dcfc1a78018
treebe709a9b323bb0b9ee112e0e8a4b3a050a87f0c1
parent4fee903d931f635d101dabdeb7c8155785dfa8dd
app_queue: Ensure member is removed from pending when hanging up.

In some cases member is added to pending_members, and the channel
is hung up before any extension state change. So the member would
stay in pending_members forever. So when we call do_hang, we
should also remove member from pending.

ASTERISK-26621 #close

Change-Id: Iae476b5c06481db18ebe0fa594b3e80fdc9a7d54
apps/app_queue.c