The script included with Asterisk (messages-expire.pl) deletes
older messages and then renumbers the rest of the messages. I guess you
need to do the same.
On 09/10/23 2:24 PM, Mike Diehl wrote:
Unfortunately, I'm using a version of asterisk that is old enough to not
benefit from this... <grin>
Mike.
On Monday, October 9, 2023 3:15:45 PM EDT Michael Bradeen wrote:
Hi Mike,
New AMI actions were recently added to app_voicemail to let you remotely
manipulate a mailbox:
https://github.com/asterisk/asterisk/issues/181
Hope this helps.
BR,
-Mike
On Mon, Oct 9, 2023 at 1:06 PM Mike Diehl <mdi...@diehlnet.com> wrote:
Hi all,
I need to be able to delete a voicemail message using a program.
Is is sufficient to simply delete the .wav and .txt files in the spool
directory?
Or do I need to also renumber the remaining files?
For example, let say a given mailbox has 20 messages in it and I want to
delete message number 5. Can I just delete the 2 files and expect that
asterisk will renumber them? Or do I need to?
Also, is the answer the same when I migrate to storing voicemails in a
database?
Thanks in advance.
Mike
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at:
https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users