Merged revisions 312117 via svnmerge from
authorAlec L Davis <sivad.a@paradise.net.nz>
Fri, 1 Apr 2011 07:43:00 +0000 (07:43 +0000)
committerAlec L Davis <sivad.a@paradise.net.nz>
Fri, 1 Apr 2011 07:43:00 +0000 (07:43 +0000)
commitd07fb85bb8c88d5b58d80e1906099912a40b7686
tree8290795ef9801aa276bbcbe2dbf956bf32a575d4
parentee44bf7257af868d701da6a8144e8e54980a0578
Merged revisions 312117 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r312117 | alecdavis | 2011-04-01 20:32:12 +1300 (Fri, 01 Apr 2011) | 29 lines

  Merged revisions 312103 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2

  ................
    r312103 | alecdavis | 2011-04-01 20:25:54 +1300 (Fri, 01 Apr 2011) | 22 lines

    Merged revisions 312070 via svnmerge from
    https://origsvn.digium.com/svn/asterisk/branches/1.4

    ........
      r312070 | alecdavis | 2011-04-01 19:46:56 +1300 (Fri, 01 Apr 2011) | 16 lines

      app_voicemail: close_mailbox needs to respect additional messages while mailbox is open.

      close_mailbox leave gaps in message sequence if messages are deleted and new messages
      arrive during this time, this is because the shuffle down to slot 0, only shuffles
      the number of pre-existing messages when mailbox is opened, ignoring new arrivals.

      Fix: in close_mailbox re-evaluate number of messages before the shuffle, this then includes new arrivals.

      Happens on filebased or ODBC storage.

      (issues #19032,#18582,#18692,#18998)
      Reported by: alecdavis,tootai,afosorio

      Review: https://reviewboard.asterisk.org/r/1153/
    ........
  ................
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@312118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_voicemail.c