<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texto de balão Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.Pr-formataoHTMLChar
        {mso-style-name:"Pré-formatação HTML Char";
        mso-style-priority:99;
        mso-style-link:"Pré-formatação HTML";
        font-family:"Courier New";}
span.EstiloDeEmail19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EstiloDeEmail20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.TextodebaloChar
        {mso-style-name:"Texto de balão Char";
        mso-style-priority:99;
        mso-style-link:"Texto de balão";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=PT-BR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Esqueci de dizer que utilizo centOS 6<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#000066'>att<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#000066'><o:p>&nbsp;</o:p></span></b></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#000066'>Danilo Ricardo de Almeida</span></b><b><span style='font-family:"Tahoma","sans-serif";color:#000066'><o:p></o:p></span></b></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> asteriskbrasil-bounces@listas.asteriskbrasil.org [mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org] <b>Em nome de </b>Danilo Almeida<br><b>Enviada em:</b> Wednesday, November 14, 2012 2:09 PM<br><b>Para:</b> asteriskbrasil@listas.asteriskbrasil.org<br><b>Assunto:</b> [AsteriskBrasil] RES: Problema na tabela cdr<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>No asterisk 1.6.2 sigo exatamente esses passos:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:dashed #CCCCCC 1.0pt;padding:6.0pt 6.0pt 6.0pt 6.0pt'><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'>nano /etc/asterisk/cdr_odbc.conf<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>[global]<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>dsn=nome_do_BD<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>loguniqueid=yes<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>loguserfield=yes<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>dispositionstring=yes<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>table=cdr<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'>usegmtime=no<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'>nano /etc/asterisk/res_odbc.conf <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>[ENV] <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>[nome_do_BD] <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>enabled =&gt; yes <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'>dsn =&gt; nome_do_BD <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'>username =&gt; root<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>password =&gt; senha <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>pre-connect =&gt; yes <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>idlecheck =&gt; 3600 <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>nano /etc/odbc.ini <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>[nome_do_BD]<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>Description&nbsp;&nbsp;&nbsp;&nbsp; = Asterisk CDR FUNC_ODBC<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>Driver&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = MySQL<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>Socket&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = /var/lib/mysql/mysql.sock<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>Server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = localhost<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'>User&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = root<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'>Pass&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = senha<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'>Database&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = nome_do_BD<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>Option&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 3<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>nano /etc/odbcinst.ini <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>[MySQL] <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>Description&nbsp;&nbsp;&nbsp;&nbsp; = ODBC for MySQL <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>Driver&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = /usr/lib/libmyodbc3.so <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>Setup&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = /usr/lib/libodbcmyS.so <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'>FileUsage&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 1 <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'>nano /etc/asterisk/extconfig.conf <o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'>[settings]<o:p></o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span lang=EN-US style='font-size:8.5pt;font-family:"Courier New";color:#333333'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-bottom:12.0pt;text-align:justify;line-height:14.25pt;background:#F7F9FA'><span style='font-size:8.5pt;font-family:"Courier New";color:#333333'>cdr =&gt; odbc,nome_do_BD,cdr<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>abraço<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#000066'>att<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#000066'><o:p>&nbsp;</o:p></span></b></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Tahoma","sans-serif";color:#000066'>Danilo Ricardo de Almeida</span></b><b><span style='font-family:"Tahoma","sans-serif";color:#000066'><o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org">asteriskbrasil-bounces@listas.asteriskbrasil.org</a> [<a href="mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org">mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org</a>] <b>Em nome de </b>Hiarlen Carnellósi<br><b>Enviada em:</b> Wednesday, November 14, 2012 2:00 PM<br><b>Para:</b> <a href="mailto:asteriskbrasil@listas.asteriskbrasil.org">asteriskbrasil@listas.asteriskbrasil.org</a><br><b>Assunto:</b> Re: [AsteriskBrasil] Problema na tabela cdr<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>A máquina aparentemente está subindo normal sem erro. Estou utilizando debian 6.0.4, banco Mysql 5.0. Asterisk 1.0.6.18. <br><br>O negócio tá tenso já dei permissão total pro user root no mysql, já exclui o banco as tabelas, recriei tudo do zero.<br><br>Já fiz, isso aqui que tem em um post:<br><br>1º Tive que acresentar os modulos no arquivo /etc/asterisk/modules.conf<br><br>load =&gt; cdr_addon_mysql.so<br>load =&gt; res_config_mysql.so<br><br>2º No arquivo res_mysql.conf.<br><br>o contexto deve ser alterado para [asterisk] ao inves de [default] .<br><br>3º outro parametro que pode ser alterado no sql e no numero de casas do campo language, esta setado apenas 2 impossibilitado o pt_br<br><br>4º acrescentei o campo &quot; allowsubscribe &quot; como NO padrao para evitar toda hora a mensagem:<br><br>5º o campo &quot;qualify&quot; da tabela sip_buddies deve ser retirado ou setado como NULL pois o parametro &quot;qualify&quot; no Asterisk Realtime não é ultilizado, deve-se substituir pelo rtcachefriends = yes/no .<br><br>Meu cdr_mysql.conf está assim:<br><br>[global]<br>hostname=10.0.15.232<br>dbname=asterisk<br>table=cdr<br>password=xxxxxxx<br>user=root<br>port=3306<br>sock=/var/run/mysqld/mysqld.sock<br>;sock=/tmp/mysql.sock<br>userfield=1<br><br>E continua o erro:<br><br>-- Executing [9715@internal:1] Dial(&quot;SIP/9816-0000000c&quot;, &quot;SIP/9715,50,tTwW&quot;) in new stack<br>&nbsp; == Using SIP RTP CoS mark 5<br>&nbsp; == Using SIP VRTP CoS mark 6<br>&nbsp;&nbsp;&nbsp; -- Called 9715<br>&nbsp;&nbsp;&nbsp; -- SIP/9715-0000000d is ringing<br>&nbsp;&nbsp;&nbsp; -- SIP/9715-0000000d answered SIP/9816-0000000c<br>[Nov 14 13:55:23] ERROR[2396]: cdr_sqlite3_custom.c:269 write_cdr: near &quot;)&quot;: syntax error. SQL: INSERT INTO cdr () VALUES ().<br>&nbsp; == Spawn extension (internal, 9715, 1) exited non-zero on 'SIP/9816-0000000c'<br><br>Ele inseri tudo em branco na tabela cdr não consegue pegar os campos, tem alguma ligação de chave estrangeira entre as tabelas algo do tipo? <o:p></o:p></p><div><p class=MsoNormal>Em 14 de novembro de 2012 08:04, Nildo Furtado &lt;<a href="mailto:nildopd@gmail.com" target="_blank">nildopd@gmail.com</a>&gt; escreveu:<o:p></o:p></p><p class=MsoNormal>Amigo, por acaso vc já reiniciou a maquina e deparou com algum erro na partição do /var ?? Qual distribuição vc esta usando do Linux e Asteriks ? Já tentou fazer a conexão novamente do odbcini.conf ? Já verificou se cdr_mysql.conf ?<br><br>Enviado via iPhone<br>Tel: 7761-8557<br><br>Em 13/11/2012, às 16:46, Hiarlen Carnellósi &lt;<a href="mailto:hiarlenhcm@gmail.com" target="_blank">hiarlenhcm@gmail.com</a>&gt; escreveu:<o:p></o:p></p><div><div><p class=MsoNormal><br>&gt; Pessoal configurei o asterisk real time no mysql estava funcionando certinho do nada agora aparece que ele não consegue inserir na tabela cdr os dados, e eu não consigo ver mais pelo banco o status da ligação, alguém já passou por isso?<br>&gt;<br>&gt; &nbsp;-- Executing [9816@internal:1] Dial(&quot;SIP/9715-00000029&quot;, &quot;SIP/9816,50,tTwW&quot;) in new stack<br>&gt; &nbsp; == Using SIP RTP CoS mark 5<br>&gt; &nbsp; == Using SIP VRTP CoS mark 6<br>&gt; &nbsp; &nbsp; -- Called 9816<br>&gt; &nbsp; &nbsp; -- SIP/9816-0000002a is ringing<br>&gt; &nbsp; &nbsp; -- SIP/9816-0000002a answered SIP/9715-00000029<br>&gt; &nbsp; &nbsp; -- Registered SIP '9715' at 10.0.15.253 port 43616<br>&gt; &nbsp; &nbsp; &nbsp; &nbsp;&gt; Saved useragent &quot;X-Lite release 1002tx stamp 29712&quot; for peer 9715<br>&gt; [Nov 13 16:42:16] ERROR[2793]: cdr_sqlite3_custom.c:269 write_cdr: disk I/O error. SQL: INSERT INTO cdr (calldate,clid,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid,userfield,test) VALUES ('2012-11-13 16:42:02','&quot;9715&quot; &lt;9715&gt;','internal','SIP/9715-00000029','SIP/9816-0000002a','Dial','SIP/9816,50,tTwW','14','7','ANSWERED','DOCUMENTATION','','1352832122.43','','').<br>&gt; &nbsp; == Spawn extension (internal, 9816, 1) exited non-zero on 'SIP/9715-00000029'<br>&gt;<br>&gt; Ele tenta criar um campo test na tabela cdr que na minha tabela não existe, se dou um:<br>&gt; &nbsp;select * from cdr;<br>&gt;<br>&gt; Ele inseri mais uma linha na ligação completada só que fica tudo zerado<br>&gt;<br>&gt; 0000-00-00 00:00:00<br>&gt;<br>&gt; Alguém já viu algo assim?<br>&gt;<br>&gt; Obrigado desde já<br>&gt; --<br>&gt; Atenciosamente:<br>&gt; =================================<br>&gt; HIARLEN CARNELLÓSI<br>&gt;<br>&gt;<o:p></o:p></p></div></div><div><div><p class=MsoNormal>&gt; _______________________________________________<br>&gt; KHOMP Inovação: External Board Series<br>&gt; Módulos de 1/2 rack e 1U para todas as interfaces e soluções Asterisk e FreeSWITCH.<br>&gt; Tenha a External Series Experience na sua aplicação. Visite <a href="http://www.khomp.com" target="_blank">www.khomp.com</a><br>&gt; _______________________________________________<br>&gt; DIGIVOICE &nbsp;Fabricante de Placas de Voz e Channel Bank<br>&gt; 20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM<br>&gt; Centro Treinamento - Curso de PABX IP - &nbsp;Asterisk &nbsp;- Site &nbsp;<a href="http://www.digivoice.com.br" target="_blank">www.digivoice.com.br</a><br>&gt; ________<br>&gt; YEALINK: Telefones IP e VídeoPhones IP com o melhor custo/benefício do mercado.<br>&gt; email: <a href="mailto:yealink@commlogik.com.br" target="_blank">yealink@commlogik.com.br</a> | <a href="http://www.commlogik.com.br" target="_blank">www.commlogik.com.br</a> | (11) 5503-1011<br>&gt; ______________________________________________<br>&gt; 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>_______________________________________________<br>KHOMP Inovação: External Board Series<br>Módulos de 1/2 rack e 1U para todas as interfaces e soluções Asterisk e FreeSWITCH.<br>Tenha a External Series Experience na sua aplicação. Visite <a href="http://www.khomp.com" target="_blank">www.khomp.com</a><br>_______________________________________________<br>DIGIVOICE &nbsp;Fabricante de Placas de Voz e Channel Bank<br>20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM<br>Centro Treinamento - Curso de PABX IP - &nbsp;Asterisk &nbsp;- Site &nbsp;<a href="http://www.digivoice.com.br" target="_blank">www.digivoice.com.br</a><br>________<br>YEALINK: Telefones IP e VídeoPhones IP com o melhor custo/benefício do mercado.<br>email: <a href="mailto:yealink@commlogik.com.br" target="_blank">yealink@commlogik.com.br</a> | <a href="http://www.commlogik.com.br" target="_blank">www.commlogik.com.br</a> | (11) 5503-1011<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><o:p></o:p></p></div></div></div><p class=MsoNormal><br><br clear=all><br>-- <o:p></o:p></p><div><p class=MsoNormal>Atenciosamente:<o:p></o:p></p></div><div><p class=MsoNormal>=================================<br>HIARLEN CARNELLÓSI<br><a href="tel:%2B55%20%2819%29%209191-8415" target="_blank">+55 (19) 9191-8415</a><br>Administração de Redes e Servidores: Windows e Linux/Suporte em TI <o:p></o:p></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>