Ask Bjoern Hansen
2003-Apr-19 19:23 UTC
[Asterisk-Users] Hidden voicemail feature - send message to pager
Hi, Browsing app_voicemail.c for something else I noticed that you can add a pager email address to the voicemail box configuration like 1000 => 1234,Ask Bjoern Hansen,ask@develooper.com, 1235551234@example.com to get a short notice about the new voicemail sent to 1235551234@example.com. Very neat. Feature request: It would be mighty cool to get the voicemails stored as mp3s; at least for the email attachments. - ask (contemplating writing a simple voicemail app in Perl to do it :-) ) -- http://www.askbjoernhansen.com/
Robert Hajime Lanning
2003-Apr-20 23:07 UTC
[Asterisk-Users] Hidden voicemail feature - send message to pager
On Sat, 19 Apr 2003, Ask Bjoern Hansen wrote:> Feature request: It would be mighty cool to get the voicemails stored > as mp3s; at least for the email attachments.I would not recommend that. Encoding MP3's is a very CPU intensive task. Remember that for MP3 encoding, the sound stream is placed through a complete acoustic model. The model is designed to remove frequencies that (suposedly) would not be noticed by the human ear. Such things as harmonics and upper and lower end frequencies. The ".wav" format has no compression and no acoustic modeling. Just straight samples. This allows it to go straight to disk. The GSM format stream is there to lower the need to match rates and compression every time the message is played. It is done once and saved it that format. If you realy want to use the MP3 format, I would suggest that a queueing system be developed, with the ability to ship the modeling and compression to another machine. You just do not want it disturbing the realtime tasks of TDM switching. -- END OF LINE