This post is at: ForumFeatures Wanted
3 posts / 0 new
Last post
raven
raven's picture
Joined: 2008/04/23
Points: 0

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.

eeman
eeman's picture
Joined: 2007/11/06
Points: 220

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

Erik Smith
dCAP
Thirdlane/Asterisk Support available
esmith.bgnv@gmail.com

raven
raven's picture
Joined: 2008/04/23
Points: 0

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.