[asterisk-users] Record in mp3

Geraint Lee geraint at gmail.com
Fri Apr 24 09:50:45 CDT 2009


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<http://br.rd.yahoo.com/mail/taglines/mail/*http:/br.maisbuscados.yahoo.com/>-
> Celebridades<http://br.rd.yahoo.com/mail/taglines/mail/*http:/br.maisbuscados.yahoo.com/celebridades/>-
> Música<http://br.rd.yahoo.com/mail/taglines/mail/*http:/br.maisbuscados.yahoo.com/m%C3%BAsica/>-
> Esportes<http://br.rd.yahoo.com/mail/taglines/mail/*http:/br.maisbuscados.yahoo.com/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<http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/>-
> Celebridades<http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/>-
> Música<http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/>-
> Esportes<http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090424/15ce7dc1/attachment.htm 


More information about the asterisk-users mailing list