<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10px"><div class="" style=""><span class="" style="">Marcelo, boa tarde.</span></div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family: verdana, helvetica, sans-serif; font-style: normal; background-color: transparent;" class=""><span class="" style=""><br class="" style=""></span></div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family: verdana, helvetica, sans-serif; font-style: normal; background-color: transparent;" class=""><span class="" style="">Obrigado pela ajuda.</span></div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family: verdana, helvetica, sans-serif; font-style: normal; background-color: transparent;" class=""><span class="" style=""><br class="" style=""></span></div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family: verdana, helvetica, sans-serif; font-style: normal;
 background-color: transparent;" class=""><span class="" style="">Funcionou, porém, tem um detalhe:</span></div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family: verdana, helvetica, sans-serif; font-style: normal; background-color: transparent;" class=""><span class="" style=""><br class="" style=""></span></div><div style="background-color: transparent;" class="">[2014-10-15 17:07:37] VERBOSE[27077][C-00000033] pbx.c: &nbsp; &nbsp; -- Executing [dgv_sms@from-pstn:8] System("DGV/1-SMS-1", "echo "Arrumamos todo o &nbsp;apartamento agora ta descente^M</div><div style="background-color: transparent;" class="">&nbsp; &nbsp; -- ^M</div><div style="background-color: transparent;" class=""><span class="" style=""></span></div><div style="background-color: transparent;" class="">&nbsp; &nbsp; -- " | mail -s "SMS de 0549123XXXX" lucas.gomes@dominio.com.br") in new stack</div><div style="background-color: transparent;" class=""><br class=""
 style=""></div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family: verdana, helvetica, sans-serif; font-style: normal; background-color: transparent;" class="">Ai eu recebo um e-mail com o título certo e 2 anexos com o seguinte nome: SMS de 0549123XXXX<span style="background-color: transparent;" class="">.dat com a mensagem dentro.</span></div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family: verdana, helvetica, sans-serif; font-style: normal; background-color: transparent;" class=""><span style="background-color: transparent;" class=""><br></span></div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family: verdana, helvetica, sans-serif; font-style: normal; background-color: transparent;" class="">Sabe me dizer o que pode estar ocorrendo?</div><div style="color: rgb(0, 0, 0); font-size: 10px; font-family: verdana, helvetica, sans-serif; font-style: normal; background-color: transparent;" class=""><br></div><div
 style="color: rgb(0, 0, 0); font-size: 10px; font-family: verdana, helvetica, sans-serif; font-style: normal; background-color: transparent;" class="">Utilizo Asterisk 11.13.</div><div class="" style=""></div><div class="" style="">&nbsp;</div><div class="" style=""><span style="font-family:verdana, helvetica, sans-serif;" class="">Att<br class="" style="">Lucas Pires Gomes</span><br style="font-family:verdana, helvetica, sans-serif;" class=""><span style="font-family:verdana, helvetica, sans-serif;" class=""><span style="font-size:small;" class="">Gomes Technologies do Brasil</span></span><br style="font-family:verdana, helvetica, sans-serif;" class=""></div><div class="" style=""><br class="" style=""></div>  <div style="font-family: verdana, helvetica, sans-serif; font-size: 10px;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" class=""> <div dir="ltr" class=""
 style=""> <hr size="1" class="" style="">  <font size="2" face="Arial" class="" style=""> <b class="" style=""><span style="font-weight:bold;" class="">De:</span></b> Marcelo Terres &lt;mhterres@gmail.com&gt;<br class="" style=""> <b class="" style=""><span style="font-weight: bold;" class="">Para:</span></b> Lucas Pires Gomes &lt;lpg_br@yahoo.com.br&gt;; Asterisk Brasil &lt;asteriskbrasil@listas.asteriskbrasil.org&gt; <br class="" style=""> <b class="" style=""><span style="font-weight: bold;" class="">Enviadas:</span></b> Quarta-feira, 15 de Outubro de 2014 16:15<br class="" style=""> <b class="" style=""><span style="font-weight: bold;" class="">Assunto:</span></b> Re: [AsteriskBrasil] Envio de e-mail<br class="" style=""> </font> </div> <div class="" style=""><br class="" style="">; SMS de entrada<br clear="none" class="" style="">exten =&gt; dgv_sms,1,Noop(${DGV_SMS_FROM})<br clear="none" class="" style="">exten =&gt;
 dgv_sms,n,Noop(${DGV_SMS_DATE})<br clear="none" class="" style="">exten =&gt; dgv_sms,n,Noop(${DGV_SMS_TIME})<br clear="none" class="" style="">exten =&gt; dgv_sms,n,Noop(${DGV_SMS_TEXT})<br clear="none" class="" style="">exten =&gt; dgv_sms,n,System(echo "${DGV_SMS_TEXT}" | mail -s "SMS de<br clear="none" class="" style="">${DGV_SMS_FROM}" ${SMSMAILTO})<br clear="none" class="" style=""><br clear="none" class="" style="">[]s<br clear="none" class="" style="">Marcelo H. Terres<br clear="none" class="" style=""><a shape="rect" ymailto="mailto:mhterres@gmail.com" href="mailto:mhterres@gmail.com" class="" style="">mhterres@gmail.com</a><br clear="none" class="" style="">IM: <a shape="rect" ymailto="mailto:marcelo@jabber.mundoopensource.com.br" href="mailto:marcelo@jabber.mundoopensource.com.br" class="" style="">marcelo@jabber.mundoopensource.com.br</a><br clear="none" class="" style=""><a shape="rect" href="http://www.mundoopensource.com.br/"
 target="_blank" class="" style="">http://www.mundoopensource.com.br</a><br clear="none" class="" style=""><a shape="rect" href="http://offtopicsandfun.blogspot.com/" target="_blank" class="" style="">http://offtopicsandfun.blogspot.com</a><br clear="none" class="" style=""><a shape="rect" href="http://biertasters.blogspot.com/" target="_blank" class="" style="">http://biertasters.blogspot.com</a><br clear="none" class="" style=""><a shape="rect" href="http://twitter.com/mhterres" target="_blank" class="" style="">http://twitter.com/mhterres</a><br clear="none" class="" style=""><br clear="none" class="" style=""><div class="" id="yqtfd01344" style=""><br clear="none" class="" style="">2014-10-15 14:37 GMT-03:00 Lucas Pires Gomes &lt;<a shape="rect" ymailto="mailto:lpg_br@yahoo.com.br" href="mailto:lpg_br@yahoo.com.br" class="" style="">lpg_br@yahoo.com.br</a>&gt;:<br clear="none" class="" style="">&gt; Pessoal, boa tarde.<br clear="none" class=""
 style="">&gt;<br clear="none" class="" style="">&gt; Alguém tem exemplo de envio de e-mail via Asterisk?<br clear="none" class="" style="">&gt;<br clear="none" class="" style="">&gt; Preciso receber os SMS que chegam pela placa da Digivoice por e-mail.<br clear="none" class="" style="">&gt;<br clear="none" class="" style="">&gt; Att<br clear="none" class="" style="">&gt; Lucas Pires Gomes<br clear="none" class="" style="">&gt; Gomes Technologies do Brasil</div><br clear="none" class="" style="">&gt;<br clear="none" class="" style="">&gt; _______________________________________________<br clear="none" class="" style="">&gt; WORKOFFEES KHOMP: O evento Khomp chega a SÃO PAULO. Aproveite sua visita à<br clear="none" class="" style="">&gt; Futurecom e venha tomar um café conosco e conhecer os primeiros lançamentos<br clear="none" class="" style="">&gt; KHOMP para 2015!<br clear="none" class="" style="">&gt; Garanta sua vaga e saiba mais em
 www.workoffee.com.br<br clear="none" class="" style="">&gt; _______________________________________________<br clear="none" class="" style="">&gt; ALIGERA – Fabricante e desenvolvedor nacional de Soluções para telefonia IP<br clear="none" class="" style="">&gt; .<br clear="none" class="" style="">&gt; Gateway Sip, Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br clear="none" class="" style="">&gt; Banco de Canais Analógicos&nbsp; – Appliance Asterisk Acesse www.aligera.com.br<br clear="none" class="" style="">&gt; _______________________________________________<br clear="none" class="" style="">&gt; DIGIVOICE: Fabricante pioneiro em Banco de Canais e Placas E1, GSM, FXO e<br clear="none" class="" style="">&gt; FXS para Asterisk e Elastix. Temos Cursos de Telefonia IP e Asterisk.<br clear="none" class="" style="">&gt; Construa soluções de PABX IP com produtos DigiVoice - visite<br clear="none" class="" style="">&gt;
 www.digivoice.com.br<br clear="none" class="" style="">&gt; _______________________________________________<br clear="none" class="" style="">&gt; Para remover seu email desta lista, basta enviar um email em branco para<br clear="none" class="" style="">&gt; <a shape="rect" ymailto="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" class="" style="">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><div class="" id="yqtfd61127" style=""><br clear="none" class="" style="">&gt;</div><br class="" style=""><br class="" style=""></div> </div> </div>  </div></body></html>