]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Ensure member is removed from pending when hanging up. 11/4611/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:38:53 +0000 (10:38 +0100)
commitd13be4eff699449172efbd9fed0ee97f6a790b6a
treec49ae7171fe9d7aeae1846adfd31653684cae67f
parent791c15942bf31eba489cb6dd2f58a22d2fe6aec2
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