Files
asterisk/apps
Sean Bright 77e8011291 app_voicemail.c: Completely resequence mailbox folders.
Resequencing is a process that occurs when we open a voicemail folder
and discover that there are gaps between messages (e.g. `msg0000.txt`
is missing but `msg0001.txt` exists). Resequencing involves shifting
the existing messages down so we end up with a sequential list of
messages.

Currently, this process stops after reaching a threshold based on the
message limit (`maxmsg`) configured on the current folder. However, if
`maxmsg` is lowered when a voicemail folder contains more than
`maxmsg + 10` messages, resequencing will not run completely leaving
the mailbox in an inconsistent state.

We now resequence up to the maximum number of messages permitted by
`app_voicemail` (currently hard-coded at 9999 messages).

Fixes #86

(cherry picked from commit fbe92dce2b)
2024-01-12 18:32:13 +00:00
..
2019-05-10 10:22:55 -06:00
2021-11-18 10:37:56 -06:00
2021-11-18 10:37:56 -06:00
2016-10-27 09:53:55 -04:00
2022-05-09 08:21:45 -05:00
2022-12-13 13:04:53 +00:00
2021-11-18 10:37:56 -06:00
2023-01-31 11:23:11 -06:00
2021-08-19 11:18:30 -05:00
2021-11-16 16:49:13 -06:00
2021-11-18 10:37:56 -06:00
2016-10-27 09:53:55 -04:00
2018-05-11 09:48:58 -04:00
2021-11-16 05:38:29 -06:00
2021-11-16 05:38:29 -06:00
2016-10-27 09:53:55 -04:00