<div dir="ltr">Valeu pessoal!! <div><br></div><div style>É o script já estou fazendo aqui depois vuo por no cron para rodar na madruga!!</div><div style><br></div><div style>Obrigado!!!!</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">Em 17 de maio de 2013 13:15, Fernando - NextBilling IP Solutions <span dir="ltr">&lt;<a href="mailto:fernando@nextbilling.com.br" target="_blank">fernando@nextbilling.com.br</a>&gt;</span> escreveu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="PT-BR" link="blue" vlink="purple"><div><div style="border:none;border-bottom:double windowtext 2.25pt;padding:0cm 0cm 1.0pt 0cm"><p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Instalar o Sox e o Lame<u></u><u></u></span></p>
<p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="border:none;padding:0cm">
<span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Arquivo convert.sh:<u></u><u></u></span></p></div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">#!/bin/sh<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">SOX=/usr/bin/sox                       ;Verificar caminho na sua distribuição (wereis sox)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">LAME=/usr/local/bin/lame     ;Verificar caminho na sua distribuição (wereis lame)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">ORIGEM=&quot;$1&quot;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">DESTINO=&quot;$2&quot;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">$LAME --resample 44.1 -b 32 -a $ORIGEM $DESTINO<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">rm -rf $ORIGEM<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-bottom:double windowtext 2.25pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">exit 0;<u></u><u></u></span></p></div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Dar permissões de execução: chmod a+x convert.sh<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Executando: convert.sh /var/spool/Asterisk/monitor/arquivodeorigem.wav /var/spool/Asterisk/monitor/arquivo_convertido.mp3<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Atenciosamente,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">Fernando da Silva Santos<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">CEO</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496"> – Chief Executive Officer<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">NextBilling IP Solutions<u></u><u></u></span></b></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496"><u></u> <u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">SP: </span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496"><a href="tel:%2B55%20%2811%29%203522-9200" value="+551135229200" target="_blank">+55 (11) 3522-9200</a><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">RJ: </span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496"><a href="tel:%2B55%20%2821%29%204063-8854" value="+552140638854" target="_blank">+55 (21) 4063-8854</a><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496">Tollfree:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496"> 0800 580-9200<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#2f5496"><a href="http://www.nextbilling.com.br/" target="_blank"><span style="color:#0563c1">http://www.nextbilling.com.br</span></a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:35.4pt"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">De:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> <a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" target="_blank">asteriskbrasil-bounces@listas.asteriskbrasil.org</a> [mailto:<a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org" target="_blank">asteriskbrasil-bounces@listas.asteriskbrasil.org</a>] <b>Em nome de </b>Thiago Anselmo<br>
<b>Enviada em:</b> sexta-feira, 17 de maio de 2013 13:09<br><b>Para:</b> <a href="mailto:asteriskbrasil@listas.asteriskbrasil.org" target="_blank">asteriskbrasil@listas.asteriskbrasil.org</a><br><b>Assunto:</b> Re: [AsteriskBrasil] Gravando ligações em MP3<u></u><u></u></span></p>
<div><div class="h5"><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-left:35.4pt">Willian tú éis o Willian que estudava no SENAI CTAI que trabalha hoje na khomp?<u></u><u></u></p>
</div><div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-left:35.4pt">Em 17 de maio de 2013 12:49, Willian Morais &lt;<a href="mailto:williandmorais@gmail.com" target="_blank">williandmorais@gmail.com</a>&gt; escreveu:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><p class="MsoNormal" style="margin-left:35.4pt">Convertendo :)<u></u><u></u></p><div><p class="MsoNormal" style="margin-left:35.4pt">
Lame<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:35.4pt">Sox<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:35.4pt">asterisk -rx &quot;file convert&quot;<u></u><u></u></p></div>
</div><div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-left:35.4pt">Em 17 de maio de 2013 12:31, Thiago Anselmo &lt;<a href="mailto:thiagoo.anselmoo@gmail.com" target="_blank">thiagoo.anselmoo@gmail.com</a>&gt; escreveu:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal" style="margin-left:35.4pt">Li muito sobre o assunto e não encontrei em nenhum livro e sites, falando a respeito de gravar as ligações em .MP3. Teria alguma forma algum módulo? OU só fazendo o famoso scritp em shell para fazer a conversão?<span style="color:#888888"><br clear="all">
<u></u><u></u></span></p><div><p class="MsoNormal" style="margin-left:35.4pt"><span style="color:#888888"><u></u> <u></u></span></p></div><p class="MsoNormal" style="margin-left:35.4pt"><span style="color:#888888">-- <br>
Thiago Anselmo </span><u></u><u></u></p></div><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-left:35.4pt">_______________________________________________<br>KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;<br>
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;<br>Intercomunicadores para acesso remoto via rede IP. Conheça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>_______________________________________________<br>
ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.<br>Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br>Channel Bank – Appliance Asterisk - Acesse <a href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.<br>
_______________________________________________<br>Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><u></u><u></u></p>
</blockquote></div><p class="MsoNormal" style="margin-left:35.4pt"><span style="color:#888888"><br><br clear="all"><span><u></u><u></u></span></span></p><div><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div><p class="MsoNormal" style="margin-left:35.4pt"><span><span style="color:#888888">-- </span><u></u><u></u></span></p><div><p class="MsoNormal" style="margin-left:35.4pt"><span style="color:#888888">Willian de Morais</span><u></u><u></u></p>
<div><p class="MsoNormal" style="margin-left:35.4pt"><span style="color:#888888">Cel: (48) 8811-9660<u></u><u></u></span></p></div><div><p class="MsoNormal" style="margin-left:35.4pt"><span style="color:#888888">Gtalk: <a href="mailto:williandmorais@gmail.com" target="_blank">williandmorais@gmail.com</a><u></u><u></u></span></p>
</div></div></div><p class="MsoNormal" style="margin-left:35.4pt"><br>_______________________________________________<br>KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;<br>Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;<br>
Intercomunicadores para acesso remoto via rede IP. Conheça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>_______________________________________________<br>ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.<br>
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br>Channel Bank – Appliance Asterisk - Acesse <a href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.<br>_______________________________________________<br>
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><u></u><u></u></p>
</blockquote></div><p class="MsoNormal" style="margin-left:35.4pt"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-left:35.4pt">
-- <br>Thiago Anselmo <u></u><u></u></p></div></div></div></div></div><br>_______________________________________________<br>
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;<br>
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;<br>
Intercomunicadores para acesso remoto via rede IP. Conheça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>
_______________________________________________<br>
ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.<br>
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br>
Channel Bank – Appliance Asterisk - Acesse <a href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.<br>
_______________________________________________<br>
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br></blockquote></div>
<br><br clear="all"><div><br></div>-- <br>Thiago Anselmo
</div>