John, that is some serious script-fu! I does exactly what I was going to do
in perl. However, my initial testing indicates that asterisk will renumber
voicemail boxes to eliminate holes. But I'm still testing.
Thanks again,
Mike.
On Tuesday, October 10, 2023 11:47:35 AM EDT John Harragin
Here is something I wrote years ago. I expect you can adjust it for your
needs
# cat remove_blank_vmail
#!/bin/bash
# remove_blank_vmail takes arguments as voicemail boxes and removes
messages with audio files shorter then MINSIZE (in bytes)
On Monday 09 October 2023 at 21:05:55, Mike Diehl 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?
My approach in a
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...
Unfortunately, I'm using a version of asterisk that is old enough to not
benefit from this...
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:
>
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 wrote:
> Hi all,
>
> I need to be able to delete a voicemail message
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