[asterisk-users] Record in mp3
Jose Enes Mateus
jemateus at yahoo.com.br
Fri Apr 24 12:30:12 CDT 2009
The recording I want is to save some reminders that my users can record. It is not to save a conversation. So I think that there is not an overhead in converting the audio on the fly in this case.But the question is: Asterisk suport generate mp3 files directly?
--- Em sex, 24/4/09, Geraint Lee <geraint at gmail.com> escreveu:
De: Geraint Lee <geraint at gmail.com>
Assunto: Re: [asterisk-users] Record in mp3
Para: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Data: Sexta-feira, 24 de Abril de 2009, 11:50
you probably don't want to record directly to mp3 as there will be an overhead in converting the audio on the fly and this will probably break your call recordings... you should either record in the codec you are using for phone calls (i think?) or in .wav and then convert afterwards (correct me if i'm wrong someone!).
2009/4/24 Jose Enes Mateus <jemateus at yahoo.com.br>
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: Top 10 - Celebridades - Música - Esportes
_______________________________________________
-- 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
-----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/31c7c0d8/attachment.htm
More information about the asterisk-users
mailing list