Skip to main content

Global Voicemail Message Delete

Posted by raven on Sun, 11/14/2010

I am having to change my voicemail.conf recording format, which requires all voicemail messages be purged from the system. If not, "bad things will happen on playback"the file says.
So I am having to go to each tenant on the MTE, look at their extensions and delete all messages one extension at a time.
I sure wish there was a "Global Voicemail Message Delete" button somewhere, that would purge all messages from all tenants.


Submitted by eeman on Mon, 11/15/2010 Permalink

you could just convert them

example of converting .wav to .WAV (psuedo code, specific code not tested)

for i in $(find /var/spool/asterisk/voicemail/ -name "*.wav"); do
asterisk -rx "file convert $i `dirname $i`/`basename $i .wav`.WAV"
done

Submitted by raven on Mon, 11/15/2010 Permalink

That definitely nailed it, thanks.
Having had to build and run that, I sure wish there was a "Global Voicemail Message Delete" (or "Convert", I guess) button somewhere IN THE GUI, that would purge (or maybe convert) ALL messages from all tenants.
Maybe something in the GUI that helped set voicemail.conf would be nice.