<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>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?<br><br><br><br>--- Em <b>sex, 24/4/09, Geraint Lee <i><geraint@gmail.com></i></b> escreveu:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Geraint Lee <geraint@gmail.com><br>Assunto: Re: [asterisk-users] Record in mp3<br>Para: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com><br>Data: Sexta-feira, 24 de Abril de 2009, 11:50<br><br><div id="yiv600508904">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!).<br>
<br><div class="gmail_quote">2009/4/24 Jose Enes Mateus <span dir="ltr"><<a rel="nofollow" ymailto="mailto:jemateus@yahoo.com.br" target="_blank" href="/mc/compose?to=jemateus@yahoo.com.br">jemateus@yahoo.com.br</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
<br>But have you tried to record directly in mp3, without to covert the file?<br><br><br>--- Em <b>qui, 23/4/09, Danny Nicholas <i><<a rel="nofollow" ymailto="mailto:danny@debsinc.com" target="_blank" href="/mc/compose?to=danny@debsinc.com">danny@debsinc.com</a>></i></b> escreveu:<br>
<blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>De: Danny Nicholas <<a rel="nofollow" ymailto="mailto:danny@debsinc.com" target="_blank" href="/mc/compose?to=danny@debsinc.com">danny@debsinc.com</a>><br>Assunto: Re: [asterisk-users] Record in mp3<br>
Para: "'Asterisk Users Mailing List - Non-Commercial Discussion'" <<a rel="nofollow" ymailto="mailto:asterisk-users@lists.digium.com" target="_blank" href="/mc/compose?to=asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>Data: Quinta-feira, 23 de Abril de 2009, 17:33<div>
<div></div><div class="h5"><br><br><div>
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">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.</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a rel="nofollow" ymailto="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" href="/mc/compose?to=asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>
[mailto:<a rel="nofollow" ymailto="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" href="/mc/compose?to=asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Jose Enes Mateus<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, April 23, 2009
3:28 PM<br>
<b><span style="font-weight: bold;">To:</span></b>
<a rel="nofollow" ymailto="mailto:asterisk-users@lists.digium.com" target="_blank" href="/mc/compose?to=asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> [asterisk-users] Record
in mp3</span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<table border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td style="padding: 0in;" valign="top">
<p><u><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Somebody knows</span></font></u> if I can save files
in mp3 with the Record command on Asterisk?<br>
I try to recompile sox to suport mp3 but Asterisk return the folowing message
when I use the Record command:<br>
<br>
- Executing [*40@liberado15:15] Record("SIP/1201-083453c8",
"/var/spool/asterisk/alarme/alarme-1201-200905121212:mp3") in new
stack<br>
-- <SIP/1201-083453c8> Playing 'beep' (language
'pt_BR')<br>
[Apr 23 17:22:36] ERROR[4494]: format_mp3.c:283 mp3_rewrite: I Can't write
MP3 only read them.<br>
[Apr 23 17:22:36] WARNING[4494]: file.c:378 fn_wrapper: Unable to rewrite
format mp3<br>
[Apr 23 17:22:36] WARNING[4494]: file.c:1092 ast_writefile: Unable to rewrite
/var/spool/asterisk/alarme/alarme-1201-200905121212.mp3<br>
[Apr 23 17:22:36] WARNING[4494]: app_record.c:272 record_exec: Could not
create file /var/spool/asterisk/alarme/alarme-1201-200905121212<br>
<br>
I'am doing something wrong?<br>
<br>
Thanks</p>
</td>
</tr>
</tbody></table>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="1" width="100%">
</span></font></div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Veja quais são os assuntos do momento no Yahoo! + Buscados: <a rel="nofollow" target="_blank" href="http://br.rd.yahoo.com/mail/taglines/mail/*http:/br.maisbuscados.yahoo.com/">Top
10</a> - <a rel="nofollow" target="_blank" href="http://br.rd.yahoo.com/mail/taglines/mail/*http:/br.maisbuscados.yahoo.com/celebridades/">Celebridades</a>
- <a rel="nofollow" target="_blank" href="http://br.rd.yahoo.com/mail/taglines/mail/*http:/br.maisbuscados.yahoo.com/m%C3%BAsica/">Música</a>
- <a rel="nofollow" target="_blank" href="http://br.rd.yahoo.com/mail/taglines/mail/*http:/br.maisbuscados.yahoo.com/esportes/">Esportes</a></span></font></p>
</div>
</div><br></div></div>-----Anexo incorporado-----<br><br><div>_______________________________________________<br>-- Bandwidth and Colocation Provided by <a rel="nofollow" target="_blank" href="http://www.api-digital.com">http://www.api-digital.com</a> --<br>
<br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a rel="nofollow" target="_blank" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></div>
</blockquote></td></tr></tbody></table><div><div></div><div class="h5"><br>
<hr size="1">Veja quais são os assuntos do momento no Yahoo! + Buscados: <a rel="nofollow" target="_blank" href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/">Top 10</a> - <a rel="nofollow" target="_blank" href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/">Celebridades</a> - <a rel="nofollow" target="_blank" href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/">Música</a> - <a rel="nofollow" target="_blank" href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/">Esportes</a></div>
</div><br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a rel="nofollow" target="_blank" href="http://www.api-digital.com">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a rel="nofollow" target="_blank" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>
</div><br>-----Anexo incorporado-----<br><br><div class="plainMail">_______________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></div></blockquote></td></tr></table><br>
<hr size=1>Veja quais são os assuntos do momento no Yahoo! + Buscados: <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/">Top 10</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/">Celebridades</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/">Música</a> - <a href="http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/">Esportes</a>