Possible to change voicemail attachment from wav to mp3?

ghurty

Senior Member
Joined
Jan 13, 2009
Messages
852
Reaction score
4
Is it possible to change the format that voice mail to email attachments are sent in?

It is sent as a wav by default however, the BB curve has problems play it. Is there a way to set it as a MP3?


Thanks
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
Before you change to MP3 try this:

If you edit /etc/asterisk/vm_general.inc and change
format=wav49|wav
to
format=wav|wav49
 

alex_tel

New Member
Joined
Oct 18, 2007
Messages
12
Reaction score
0
Thanks! This also worked as a solution to listen to the audio files in a Droid phone.
 
Joined
Nov 14, 2008
Messages
1,398
Reaction score
320
Here are some additional details from voip-info.org:

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.


Full article at :

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

Members online

Forum statistics

Threads
25,810
Messages
167,755
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top