<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Olá, obrigado por responder!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>não sou eu quem passa os parametros é o 
asterisk...</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=rodrigo@sertori.com.br href="mailto:rodrigo@sertori.com.br">Rodrigo 
  Sertori</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=asteriskbrasil@listas.asteriskbrasil.org 
  href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, April 13, 2009 12:51 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [AsteriskBrasil]Realtime com 
  problemas após atualização para 1.6.0.3</DIV>
  <DIV><BR></DIV>Opa Sebastião blz ?!<BR><BR>Cara.. tenta fazer o seguinte, 
  passe os parametros com 'aspas simples', todos eles inclusive os 
  numericos.<BR><BR>Abs...<BR><BR><BR clear=all>Rodrigo Sertori<BR><BR><BR>
  <DIV class=gmail_quote>2009/4/13 Sebastiao Rocha <SPAN dir=ltr>&lt;<A 
  href="mailto:lixo@interlinksistemas.com.br">lixo@interlinksistemas.com.br</A>&gt;</SPAN><BR>
  <BLOCKQUOTE class=gmail_quote 
  style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <DIV bgcolor="#ffffff">
    <DIV><FONT face=Arial size=2>Olá pessoal...</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>após atualizar o asterisk da versão 1.6.0.1 
    para 1.6.0.3 o realtime não quer mais funcionar, nos selects e updates não 
    estão sendo enviados os parametros para consulta ou update, no lugar dos 
    parametros está sendo enviado "?"</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>monitorei a base de dados, o asterisk está se 
    conectando a ela, os sql statements estão chegando lá... ao inver de 
    chegar:</FONT></DIV>
    <DIV>UPDATE sip_users SET ipaddr=x.x.x.x, port=5060, regseconds=360, 
    defaultuser=nomedouser?, fullcontact=emaildouser WHERE name=?]</DIV>
    <DIV>está chegando</DIV>
    <DIV>UPDATE sip_users SET ipaddr=?, port=?, regseconds=?, defaultuser=?, 
    fullcontact=? WHERE name=?]</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>segue detalhes do console</FONT></DIV>
    <DIV><FONT face=Arial size=2>
    <P>[Apr 13 12:32:50] WARNING[4512]: res_config_odbc.c:74 custom_prepare: SQL 
    Prepare failed![UPDATE sip_users SET ipaddr=?, port=?, regseconds=?, 
    defaultuser=?, fullcontact=? WHERE name=?]<BR>[Apr 13 12:32:50] 
    WARNING[4512]: res_odbc.c:221 ast_odbc_sanity_check: Connection is down 
    attempting to reconnect...<BR>[Apr 13 12:32:50] NOTICE[4512]: res_odbc.c:592 
    odbc_obj_connect: Connecting interlink<BR>[Apr 13 12:32:50] NOTICE[4512]: 
    res_odbc.c:606 odbc_obj_connect: res_odbc: Connected to interlink 
    [interlink]<BR>[Apr 13 12:32:50] WARNING[4512]: res_config_odbc.c:74 
    custom_prepare: SQL Prepare failed![UPDATE sip_users SET ipaddr=?, port=?, 
    regseconds=?, defaultuser=?, fullcontact=? WHERE name=?]</P>
    <P>Obs... Utilizando a mesma base de dados, mesmo odbc dns, com asterisk 
    versão 1.6.0.1 tudo funciona bem.</P>
    <P>alguem passou por este problema e conseguiu resolver 
    ?</P></FONT></DIV></DIV><BR>_______________________________________________<BR>Openmoko 
    Freerunner, primeiro telefone open source, disponível no Brasil rodando o 
    Android da Google.<BR><A href="http://www.neodroid.com" 
    target=_blank>http://www.neodroid.com</A><BR><BR>Compre uma camiseta da 
    AsteriskBrasil.org!<BR><A href="http://www.voipmania.com.br" 
    target=_blank>http://www.voipmania.com.br</A><BR><BR>Acesse o canal IRC de 
    discussão sobre Asterisk em Português Brasileiro na rede Freenode.net: 
    #asterisk-br<BR>_______________________________________________<BR>Lista de 
    discussões AsteriskBrasil.org<BR><A 
    href="mailto:AsteriskBrasil@listas.asteriskbrasil.org">AsteriskBrasil@listas.asteriskbrasil.org</A><BR><A 
    href="http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil" 
    target=_blank>http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</A><BR></BLOCKQUOTE></DIV><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Openmoko Freerunner, 
  primeiro telefone open source, disponível no Brasil rodando o Android da 
  Google.<BR>http://www.neodroid.com<BR><BR>Compre uma camiseta da 
  AsteriskBrasil.org!<BR>http://www.voipmania.com.br<BR><BR>Acesse o canal IRC 
  de discussão sobre Asterisk em Português Brasileiro na rede Freenode.net: 
  #asterisk-br<BR>_______________________________________________<BR>Lista de 
  discussões 
  AsteriskBrasil.org<BR>AsteriskBrasil@listas.asteriskbrasil.org<BR>http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil</BLOCKQUOTE></BODY></HTML>