Files
asterisk/apps
Sean Bright c543090c81 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 f8f23c6cef)
2024-07-18 14:04:42 +00:00
..
2021-11-18 10:38:16 -06:00
2021-11-18 10:38:16 -06:00
2022-01-17 12:17:44 -07: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-04 13:30:35 -05:00
2021-11-15 14:39:42 -06:00
2022-01-17 12:17:44 -07:00
2022-01-17 12:17:44 -07:00
2021-11-15 14:39:42 -06:00
2021-11-18 10:38:16 -06:00
2022-01-17 12:17:44 -07:00
2021-08-19 11:18:00 -05:00
2022-01-17 12:17:44 -07:00
2021-11-18 10:38:16 -06:00
2021-11-15 14:39:42 -06:00
2016-10-27 09:53:55 -04:00
2022-01-17 12:17:44 -07:00
2021-11-15 14:39:42 -06:00
2022-01-17 12:17:44 -07:00
2022-01-17 12:17:44 -07:00
2016-10-27 09:53:55 -04:00