Files
asterisk/apps
Sean Bright 5288c25dc1 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 242a0685b1)
2024-01-12 18:21:33 +00:00
..
2019-05-10 10:22:55 -06:00
2021-11-18 10:38:16 -06:00
2021-11-18 10:38:16 -06:00
2021-11-18 10:38:16 -06:00
2016-10-27 09:53:55 -04:00
2022-05-09 08:21:58 -05:00
2021-11-15 14:39:42 -06:00
2022-12-13 08:18:03 -05:00
2021-11-18 10:38:16 -06:00
2023-01-30 16:17:20 -05:00
2021-08-19 11:18:00 -05:00
2021-11-16 18:42:02 -06:00
2021-11-18 10:38:16 -06:00
2016-10-27 09:53:55 -04:00
2018-05-11 09:48:58 -04:00
2021-11-15 14:39:42 -06:00
2021-11-15 14:39:42 -06:00
2016-10-27 09:53:55 -04:00