Active Topics

 



Notices


Reply
Thread Tools
Posts: 422 | Thanked: 244 times | Joined on Feb 2008
#1
Hello,

Asterisk can send its voicemail email attachments in wav, ogg or wav49 formats. Wav49 is compressed and works out of the box on Windows and Linux, which means I can get my email on any workstation I happen to come across without having to install anything.

Maemo 5 doesn't understand wav49, even with the extra codecs pack.

Has anyone else got this working, or have suggestions?

Thanks,

Paul
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#2
Feel free to vote for bug 4252.
 
Posts: 422 | Thanked: 244 times | Joined on Feb 2008
#3
GSM isn't wav49 and GSM doesn't work out of the box with Windows without additional codec installs.

So it doesn't meet my requirement.
 
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#4
Originally Posted by paulkoan View Post
GSM isn't wav49
No, GSM is a codec while WAV is a container format. However so-called "wav49" is 8KHz GSM under the WAV encapsulation. See also bug 6724 and http://en.wikipedia.org/wiki/Wav.

and GSM doesn't work out of the box with Windows without additional codec installs.
No idea what works on Windows, sorry.
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#5
Can you maybe upload one of those voicemail files that is compressed and works out of the box on Windows, then someone can analyse it to check the codec?
 
Posts: 3 | Thanked: 1 time | Joined on Mar 2010 @ Bucks, UK
#6
If you go into the Asterisk voicemail configuration file (/etc/asterisk/voicemail.conf on a regular Asterisk or /opt/asterisk/etc/voicemail.conf if you're running Asterisk on the N900 itself) you will find a line in the [general] section that looks like this:

format=wav49|gsm|wav

Change it to:

format=wav|wav49|gsm

In order to get Asterisk to work with this new configuration, get on to your Asterisk command line and issue the following command:

*CLI> module reload app_voicemail.so

...and you should now find that your voicemail attachments will play on the N900 media player.

One more thing: The first time you do this you may experience continual repetition of the message, as (for whatever reason) the media play comes up in auto-repeat mode (coloured blue when on) - pictured below.

All you need to do is touch the auto-repeat symbol to turn it off (the symbol will go white) and this setting will be remembered for the future.

So now your Asterisk voicemails should playback perfectly!

BTW - these files should also play on desktops (Windows tested successfully) so this appears to be an all-round solution.
Attached Images
 

Last edited by uk-david; 2010-03-04 at 18:35. Reason: Great feedback from Ima
 

The Following User Says Thank You to uk-david For This Useful Post:
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#7
Originally Posted by pelago View Post
Can you maybe upload one of those voicemail files that is compressed and works out of the box on Windows, then someone can analyse it to check the codec?
Sorry, I didn't see your post until now. Did that a while ago, see the aforementioned bug 6724. Note: I have no idea whether that works out of the box in Windows.

Originally Posted by uk-david View Post
format=wav49|gsm|wav

Change it to:

format=wav
When you change the format in voicemail.conf you need to convert pre-existing stored voicemails manually on the server. It would be better to just rearrange the order so what wav comes first (the first format listed is the one used for email notification).

...and you should find that your voicemail attachments will play on the N900 media player.
Except now the attachements are huge, which is probably not what you want (if you receive voicemail there's a high chance you're on the road with a slow/expensive GPRS connection).
 

The Following User Says Thank You to lma For This Useful Post:
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#8
Originally Posted by uk-david View Post
format=wav49|gsm|wav

Change it to:

format=wav
Very useful information. Although it would still be nice if it was possible to make "wav49" work on N900, for those who cannot change the Asterisk config.
 
Posts: 422 | Thanked: 244 times | Joined on Feb 2008
#9
Originally Posted by pelago View Post
Very useful information. Although it would still be nice if it was possible to make "wav49" work on N900, for those who cannot change the Asterisk config.
And for those who can indeed change the asterisk config but do not want voicemail files the size of a building - wav is uncompressed.
 

The Following User Says Thank You to paulkoan For This Useful Post:
Posts: 3 | Thanked: 1 time | Joined on Mar 2010 @ Bucks, UK
#10
Originally Posted by lma View Post
Except now the attachements are huge, which is probably not what you want (if you receive voicemail there's a high chance you're on the road with a slow/expensive GPRS connection).
Agreed Ima - it would be better to have a smaller codec in use.

Maybe (until we get GSM on the N900) a quick change to the out-going voicemail announcement saying "Leave a message, but keep it short!" is in order ;-)
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:58.