]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Add member flag "in_call" to prevent reading wrong lastcall time 47/1847/5
authorMartin Tomec <tomec.martin@gmail.com>
Mon, 21 Dec 2015 17:07:14 +0000 (18:07 +0100)
committerMartin Tomec <tomec.martin@gmail.com>
Tue, 5 Jan 2016 16:44:11 +0000 (17:44 +0100)
commit90b06d1a3cc14998cd2083bd0c4c1023c0ca7a1f
tree3cda28e0b704db1d871f034d554d79d17f643c2b
parent193ac48db01541ab7873290b30109d6784ff2f06
app_queue: Add member flag "in_call" to prevent reading wrong lastcall time

Member lastcall time is updated later than member status. There was chance to
check wrapuptime for available member with wrong (old) lastcall time.
New boolean flag "in_call" is set to true right before connecting call, and
reset to false after update of lastcall time. Members with "in_call" set to true
are treat as unavailable.

ASTERISK-19820 #close

Change-Id: I1923230cf9859ee51563a8ed420a0628b4d2e500
apps/app_queue.c