[Asterisk-Users] voicemail recording format
Vincent Régnard
vregnard at tbs-internet.com
Tue Feb 14 04:18:45 MST 2006
Dear asterisk users,
I am presently playing with an asterisk at home. I am trying to find the
best codec solution for my voicemail records. I want to use ARI
(Asterisk Recording Interface) to read the messages. I first used the
default wav encoding that was not appropriate because my navigator does
not handle wav mime types correctly and I have difficulties playing wav
files in my basic linux environement. So my plan is to switch to another
codec. I checked about the available modules for sound files:
root at asterisk1 modules]# cd /usr/lib/asterisk/modules/
root at asterisk1 modules]# ls -1 format_*
format_au.so
format_g723.so
format_g726.so
format_g729.so
format_gsm.so
format_h263.so
format_ilbc.so
format_jpeg.so
format_mp3.so
format_pcm_alaw.so
format_pcm.so
format_sln.so
format_vox.so
format_wav_gsm.so
format_wav.so
So I imagine I can use .au and .mp3 format for audio files. That's what
I want. But I cannot find now the appropriate format to specify in
voicemail.conf format directive.
I set
format=mp3 first
and
format=au
But when the voicemail prompt for the message I have 0 second to leave
the message (and no message is saved). Astersik cli error is then:
-- Recording the message
-- x=0, open writing:
/var/spool/asterisk/voicemail/default/801/INBOX/msg0003 format: mp3, (nil)
I do not understand the message, I find the nil a bit strange there !
I imagine mp3 and au are not correct parameters for the format defintion
in voicemail.conf.
Could you indicate me the appropriate setting to use theses two files
format ?
My other question is: Is there any plan you know about having support
for vorbis codec in the future ?
Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5603 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060214/755d05ed/smime.bin
More information about the asterisk-users
mailing list