<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1555" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=749210720-18072006><FONT face=Arial
size=2>Caros,</FONT></SPAN></DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial size=2>Alguem já usou a
aplicação MySQL do Asterisk add ons?</FONT></SPAN></DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial size=2>Estou fazendo testes
com ela, e meus SELECTs funcionam, mas INSERTs e UPDATES
não...</FONT></SPAN></DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial size=2>(Não é problema de
permissão no banco, pq estou conectando como administrador)</FONT></SPAN></DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial size=2>exten =>
8892,1,MySQL(Connect connid SERVIDOR root SENHA BASE)<BR>exten =>
8892,n,MySQL(Query resultid ${connid} insert\ into\ mysql_asterisk\
(callerid\,passo\,info)\ values(${CALLERIDNUM}\,1\,aaa))<BR>exten =>
8892,n,MySQL(Disconnect ${connid})<BR>exten =>
8892,n,Hangup<BR></FONT></SPAN></DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial size=2>Ele passa por todos
etapas, sem mensagem de erro, mas nao insere no banco... </FONT></SPAN></DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial size=2>Com o SELECT
(abaixo), funciona direitinho!!</FONT></SPAN></DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial size=2><SPAN
class=749210720-18072006><FONT face=Arial size=2>exten =>
8892,1,MySQL(Connect connid SERVIDOR root SENHA
BASE)</FONT></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial size=2>exten =>
8892,n,MySQL(Query resultid ${connid} select\ callerid\ from\
mysql_asterisk)<BR>exten => 8892,n,MySQL(Fetch fetchid ${resultid}
aaaa)<BR>exten => 8892,n,MySQL(Clear ${resultid})<BR>exten =>
8892,n,NoOp(A variavel aaaa eh: ${aaaa})<BR>exten => 8892,n,MySQL(Disconnect
${connid})<BR>exten => 8892,n,Hangup<BR></FONT></SPAN></DIV>
<DIV><SPAN class=749210720-18072006><FONT face=Arial
size=2>[]s<BR>Dov</DIV></FONT></SPAN></BODY></HTML>