Veja se seu hostname está no arquivo /etc/hosts<br><br>para ver o nome, execute o comando "hostname"<br><br>tem que ter algo assim:<br><br>127.0.0.1 nomedohost.dominio nomedohost<br><br>e da um restart...<br>
<br><br><br>-- <br><font size="4"><span style="color:rgb(0, 0, 0)">Roger Pitigliani</span></font><br><span style="color:rgb(153, 0, 0)"><b><i>ib</i>GRAVA</b> - Soluções em Telefonia e Informática</span><br style="color:rgb(153, 0, 0)">
<span style="color:rgb(153, 0, 0)">(51) 3216.0107 / 3216.0111</span><b style="color:rgb(153, 0, 0)"><br></b><span style="color:rgb(153, 0, 0)"><a href="http://www.ibgrava.com.br/" target="_blank">www.ibgrava.com.br</a></span><br>
<br><img src="http://www.ibgrava.com.br/LogoAssinatura.png"><br><font style="color:rgb(153, 0, 0)" size="1">---<br>SKYPE: roger.pitigliani<br>MSN: <a href="mailto:roger@ibgrava.com.br" target="_blank">roger@ibgrava.com.br</a></font><br>
<br><br><br><br><br><br><br><div class="gmail_quote">Em 13 de junho de 2011 20:24, Oswaldo Galdino de Aguiar Junior <span dir="ltr"><<a href="mailto:oswaldojr@multtectelecom.com.br">oswaldojr@multtectelecom.com.br</a>></span> escreveu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div link="blue" vlink="purple" lang="PT-BR"><div><p class="MsoNormal"><span style="font-size:12.0pt">Boa noite pessoal,</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span></p><p class="MsoNormal"><span style="font-size:12.0pt">Estou com um problema estranho, estou rodando o Elastix 1.6 em um p4 com 1Gb de Ram hd de 80 IDE e uma placa TDM1600P 8FXO/8FXS e um roteador simples D-LINK DI-524.</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span></p><p class="MsoNormal"><span style="font-size:12.0pt">Bom quando tiro o cabo da internet do roteador, não sei pq o asterisk trava, os ramais analógicos só dão tom, os ip ficam registrados mas não discam para lugar algum.</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span></p><p class="MsoNormal"><span style="font-size:12.0pt">Não entendi o pq disso, percebi que toda a hora que disco para algum lugar na CLI do asterisk me aparece isto:</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US">-- AGI Script dialparties.agi completed, returning 0</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-dial:7] Dial("SIP/28-085c3da0", "SIP/27|22|trM(auto-blkvm)") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Called 27</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- SIP/27-0861dd60 is ringing</span></p><p class="MsoNormal">
<span style="font-size:12.0pt" lang="EN-US"> == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/28-085c3da0' in macro 'dial'</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == Spawn extension (from-internal, 27, 16) exited non-zero on 'SIP/28-085c3da0'</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [h@macro-dial:1] Macro("SIP/28-085c3da0", "hangupcall") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-hangupcall:1] GotoIf("SIP/28-085c3da0", "1?skiprg") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Goto (macro-hangupcall,s,4)</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-hangupcall:4] GotoIf("SIP/28-085c3da0", "0?skipblkvm") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-hangupcall:5] NoOp("SIP/28-085c3da0", "Cleaning Up Block VM Flag: BLKVM/27/SIP/28-085c3da0") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-hangupcall:6] DBdel("SIP/28-085c3da0", "BLKVM/27/SIP/28-085c3da0") in new stack</span></p><p class="MsoNormal">
<span style="font-size:12.0pt" lang="EN-US"> -- DBdel: family=BLKVM, key=27/SIP/28-085c3da0</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-hangupcall:7] GotoIf("SIP/28-085c3da0", "1?theend") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Goto (macro-hangupcall,s,9)</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-hangupcall:9] Hangup("SIP/28-085c3da0", "") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/28-085c3da0' in macro 'hangupcall'</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == Spawn extension (macro-dial, h, 1) exited non-zero on 'SIP/28-085c3da0'</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == End MixMonitor Recording SIP/28-085c3da0</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:1] GotoIf("SIP/28-085c3da0", "0?ext-local|27|1") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:2] Macro("SIP/28-085c3da0", "user-callerid|") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-user-callerid:1] Set("SIP/28-085c3da0", "AMPUSER=28") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-user-callerid:2] GotoIf("SIP/28-085c3da0", "0?report") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-user-callerid:3] ExecIf("SIP/28-085c3da0", "1|Set|REALCALLERIDNUM=28") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-user-callerid:4] Set("SIP/28-085c3da0", "AMPUSER=28") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-user-callerid:5] Set("SIP/28-085c3da0", "AMPUSERCIDNAME=Valmir") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-user-callerid:6] GotoIf("SIP/28-085c3da0", "0?report") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-user-callerid:7] Set("SIP/28-085c3da0", "AMPUSERCID=28") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-user-callerid:8] Set("SIP/28-085c3da0", "CALLERID(all)="Valmir" <28>") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-user-callerid:9] ExecIf("SIP/28-085c3da0", "0|Set|CHANNEL(language)=") in new stack</span></p><p class="MsoNormal">
<span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-user-callerid:10] GotoIf("SIP/28-085c3da0", "0?continue") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-user-callerid:11] Set("SIP/28-085c3da0", "__TTL=64") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-user-callerid:12] GotoIf("SIP/28-085c3da0", "1?continue") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Goto (macro-user-callerid,s,19)</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-user-callerid:19] NoOp("SIP/28-085c3da0", "Using CallerID "Valmir" <28>") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:3] GotoIf("SIP/28-085c3da0", "1?skipdb") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Goto (from-internal,27,5)</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:5] Set("SIP/28-085c3da0", "__NODEST=") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:6] Set("SIP/28-085c3da0", "__BLKVM_OVERRIDE=BLKVM/27/SIP/28-085c3da0") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:7] Set("SIP/28-085c3da0", "__BLKVM_BASE=27") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:8] Set("SIP/28-085c3da0", "DB(BLKVM/27/SIP/28-085c3da0)=TRUE") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:9] Set("SIP/28-085c3da0", "RRNODEST=") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:10] Set("SIP/28-085c3da0", "__NODEST=27") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:11] Set("SIP/28-085c3da0", "RecordMethod=Group") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:12] Macro("SIP/28-085c3da0", "record-enable|27|Group") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-record-enable:1] GotoIf("SIP/28-085c3da0", "1?check") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Goto (macro-record-enable,s,4)</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-record-enable:4] AGI("SIP/28-085c3da0", "recordingcheck|20110613-202125|1308007285.14") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> recordingcheck|20110613-202125|1308007285.14: Recording enable for 27</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> recordingcheck|20110613-202125|1308007285.14: CALLFILENAME=g27-20110613-202125-1308007285.14</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- AGI Script recordingcheck completed, returning 0</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-record-enable:999] MixMonitor("SIP/28-085c3da0", "g27-20110613-202125-1308007285.14.wav||") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:13] Set("SIP/28-085c3da0", "RingGroupMethod=ringallv2") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:14] Set("SIP/28-085c3da0", "_FMGRP=27") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:15] GotoIf("SIP/28-085c3da0", "0?doconfirm") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [27@from-internal:16] Macro("SIP/28-085c3da0", "dial|20|tr|27") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-dial:1] GotoIf("SIP/28-085c3da0", "1?dial") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Goto (macro-dial,s,3)</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-dial:3] AGI("SIP/28-085c3da0", "dialparties.agi") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == Begin MixMonitor Recording SIP/28-085c3da0</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> dialparties.agi: Starting New Dialparties.agi</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == Parsing '/etc/asterisk/manager.conf': Found</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == Parsing '/etc/asterisk/manager_additional.conf': Found</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == Parsing '/etc/asterisk/manager_custom.conf': Found</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == Manager 'admin' logged on from 127.0.0.1</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> dialparties.agi: Caller ID name is 'Valmir' number is '28'</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> dialparties.agi: Methodology of ring is 'ringallv2'</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- dialparties.agi: Added extension 27 to extension map</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- dialparties.agi: Extension 27 cf is disabled</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- dialparties.agi: Extension 27 do not disturb is disabled</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> dialparties.agi: ExtensionState: 0</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> dialparties.agi: Extension 27 has ExtensionState: 0</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- dialparties.agi: Checking CW and CFB status for extension 27</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- dialparties.agi: dbset CALLTRACE/27 to 28</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- dialparties.agi: Filtered ARG3: 27</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == Manager 'admin' logged off from 127.0.0.1</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- AGI Script dialparties.agi completed, returning 0</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-dial:7] Dial("SIP/28-085c3da0", "SIP/27|22|trM(auto-blkvm)") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Called 27</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- SIP/27-0861f598 is ringing</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- SIP/27-0861f598 answered SIP/28-085c3da0</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-auto-blkvm:1] Set("SIP/27-0861f598", "__MACRO_RESULT=") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-auto-blkvm:2] DBdel("SIP/27-0861f598", "BLKVM/27/SIP/28-085c3da0") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- DBdel: family=BLKVM, key=27/SIP/28-085c3da0</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [h@macro-dial:1] Macro("SIP/28-085c3da0", "hangupcall") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-hangupcall:1] GotoIf("SIP/28-085c3da0", "1?skiprg") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Goto (macro-hangupcall,s,4)</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-hangupcall:4] GotoIf("SIP/28-085c3da0", "0?skipblkvm") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-hangupcall:5] NoOp("SIP/28-085c3da0", "Cleaning Up Block VM Flag: BLKVM/27/SIP/28-085c3da0") in new stack</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-hangupcall:6] DBdel("SIP/28-085c3da0", "BLKVM/27/SIP/28-085c3da0") in new stack</span></p><p class="MsoNormal">
<span style="font-size:12.0pt" lang="EN-US"> -- DBdel: family=BLKVM, key=27/SIP/28-085c3da0</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- DBdel: Error deleting key from database.</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-hangupcall:7] GotoIf("SIP/28-085c3da0", "1?theend") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Goto (macro-hangupcall,s,9)</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> -- Executing [s@macro-hangupcall:9] Hangup("SIP/28-085c3da0", "") in new stack</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/28-085c3da0' in macro 'hangupcall'</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == Spawn h extension (macro-dial, h, 1) exited non-zero on 'SIP/28-085c3da0'</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/28-085c3da0' in macro 'dial'</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> == Spawn extension (from-internal, 27, 16) exited non-zero on 'SIP/28-085c3da0'</span></p><p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"> </span><span style="font-size:12.0pt">== MixMonitor close filestream</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> == End MixMonitor Recording SIP/28-085c3da0</span></p><p class="MsoNormal"><span style="font-size:12.0pt"> </span></p><p class="MsoNormal"><span style="font-size:12.0pt">O AGI SCRIPT entra toda hora, quando tiro o cabo do modem do roteador o asterisk fica dando toda hora o tal Script AGI, o que seria isto?</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span></p><p class="MsoNormal"><span style="font-size:12.0pt">Agradeço a atenção dos senhores!</span></p><p class="MsoNormal"><span style="font-size:12.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Aguardo!</span></p><p class="MsoNormal"><span style="font-size:12.0pt"> </span></p><p class="MsoNormal"><span style="font-size:12.0pt"> </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>
DIGIVOICE: Lider no mercado de placas para Asterisk<br>
Único fabricante com Centro de Treinamento especializado.<br>
LANÇAMENTO: Channel Bank TDMoE, até 64 canais FXS / FXO.<br>
<a href="http://www.digivoice.com.br" target="_blank">www.digivoice.com.br</a> ou (11)3016-5200.<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>
______________________________________________<br>
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br></blockquote></div>
<br><br clear="all"><br><br>