<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font face="Arial"><div>Como ja tinha dito antes, não estou tendo problemas com o dialplan, nem com o BD.</div><div>tá tudo certinho, so quero saber se posso tirar esse aviso chato de erro</div><div><br></div><div>Esse é trecho do dialplan que dá esse aviso '<span style="font-size: 12pt;">set(podeligar=${DB(bloq/${origem})});</span><span style="font-size: 12pt;">'</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Abaixo um trecho do dialplan:</span></div></font><font face="Arial"><div><br></div><div>macro discaroi(origem,destino) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;grava(S,CEUSA,${origem},${destino});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;set(CDR(motivo)=S_${destino});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;set(podeligar=${DB(bloq/${origem})});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (${podeligar}=1) &nbsp;{playback(/etc/asterisk/vozes/sorry);}</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{set(DB(bloq/${origem})=0);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dial(dahdi/g1/${destino},90,T);}</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Hangup;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return;</div><div>}</div><div><br></div><div>macro discacelular(origem,destino) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &amp;consultaop(${destino});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set(CDR(op)=${operadora});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set(podeligar=${DB(bloq/${origem})});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (${podeligar}=1) &nbsp;{playback(/etc/asterisk/vozes/sorry);}</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ if (${destino:0:1}=0)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; { noop(discando com prestadora - ${operadora});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (len(${operadora}&lt;1)) dial(sip/easytel/${destino},90,T);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (${operadora}=41) dial(sip/goip1/1041${destino:1},90,T);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (${operadora}=21) dial(sip/easytel/${destino},90,T);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (${operadora}=20) dial(sip/goip2/1015${destino:1},90,T);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (${operadora}=23) dial(sip/goip2/1015${destino:1},90,T);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (${operadora}=31) dial(sip/goip2/2014${destino:1},90,T);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (${operadora}=14) dial(sip/goip2/2014${destino:1},90,T);}</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{ noop(Inserindo prestadora - ${operadora}48);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (len(${operadora}&lt;1)) dial(sip/easytel/048${destino},90,T);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (${operadora}=41) dial(sip/goip1/104148${destino},90,T);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (${operadora}=21) dial(sip/easytel/048${destino},90,T);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (${operadora}=20) dial(sip/goip2/101548${destino},90,T);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (${operadora}=23) dial(sip/goip2/101548${destino:1},90,T);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (${operadora}=31) dial(sip/goip2/201448${destino},90,T);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (${operadora}=14) dial(sip/goip2/201448${destino},90,T);}</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return;}</div><div><br></div><div>context entrada_goip &nbsp;{</div><div>&nbsp; &nbsp; _20XX =&gt; &nbsp;dial(dahdi/g2/2000,90,t);}</div><div><br></div><div>context pabx{</div><div>&nbsp; &nbsp; _90ZX. =&gt; {&amp;discaroi(${CALLERID(NAME)},${EXTEN});}</div><div>&nbsp; &nbsp; _19X =&gt; {&amp;discaroi(${CALLERID(NAME)},${EXTEN});}</div><div>&nbsp; &nbsp; _14XX =&gt; {&amp;discaroi(${CALLERID(NAME)},3441${EXTEN});}</div><div>&nbsp; &nbsp; &nbsp;_[234]X. =&gt; {&amp;discaroi(${CALLERID(NAME)},${EXTEN});}</div><div>&nbsp; &nbsp; &nbsp;_0[38]00X. =&gt; {&amp;discaroi(${CALLERID(NAME)},${EXTEN});}</div><div>&nbsp; &nbsp; &nbsp;_52099 =&gt; &nbsp;goto uraceusa,s,1;</div><div>&nbsp; &nbsp; &nbsp;_52XXX =&gt; playback(/etc/asterisk/vozes/voz${EXTEN:2});</div><div>&nbsp; &nbsp; &nbsp;_20XX =&gt; {dial(dahdi/g2/${EXTEN},90,t);}</div><div>&nbsp; &nbsp; &nbsp;_0XX[789]X. =&gt; {set(CDR(motivo)=S_${EXTEN});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;grava(S,CEUSA,${CALLERID(NAME)},${motivo});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;discacelular(${CALLERID(NAME)},${EXTEN});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Hangup;} &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp; &nbsp; &nbsp;_[789]X. =&gt; {set(CDR(motivo)=S_${EXTEN});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;grava(S,CEUSA,${CALLERID(NAME)},${motivo});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;discacelular(${CALLERID(NAME)},${EXTEN});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Hangup;}</div><div>&nbsp; &nbsp; &nbsp;_0XX[2-6]X. =&gt; {set(origem=${CALLERID(num)});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&amp;discaroi(${origem},014${EXTEN:1});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;HangUp;}</div><div>&nbsp; &nbsp; &nbsp;_00X. =&gt; &nbsp; &nbsp; {&amp;discaroi(${CALLERID(NAME)},0014${EXTEN:2});}</div><div>&nbsp; &nbsp; &nbsp;_5151XXXX =&gt; {set(DB(bloq/3441${EXTEN:4})=1);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;playback(/etc/asterisk/vozes/programado);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;HangUp;}</div><div>&nbsp; &nbsp; &nbsp;_5252XXXX =&gt; { set(DB(bloq/3441${EXTEN:4})=0);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;playback(/etc/asterisk/vozes/desprogramado);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;HangUp;}</div><div><br></div><div>includes {publica;}}</div><div><br></div><div>context publica {</div><div>&nbsp; &nbsp; &nbsp;_2099 =&gt; { &amp;consultaop(${CALLERID(num):0:6});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // &nbsp;set(id_recados(${CALLERID(all)}));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // &nbsp;goto uraceusa,s,1;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hangup;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp;_XXXX =&gt; {answer;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;set(encontrado=nao);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;set(CDR(motivo)=E_${EXTEN});</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (${CALLERID(num)}=4884137000) {&amp;callback(o84137000,${EXTEN});}</div><div style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (${encontrado}=nao)</div><div style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{&amp;grava(E,CEUSA,${EXTEN},${CALLERID(num)});</div><div style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; noop(entrada---------------------- = ${EXTEN});</div><div style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; switch (${EXTEN}) {</div><div style="font-size: 12pt;">// &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 2011 : dial(dahdi/g2/2011&amp;sip/goip2/284137000);</div><div style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case 2047 : dial(dahdi/g2/2047&amp;sip/goip1/196542937);</div><div style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case 2017 : dial(dahdi/g2/2017&amp;sip/goip1/199741259);</div><div style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case 2041 : dial(dahdi/g2/2041&amp;sip/goip1/199249321);</div><div style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case 2027 : dial(dahdi/g2/2027&amp;sip/goip1/199220622);</div><div style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case 2039 : dial(dahdi/g2/2039&amp;sip/goip1/199849621);</div><div style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;default : dial(dahdi/g2/${EXTEN},90,t);</div><div style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}</div><div style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div style="font-size: 12pt;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;hangup;}</div><div style="font-size: 12pt;">} &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</div><div style="font-size: 12pt;"><br></div></font>Esse é o BD : func_ODBC.conf<div><div>[LEPORTADOS]</div><div>dsn=easytel</div><div>readsql= SELECT op FROM portados WHERE numero=${SQL_ESC(${ARG1})} order by data desc limit 1</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>[LEOP]</div><div>dsn=easytel</div><div>readsql= SELECT op FROM opcel WHERE numero=${SQL_ESC(${ARG1})}</div><div><br></div><div><br><pre style="line-height:17px;white-space:normal;color:rgb(42, 42, 42);background-color:rgb(255, 255, 255)">Hudson&nbsp;<br>(048) 8413-7000<br>Para quem nao cre, nenhuma prova converte,Para aquele que cre, nenhuma prova precisa.&nbsp;</pre><br><br><div><hr id="stopSpelling">Date: Wed, 21 Aug 2013 16:46:21 -0300<br>From: ajcorrea@gmail.com<br>To: asteriskbrasil@listas.asteriskbrasil.org<br>Subject: Re: [AsteriskBrasil] Mensagem de EOL no MYSQL<br><br><div dir="ltr">mas quem esta dando erro é o AST .. nao o mysql !!</div><div class="ecxgmail_extra"><br clear="all"><div>Sds.<br>Alexandre J. Correa<br>Onda Internet<br><a href="http://www.onda.net.br" target="_blank">http://www.onda.net.br</a><br>
<br><br>IPV6 Ready !!!<br><br></div>
<br><br><div class="ecxgmail_quote">2013/8/21 Mike Tesliuk <span dir="ltr">&lt;<a href="mailto:mike@tesliuk.com" target="_blank">mike@tesliuk.com</a>&gt;</span><br><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">

  
    
  
  <div>
    <div>joga um exit ou return 0 no fim do
      script pra ver<br>
      <br>
      Em 21/08/13 15:36, Rafael dos Santos Saraiva escreveu:<br>
    </div><div><div class="h5">
    <blockquote>
      <div dir="ltr">Fica meio dificil sem ver o contexto, mas a
        principio, você tem que tratar o resultado null no dialplan e na
        consulta. Por exemplo, antes de buscar um valor especifico, use
        o "SELECT COUNT", se retornar &gt;0, então realiza a consulta
        que você quer.</div>
      <div class="ecxgmail_extra"><br clear="all">
        <div>
          <div dir="ltr">
            <div><br>
            </div>
            Att,
            <div><b>Rafael dos Santos Saraiva</b></div>
            <div>
              <div>Tel: (51) 8174-7956</div>
              <div><font color="#e69138"><b>Digium Certified Asterisk
                    Administrator (dCCA)</b></font><br>
              </div>
              <div><a href="http://www.astdocs.com" target="_blank">http://www.astdocs.com</a>
                |&nbsp;<a href="http://br.linkedin.com/pub/rafael-saraiva/52/aab/230" target="_blank"><img></a><br>
              </div>
            </div>
          </div>
        </div>
        <br>
        <br>
        <div class="ecxgmail_quote">Em 21 de agosto de 2013 16:30, Hudson
          Cardoso <span dir="ltr">&lt;<a href="mailto:hudsoncardoso@hotmail.com" target="_blank">hudsoncardoso@hotmail.com</a>&gt;</span>
          escreveu:<br>
          <blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex;">
            <div>
              <div dir="ltr"><font style="font-size:12pt;" face="Arial" size="3">&nbsp; &nbsp;O asterisk diz ser erro de sintaxe, mas na
                  verdade trata-se de EOL no BD do MYSQL.</font>
                <div><font style="font-size:12pt;" face="Arial" size="3">da
                    seguinte forma:</font></div>
                <div><font style="font-size:12pt;" face="Arial" size="3">se
                    ele consulta e encontra dados, nao gera o erro.</font></div>
                <div><font style="font-size:12pt;" face="Arial" size="3">mas
                    se consulta dados e encontra nill, gera o erro de
                    sintaxe, parece absurdo, mas é isso ai.</font></div>
                <div><font style="font-size:12pt;" face="Arial" size="3">gera
                    erro se encontra nill ou vazio.<br>
                  </font><br>
                  <br>
                  <pre style="line-height:17px;color:rgb(42,42,42);white-space:normal;">Hudson&nbsp;
(048) 8413-7000
Para quem nao cre, nenhuma prova converte,Para aquele que cre, nenhuma prova precisa.&nbsp;</pre>
                  <br>
                  <br>
                  <div>
                    <hr>Date: Wed, 21 Aug 2013 15:16:58 -0400<br>
                    From: <a href="mailto:mike@tesliuk.com" target="_blank">mike@tesliuk.com</a><br>
                    To: <a href="mailto:asteriskbrasil@listas.asteriskbrasil.org" target="_blank">asteriskbrasil@listas.asteriskbrasil.org</a><br>
                    Subject: Re: [AsteriskBrasil] Mensagem de EOL no
                    MYSQL<br>
                    <br>
                    <div><br>
                      Aqui é erro de syntaxe, <br>
                      <br>
                      <br>
                      se nao for esta mensagem, então não sei qual você
                      ta falando :) <br>
                      <br>
                      <br>
                      Em 21/08/13 14:58, Hudson Cardoso escreveu:<br>
                    </div>
                    <blockquote><font style="font-size:12pt;" face="Arial" size="3">
                        <div>[2013-08-21 15:59:22] WARNING[21305]:
                          ast_expr2.fl:468 ast_yyerror: ast_yyerror():
                          &nbsp;syntax error: syntax error, unexpected '=',
                          expecting $end; Input:</div>
                      </font></blockquote>
                    <br>
                    <br>
                    _______________________________________________
                    KHOMP: completa linha de placas externas FXO, FXS,
                    GSM e E1;
                    Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e
                    SS7;
                    Intercomunicadores para acesso remoto via rede IP.
                    Conhe�a em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.
                    _______________________________________________
                    ALIGERA � Fabricante nacional de Gateways SIP-E1
                    para R2, ISDN e SS7.
                    Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI
                    Express.
                    Channel Bank � Appliance Asterisk - Acesse <a href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.
                    _______________________________________________
                    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></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" target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;
Intercomunicadores para acesso remoto via rede IP. Conheça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.
_______________________________________________
ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
Channel Bank – Appliance Asterisk - Acesse <a href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.
_______________________________________________
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></pre>

    </blockquote>
    <br>
  </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></div>
<br>_______________________________________________
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;
Intercomunicadores para acesso remoto via rede IP. Conhe�a em www.Khomp.com.
_______________________________________________
ALIGERA � Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.
Channel Bank � Appliance Asterisk - Acesse www.aligera.com.br.
_______________________________________________
Para remover seu email desta lista, basta enviar um email em branco para asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</div></div></div>                                               </div></body>
</html>