Another newbie question - "duh!"
On PBX there are options to save the audio in different formats. Some of them are .wav
and .WAV
.
What is the difference between them?
The sampling rate of the wave file
wav49: In this format, the file size will be small, the quality good, and it’s a good choice for sending voicemail messages in email. The file will have a .WAV extension, which all Windows users should have no problems with, and users on other platforms should also be able to easily play these sound files.
wav: This is an uncompressed sound format with a .wav extension, so the file size is very large. Sound quality will be great, but you probably don’t want to email it, and you must have adequate disk space.
We do have some information in the wiki about this topic as well: http://wiki.freepbx.org/display/F2/Voicemail+Admin+-+Advance+settings
format
The format setting selects audio file format(s) to use when storing voice mail messages. The value is a string defining the audio format(s) of the message file. The default format string is wav49|gsm|wav , meaning that Asterisk will save the voicemail message in all three supported formats. When emailing the attachment, however, it will send only the first of the formats defined here. When playing back (as with all file playback) Asterisk will attempt to use the optimum format based on the codec used for the current channel, in order to provide the best sound quality and to reduce transcoding processing time.
wav49: In this format, the file size will be small, the quality good, and it’s a good choice for sending voicemail messages in email. The file will have a .WAV extension, which all Windows users should have no problems with, and users on other platforms should also be able to easily play these sound files.
gsm: Voicemail saved in this format will have about the same file size and same audio quality as wav49. It may be less well supported by client operating systems if sent to users in email, however.
wav: This is an uncompressed sound format with a .wav extension, so the file size is very large. Sound quality will be great, but you probably don’t want to email it, and you must have adequate disk space.
g723sf: The sample voicemail.conf file has this option commented out. If you try to activate it, you will find that it doesn’t work.
If you’re running Asterisk on Mac OS X, which has a case-preserving but case-insensitive file system, you can use .wav but you won’t be able to use .WAV(wav49). Asterisk tries to pick the best file in the Playback command based on the encoding of your channel, and then looks for the file by file type in a specific order. In either case, asterisk will look for filename.wav, and if there is a filename.WAV, the file lookup will succeed. Asterisk will then try to play the file as “wav”, and choke on the format. This is especially noticeable in voicemail. If you have both wav49 and wav in the format= option, one will replace the other. You must remove wav49 from the format= option in voicemail.conf.