Dear asterisk users,

I am presently playing with an [EMAIL PROTECTED] 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:

[EMAIL PROTECTED] modules]# cd /usr/lib/asterisk/modules/

[EMAIL PROTECTED] 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.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to