<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" size="3" style="font-size:12pt;"><div>&nbsp; &nbsp;Boa tarde.</div><div>&nbsp; &nbsp;Alguém da lista sabe como executar uma string sql diretamente no dialplan ?</div><div><br></div><div>tenho tentado assim :</div><div>&nbsp;3 =&gt; sql(delete from cdr;);</div><div><br></div><div>func_odbc.conf</div><div>[SQL]</div><div>dsn=asterisk</div><div>readsql=${ARG1}</div><div><br></div><div>&nbsp; &nbsp;Alguém poderia me dar uma indicação do problema ?</div></font><br><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>                                               </div></body>
</html>