[asterisk-users] Record in mp3
Jose Enes Mateus
jemateus at yahoo.com.br
Fri Apr 24 09:36:38 CDT 2009
But have you tried to record directly in mp3, without to covert the file?
--- Em qui, 23/4/09, Danny Nicholas <danny at debsinc.com> escreveu:
De: Danny Nicholas <danny at debsinc.com>
Assunto: Re: [asterisk-users] Record in mp3
Para: "'Asterisk Users Mailing List - Non-Commercial Discussion'" <asterisk-users at lists.digium.com>
Data: Quinta-feira, 23 de Abril de 2009, 17:33
The way I read to do this is to use sox to
create a wav file, then use lame to convert the wav to mp3. I did this for
some MOH files.
From:
asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jose Enes Mateus
Sent: Thursday, April 23, 2009
3:28 PM
To:
asterisk-users at lists.digium.com
Subject: [asterisk-users] Record
in mp3
Somebody knows if I can save files
in mp3 with the Record command on Asterisk?
I try to recompile sox to suport mp3 but Asterisk return the folowing message
when I use the Record command:
- Executing [*40 at liberado15:15] Record("SIP/1201-083453c8",
"/var/spool/asterisk/alarme/alarme-1201-200905121212:mp3") in new
stack
-- <SIP/1201-083453c8> Playing 'beep' (language
'pt_BR')
[Apr 23 17:22:36] ERROR[4494]: format_mp3.c:283 mp3_rewrite: I Can't write
MP3 only read them.
[Apr 23 17:22:36] WARNING[4494]: file.c:378 fn_wrapper: Unable to rewrite
format mp3
[Apr 23 17:22:36] WARNING[4494]: file.c:1092 ast_writefile: Unable to rewrite
/var/spool/asterisk/alarme/alarme-1201-200905121212.mp3
[Apr 23 17:22:36] WARNING[4494]: app_record.c:272 record_exec: Could not
create file /var/spool/asterisk/alarme/alarme-1201-200905121212
I'am doing something wrong?
Thanks
Veja quais são os assuntos do momento no Yahoo! + Buscados: Top
10 - Celebridades
- Música
- Esportes
-----Anexo incorporado-----
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090424/dadd69d8/attachment.htm
More information about the asterisk-users
mailing list