<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">


<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C9EE97.24414720">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;
        mso-font-charset:128;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-1 -369098753 63 0 4129279 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
@font-face
        {font-family:"\@Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;
        mso-font-charset:128;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-1 -369098753 63 0 4129279 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.EstiloDeEmail18
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Tabela normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]--><!--[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 bgcolor=white lang=PT-BR link=blue vlink=purple style='tab-interval:35.4pt'>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>E ai Joseph...<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><span class=SpellE><b><font size=3 color=black
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;mso-ansi-language:
EN-US;font-weight:bold'>MySQL</span></font></b></span><b><span lang=EN-US
style='mso-ansi-language:EN-US;font-weight:bold'> Error</span></b><span
lang=EN-US style='mso-ansi-language:EN-US'>: 1194 (Table '<span class=SpellE>cdr</span>'
is marked as crashed and should be repaired)<o:p></o:p></span></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
lang=EN-US style='font-size:12.0pt;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><st1:City><st1:place><span class=SpellE><font size=3
  color=black face="Times New Roman"><span lang=EN-US style='font-size:12.0pt;
  mso-ansi-language:EN-US'>Pau</span></font></span></st1:place></st1:City><span
lang=EN-US style='mso-ansi-language:EN-US'> no <span class=SpellE>bd</span>…<o:p></o:p></span></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
lang=EN-US style='font-size:12.0pt;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
lang=EN-US style='font-size:12.0pt;mso-ansi-language:EN-US'>Ciro</span></font><font
size=2 color=navy face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial;color:navy;mso-ansi-language:EN-US'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-US'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=black
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;color:windowtext'>-----Mensagem
original-----<br>
<b><span style='font-weight:bold'>De:</span></b> asteriskbrasil-bounces@listas.<span
class=GramE>asteriskbrasil</span>.<span class=GramE>org</span>
[mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org] <b><span
style='font-weight:bold'>Em nome de </span></b>jose<br>
<b><span style='font-weight:bold'>Enviada em:</span></b> terça-feira, 16 de
junho de 2009 15:25<br>
<b><span style='font-weight:bold'>Para:</span></b> asterisk<br>
<b><span style='font-weight:bold'>Assunto:</span></b> Re: [AsteriskBrasil] Erro
emissão relatórios</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<blockquote style='border:none;border-left:solid black 1.5pt;padding:0cm 0cm 0cm 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>

<div>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<div>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial'>Pessoal bom dia<span
class=GramE>!!</span></span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial'>Estou usando o
Meucci da Digivoice e quando fui tirar um relatorio para minha surpresa deu
todos esse erros ai abaixo, alguem tem alguma sugestaçao de como corrigir isso
sem ter que formatar novamente o servidor<span class=GramE>??</span></span></font><br>
<br>
<strong><b><font face="Times New Roman">Database error:</font></b></strong> Invalid
SQL: SELECT calldate, channel, src, clid, dst, case disposition when
&quot;BUSY&quot; then &quot;Ocupado&quot; when &quot;ANSWERED&quot; then
&quot;Atendido&quot; when &quot;NO ANSWER&quot; then &quot;N<font
face="Arial Unicode MS"><span style='font-family:"Arial Unicode MS";mso-fareast-font-family:
"Times New Roman"'>�</span></font>o Atend.&quot; end as disposition,
duration FROM cdr WHERE disposition = &quot;ANSWERED&quot; AND
UNIX_TIMESTAMP(calldate) &gt;= UNIX_TIMESTAMP('2009-06-01') AND
UNIX_TIMESTAMP(calldate) &lt;= UNIX_TIMESTAMP('2009-06-05 23:59:59') ORDER BY
calldate DESC LIMIT 0,50<br>
<b><span style='font-weight:bold'>MySQL Error</span></b>: 1194 (Table 'cdr' is
marked as crashed and should be repaired)<br>
<b><span style='font-weight:bold'>Database error:</span></b> Invalid SQL:
SELECT substring(calldate,1,10) AS day, sum(duration) AS calltime, count(*) as
nbcall FROM cdr WHERE disposition = &quot;ANSWERED&quot; AND
UNIX_TIMESTAMP(calldate) &gt;= UNIX_TIMESTAMP('2009-06-01') AND
UNIX_TIMESTAMP(calldate) &lt;= UNIX_TIMESTAMP('2009-06-05 23:59:59') GROUP BY
substring(calldate,1,10)<br>
<b><span style='font-weight:bold'>MySQL Error</span></b>: 1194 (Table 'cdr' is
marked as crashed and should be repaired)<br>
<b><span style='font-weight:bold'>Database error:</span></b> Invalid SQL:
SELECT count(*) FROM cdr WHERE disposition = &quot;ANSWERED&quot; AND
UNIX_TIMESTAMP(calldate) &gt;= UNIX_TIMESTAMP<span class=GramE>('</span>2009-06-01')
AND UNIX_TIMESTAMP(calldate) &lt;= UNIX_TIMESTAMP('2009-06-05 23:59:59')<br>
<b><span style='font-weight:bold'>MySQL Error</span></b>: 1194 (Table 'cdr' is
marked as crashed and should be repaired)<br>
<b><span style='font-weight:bold'>Database error:</span></b> next_record called
with no query pending.<br>
<span class=GramE><b><span style='font-weight:bold'>MySQL</span></b></span><b><span
style='font-weight:bold'> Error</span></b>: 1194 (Table 'cdr' is marked as
crashed and should be repaired)<o:p></o:p></p>

</div>

</blockquote>

</div>

</body>

</html>