If an agent still has "wrapuptime" left after he finishes a call and the
authorMatthew Fredrickson <creslin@digium.com>
Wed, 6 Apr 2005 16:06:05 +0000 (16:06 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Wed, 6 Apr 2005 16:06:05 +0000 (16:06 +0000)
commitea60d42f6742075cbb7bd999a74e673123f488cd
tree06e9a87ce5e6b3813bb335921614e18ebd00a0ff
parent9cbc047b6a46b7d285214039dea68101f30ad281
If an agent still has "wrapuptime" left after he finishes a call and the
wrapuptime is changed on a reload, he still waits his former wrapuptime (instead of
the new wrapuptime).  This reduces his "de facto" wrapuptime immediately to
the new value even if he has wrapuptime remaining from a previous call.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_agent.c