]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: Add member flag "in_call" to prevent reading wrong lastcall time 81/1881/3
authorMartin Tomec <tomec.martin@gmail.com>
Tue, 29 Dec 2015 11:44:29 +0000 (12:44 +0100)
committerMartin Tomec <tomec.martin@gmail.com>
Tue, 5 Jan 2016 17:03:57 +0000 (18:03 +0100)
commit1943cfc53cadff36e64704257c06590bceca459b
tree8802fab05f2b9385886e823d1e53385d00db96f1
parent6bbb59e34884da5b610c5233a6d949ecb4e240d4
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