<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 http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
span.EstiloDeEmail18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@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;mso-fareast-language:EN-US'>Saudações galera.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Vamos lá.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Esse problema de DNS é nosso pesadelo para quem usa host remoto baseado em DNS não???<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Isso pode ser “resolvido” (ou apenas minimizado???) utilizando um cache de DNS.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Partindo do principio de ser um SO com CentOS, segue abaixo como fazer:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Yum install bind caching-nameserver<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Após instalar o bind, vamos fazê-lo subir no boot do servidor:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>chkconfig named on<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>service named restart<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Ok, temos o servidor de DNS ativado, mas ainda precisamos ativar o dns cache. Vamos lá:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Use seu editor de textos favorito e edite o arquivo <b>/etc/named.caching-nameserver.conf</b><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Após a linha   ......   <b>memstatistics-file &quot;/var/named/data/named_mem_stats.txt&quot;;</b>  adicione o seguinte:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>        <span style='background:silver;mso-highlight:silver'>forwarders { 8.8.8.8; 8.8.4.4; }; //Atente-se aos ponto-e-vírgula pois se errar, o named não starta</span><o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Note que usei DNS do Google, mas você pode adicionar mais DNS usando a notação de DNS SERVER seguido de ;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Após isso, você deve alterar o seu <b>/etc/resolv.conf </b>da seguinte forma:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>nameserver 127.0.0.1<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Note que o resolv.conf aponta única e exclusivamente para localhost, pois aqui faremos todas as consultas e manteremos em cache.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>PS: Se você usa algum cliente para obter o ip da maquina via dhcp, por exemplo <b>dhcp-client</b>, lembre-se de desativar a opção de sobreescrever o resolve.conf (<b>USEDNS=NO</b>);<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Após isso, vamos reiniciar o cache do DNS:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>service named restart<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>rndc flush<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>rndc reload<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Após reinicie seu Asterisk, e faça os testes de consulta de DNS (usando DIG, nslookup ou qualquer outra ferramenta)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Espero ter ajudado.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Atenciosamente,<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-family:"Calibri","sans-serif";color:#2F5496'>Fernando da Silva Santos<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>CEO</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'> – Chief Executive Officer<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>NextBilling IP Solutions<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'><o:p>&nbsp;</o:p></span></b></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>SP: </span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>+55 (11) 3522-9200<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>RJ: </span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>+55 (21) 4063-8854<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'>Tollfree:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'> 0800 580-9200<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#2F5496'><a href="http://www.nextbilling.com.br/"><span style='color:#0563C1'>http://www.nextbilling.com.br</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>De:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> asteriskbrasil-bounces@listas.asteriskbrasil.org [mailto:asteriskbrasil-bounces@listas.asteriskbrasil.org] <b>Em nome de </b>Felippe<br><b>Enviada em:</b> segunda-feira, 17 de junho de 2013 09:24<br><b>Para:</b> asteriskbrasil@listas.asteriskbrasil.org<br><b>Assunto:</b> Re: [AsteriskBrasil] Problemas Vono + Register + DNS Named/bind<o:p></o:p></span></p><p class=MsoNormal style='margin-left:35.4pt'><o:p>&nbsp;</o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt'>opa.<br><br><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>Então, ate tentar mas se conectar pelo ip a vono rejeita!<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>201.86.87.35:5060 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; N &nbsp; &nbsp; &nbsp;conta-vono 120 <strong>Rejected</strong><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>Obg<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>&nbsp;<o:p></o:p></p></div><div class=MsoNormal align=center style='margin-left:35.4pt;text-align:center'><hr size=2 width="100%" align=center></div><div><p class=MsoNormal style='margin-left:35.4pt'>Em 17/06/2013 09:17, <strong>Willian Morais &lt; <a href="mailto:williandmorais@gmail.com"><span style='font-weight:normal'>williandmorais@gmail.com</span></a> &gt;</strong> escreveu:<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>Felippe, <o:p></o:p></p><div><p class=MsoNormal style='margin-left:35.4pt'>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>Já ví esse problema acontecer... o Asterisk não consegue atualizar automaticamente contas que forem cadastradas utilizando DNS (<a href="http://vono.net.br" target="_blank">vono.net.br</a>). Somente como você mencionou, utilizando &quot;sip reload&quot;.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>Tenta cadastrar utilizando IP, ou criar um script que faça o &quot;sip reload&quot; quando seu link cair.<o:p></o:p></p></div></div><div><p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt'><o:p>&nbsp;</o:p></p><div><p class=MsoNormal style='margin-left:35.4pt'>Em 17 de junho de 2013 08:49, Felippe &lt;<a href="../../../undefined/compose?to=alcaponefelippe@bol.com.br" target="_blank">alcaponefelippe@bol.com.br</a>&gt; escreveu:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><p class=MsoNormal style='margin-left:35.4pt'>&nbsp;<o:p></o:p></p></div><div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>Pessoal,</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>bom dia.</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>Por favor, quem puder dar dicas agradeço!</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>Tem mais ou menos uns 8 meses que estou &quot;pelejando&quot; com uma conta vono que tenho no servidor CentOS 6.3 kernel&nbsp;2.6.32-279.5.1.el6.i686&nbsp;(fire desativado) porem atras de outro fire que esta liberando todas as saídas tcp/ip e entrada 5060, 1571, 10000-20000, 2345,&nbsp;</span><span style='font-size:8.5pt;font-family:"Tahoma","sans-serif"'>8000 - 65000, 22</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Arial","sans-serif";color:#222222'>&nbsp;<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;&nbsp;<strong><span style='font-family:"Courier New"'>1 - PROBLEMA</span></strong></span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><strong><span style='font-family:"Courier New";color:#222222'>&nbsp;</span></strong><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp; Qndo o link de internet cai, e retorna, a conta não registra. Tenho que realizar um sip reload ou mesmo restartar o asterisk. No sip.conf não tenho nada mais referente a timeout ou re-register pois havia ativado alguns e não surtiu efeito. Abaixo:</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>;registerattempts=1200</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>;registertimeout= 360</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>;externrefresh = 360</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>;defaultexpirey=1200</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>;maxexpirey=1200</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Arial","sans-serif";color:#222222'>&nbsp;<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Arial","sans-serif";color:#222222'>&nbsp;<o:p></o:p></span></p></div></div><div><p class=MsoNormal style='margin-left:35.4pt'><strong><span style='font-family:"Courier New";color:#222222'>&nbsp; 2 - PROBLEMA</span></strong><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><strong><span style='font-family:"Courier New";color:#222222'>&nbsp;</span></strong><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><strong><span style='font-family:"Courier New";color:#222222'>&nbsp;&nbsp;</span></strong><span style='font-family:"Courier New";color:#222222'>Há um problema com o dns que não consigo descobrir. Instalei o bind/named com yum do CentOS. Não realizei modificações em suas configurações. Apenas coloquei no resolv.conf o ip de loopback:</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>[root@ipbx ~]# vim /etc/resolv.conf</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>nameserver 127.0.0.1</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>nameserver 192.168.218.120</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>nameserver 8.8.8.8</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Arial","sans-serif";color:#222222'>&nbsp;<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp; &nbsp; O grande problema eh que as vezes a conta vono desconecta, vou verificar o motivo e de cara ja vejo o ping elevadíssimo e até mesmo perdendo pacotes. Mas não eh nada na internet e sim com o named. Quando dou um stop nele tudo volta ao normal. O problema eh que não posso deixa-lo parado pois se a internet parar o asterisk fica down (aquele velho problema do dns).&nbsp;</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Arial","sans-serif";color:#222222'>&nbsp;<o:p></o:p></span></p></div></div><div><p class=MsoNormal style='margin-left:35.4pt'><strong><span style='font-family:"Courier New";color:#222222'>PING COM O NAMED START</span></strong><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><strong><span style='font-family:"Courier New";color:#222222'>&nbsp;</span></strong><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>[root@ipbx ~]# /etc/init.d/named start</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>Iniciando o named: &nbsp; &nbsp; [ &nbsp;OK &nbsp;]</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>[root@ipbx ~]# ping <a href="http://vono.net.br" target="_blank">vono.net.br</a></span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>PING <a href="http://vono.net.br" target="_blank">vono.net.br</a> (201.86.87.35) 56(84) bytes of data.</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=1 ttl=55 time=1809.6 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=2 ttl=55 time=1551.3 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=3 ttl=55 time=1110.0 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=4 ttl=55 time=1138.8 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=5 ttl=55 time=1319.7 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=6 ttl=55 time=18379.8 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=7 ttl=55 time=1149.9 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=8 ttl=55 time=1210.1 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=9 ttl=55 time=1118.8 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=10 ttl=55 time=1119.0 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><strong><span style='font-family:"Courier New";color:#222222'>PING COM O NAMED STOP</span></strong><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>[root@ipbx ~]# /etc/init.d/named stop</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>Parando o named: &nbsp; &nbsp;[ &nbsp;OK &nbsp;]</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>[root@ipbx ~]# ping <a href="http://vono.net.br" target="_blank">vono.net.br</a></span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>PING <a href="http://vono.net.br" target="_blank">vono.net.br</a> (201.86.87.35) 56(84) bytes of data. &nbsp; (Aqui ele demora uns 10 segundos para começar a pingar)</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=1 ttl=55 time=19.8 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=2 ttl=55 time=18.7 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=3 ttl=55 time=18.8 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=4 ttl=55 time=19.0 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>64 bytes from <a href="http://201.86.87.35.sbc.static.gvt.net.br" target="_blank">201.86.87.35.sbc.static.gvt.net.br</a> (201.86.87.35): icmp_seq=5 ttl=55 time=17.8 ms</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp; Agora restartei o servidor, desativei o bind/named e realizei pings, abri as confs mas nao alterei nada e apos 10 minutos voltou o ping normal mesmo com o named ativado.</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp; &nbsp;<strong><span style='font-family:"Courier New"'>4 - PROBLEMA</span></strong></span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp; &nbsp;Nessas horas o named esta ativo, o ping para o vono ok porem a conta não registra de forma alguma:</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='color:#222222'>ipbx*CLI&gt; sip show registry</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='color:#222222'>Host &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dnsmgr Username &nbsp; &nbsp; &nbsp; Refresh State &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Reg.Time</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='color:#222222'><a href="http://vono.net.br:5060" target="_blank">vono.net.br:5060</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N &nbsp; &nbsp; &nbsp;conta-vono &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;120 Request Sent</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp; &nbsp;Se eu para o named e resart o asterisk a conta registra. Se restartar o asterisk com o named ativo não registra.</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp; &nbsp;Vale lembrar que tem dias que tudo funciona normal, named ativo, vono registrada, etc..&nbsp;</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp; &nbsp;Selinux esta desabilitado.</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;<o:p></o:p></span></p></div></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp; &nbsp;Alguem possui alguma dica? Vale tudo, menos mandar eu instalar outra distro hehe. &nbsp;Servidor em PRD.</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Arial","sans-serif";color:#222222'>&nbsp;<o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp; &nbsp;Obrigado.</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div><div><p class=MsoNormal style='margin-left:35.4pt'><span style='font-family:"Courier New";color:#222222'>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Felippe.</span><span style='font-family:"Arial","sans-serif";color:#222222'><o:p></o:p></span></p></div></div><p class=MsoNormal style='margin-left:35.4pt'><br>_______________________________________________<br>KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;<br>Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;<br>Intercomunicadores para acesso remoto via rede IP. Conheça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>_______________________________________________<br>ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.<br>Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br>Channel Bank – Appliance Asterisk - Acesse <a href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.<br>_______________________________________________<br>Para remover seu email desta lista, basta enviar um email em branco para <a href="../../../undefined/compose?to=asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><o:p></o:p></p></blockquote></div><p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:35.4pt'><o:p>&nbsp;</o:p></p><div><p class=MsoNormal style='margin-left:35.4pt'>&nbsp;<o:p></o:p></p></div><p class=MsoNormal style='margin-left:35.4pt'>-- <o:p></o:p></p><div><p class=MsoNormal style='margin-left:35.4pt'>Willian de Morais <o:p></o:p></p><div><p class=MsoNormal style='margin-left:35.4pt'>Cel: (48) 8811-9660<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:35.4pt'>Gtalk:&nbsp;<a href="../../../undefined/compose?to=williandmorais@gmail.com" target="_blank">williandmorais@gmail.com</a><o:p></o:p></p></div></div></div><div><p class=MsoNormal style='margin-left:35.4pt'>&nbsp;<o:p></o:p></p></div></div></body></html>