Each voicemail message has 3 files

I am using FreePBX 2.5.1 on Asterisk 1.4.22. Everytime a message is left in the mail box, the recording is saved in 3 formats - 1 gsm file and 2 wav files (one big, one small). How can I configure FreePBX to save only the small wav file?

My installed modules versions are:

Core 2.5.1.3
Feature Code Admin 2.5.0.3
FreePBX ARI Framework 2.5.2.rc1
FreePBX Framework 2.5.1.0
FreePBX Localization Updates 2.5.1.1
System Dashboard 2.5.0.5
Voicemail 2.5.1.5

Look for the following line in your /etc/asterisk/voicemail.conf file:

format=gsm|wav49|wav

That is what tells Asterisk to write the voicemail in three different formats. Format wav49 creates the files with the big .WAV extensions, format wav the small .wav extension. To keep the small .wav files, change this line to:

format=wav

Then reload Asterisk with “asterisk -rx reload”, or just “reload” if you’re already in the Asterisk CLI.