Voicemail player for Linux desktop?

We recently switched our entire company over to using CentOS 5.4 for our desktop operating system and have found that none of the default audio players will support the format (audio/x-pn-gsm610) in which voicemails are recorded and emailed by FreePBX.

Any suggestions?

How can I change FreePBX to use a more broadly supported recording format or what play would work with the files as is?


You set the format by yourself, edit the vm_general.inc:

; 1st listed format gets emailed

Text from http://www.voip-info.org/wiki/view/Asterisk+config+voicemail.conf

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.

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.

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.

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.

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.