Send Asterisk voicemail as email with mp3 attachment

nicolas.bernaerts
Posts: 1
Member Since:
2010-10-28

One of the main drawback of the voicemail by email in Asterisk is that it can generate attachments using only the standard telephony codecs (wav49, gsm, wav).

The wav format is widely recognised, but it is quite uncompressed.
The wav49 or gsm formats are better in terms of compression, but sadly they are not recognised by all the devices able to deal with your emails.

So why not to use mp3 format for the voicemail attachments ?

This is why I've written a guide to explain how to catch the emails sent by Asterisk and convert the audio attachment from a wav file to a mp3 file.
It is based on a very simple shell script, using only basic tools (awk, sed, lame, ...).

It is available there : http://bernaerts.dyndns.org/linux/179-asterisk-voicemail-mp3

Hope it helps.



obeliks
Posts: 878
Member Since:
2010-03-14
There is also

There is also http://blog.pumacode.org/2006/05/14/converting-vonage-voicemails-...
which I have been using for a while.



mos33
Posts: 10
Member Since:
2011-01-10
it worked well if the

it worked well if the voicemail format=wav, but if we set format to be wav49 the script failed in conversion

any idea?



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.