Olá, tive esse problema quando comecei também, por default o Asterisk só grava as que foram atendidas, então você vai ter que colocar o parametro unanswered=yes para ele gravar todas, isso no cdr.conf.<br><br><div class="gmail_quote">
Em 26 de fevereiro de 2010 23:35, Klaber Malara de Paula <span dir="ltr"><<a href="mailto:klabermalara@yahoo.com.br">klabermalara@yahoo.com.br</a>></span> escreveu:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="PT-BR">
<div><pre><span style="color: black;">Boa noite.</span></pre>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;">Estou efetuando uma discagem por um discador, ainda em teste que
estou</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;">desenvolvendo.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;">Funcionando legal, no contexto que chamo pelo .call quando tenho
atendimento</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;">o CDR é gravado normal, porem quando não tenho resposta do ring ou
tenho</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;">congestion ou qualquer outra dial cause que não seja answer não
grava o cdr</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;">no msql.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;">Alguém pode me ajudar?</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;">Segue o que estou fazendo, bem simples.</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US">context discador {</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> _X. => {</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> Answer;</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> Set(CALLERID(num)=123456);</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> Set(CDR(acountcode)=${EXTEN});</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> Wait(2);</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> PlayBack(anuncio);</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> HangUp;</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> }</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> failed => {</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> Set(NumberDialed=${PassedInfo});</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span><span style="font-size: 10pt; font-family: "Courier New"; color: black;">NoOP(O numero discado eh: ${NumberDialed});</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;"> </span><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US">Set(CDR(userfield)=${NumberDialed});</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> }</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US">}</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> -- Attempting call on Sip/1000 for 1...@discador:1 (Retry 1)</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> -- Got SIP response 480 "Temporarily Unavailable"
back from 192.168.56.1</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> -- Executing [fai...@discador:1]
Set("OutgoingSpoolFailed",</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US">"NumberDialed=1000") in new stack</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> -- Executing [fai...@discador:2]
NoOp("OutgoingSpoolFailed", "O numero</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US">discado eh: 1000") in new stack</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> -- Executing [fai...@discador:3]
Set("OutgoingSpoolFailed",</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US">"CDR(userfield)=1000") in new stack</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> == Auto fallthrough, channel 'OutgoingSpoolFailed' status is
'UNKNOWN'</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US">[Feb 13 18:20:39] NOTICE[2375]: pbx_spool.c:341 attempt_thread:
Call failed</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US">to go through, reason (8) Congestion (circuits busy)</span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: "Courier New"; color: black;">debian*CLI></span></p>
<p class="MsoNormal"> </p>
</div>
</div>
<br>_______________________________________________<br>
KHOMP: qualidade em placas de E1, GSM, FXS e FXO para Asterisk.<br>
- Hardware com alta disponibilidade de recursos e qualidade KHOMP<br>
- Suporte técnico local qualificado e gratuito<br>
Conheça a linha completa de produtos KHOMP em <a href="http://www.khomp.com.br" target="_blank">www.khomp.com.br</a><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>