Olá,<br>Sou novo aqui, se puderem me ajudar desde já agradeço.<br>Não estou conseguindo registrar usuarios no servidor asterisk.<br>Criei no arquivo sip.conf as contas<br><br><div class="container" title="Hint: double-click to select code">
<div class="line number1 index0 alt2"><font size="2"><code class="java plain">[demo-alice]</code></font></div><div class="line number2 index1 alt1"><font size="2"><code class="java plain">type=friend</code></font></div><div class="line number3 index2 alt2">
<font size="2"><code class="java plain">host=dynamic</code></font></div><div class="line number4 index3 alt1"><font size="2"><code class="java plain">secret=minhasenha ; put a strong, unique password here instead</code></font></div>
<div class="line number5 index4 alt2"><font size="2"><code class="java plain">context=users</code></font></div><div class="line number6 index5 alt1"><font size="2"><code class="java plain">deny=</code><code class="java value">0.0</code><code class="java plain">.</code><code class="java value">0.0</code><code class="java plain">/</code><code class="java value">0</code></font></div>
<div class="line number7 index6 alt2"><font size="2"><code class="java plain">permit=</code><code class="java value">192.168</code><code class="java plain">.</code><code class="java value">155.0</code><code class="java plain">/</code><code class="java value">255.255</code><code class="java plain">.</code><code class="java value">255.0</code> <code class="java plain">; replace with your network settings</code></font></div>
<div class="line number8 index7 alt1"><font size="2"> </font></div><div class="line number9 index8 alt2"><font size="2"><code class="java plain">[demo-bob]</code></font></div><div class="line number10 index9 alt1"><font size="2"><code class="java plain">type=friend</code></font></div>
<div class="line number11 index10 alt2"><font size="2"><code class="java plain">host=dynamic</code></font></div><div class="line number12 index11 alt1"><font size="2"><code class="java plain">secret=minhasenha ; put a strong, unique password here instead</code></font></div>
<div class="line number13 index12 alt2"><font size="2"><code class="java plain">context=users</code></font></div><div class="line number14 index13 alt1"><font size="2"><code class="java plain">deny=</code><code class="java value">0.0</code><code class="java plain">.</code><code class="java value">0.0</code><code class="java plain">/</code><code class="java value">0</code></font></div>
<div class="line number15 index14 alt2"><font size="2"><code class="java plain">permit=</code><code class="java value">192.168</code><code class="java plain">.15</code><code class="java value">5.0</code><code class="java plain">/</code><code class="java value">255.255</code><code class="java plain">.</code><code class="java value">255.0</code> <code class="java plain">; replace with your network settings</code></font></div>
</div><br clear="all">ai no X-lite to configurando<br>Account name: demo-bob<br>User ID: demo-bob<br>Domain: 192.168.155.202 (IP do meu servidor asterisk)<br>Password: minhasenha<br><br>So que não valida conexão, da a seguinte saída no x-lite <br>
"Account failed to enable<br>Account: demo-bob could not be enable.<br>Problem at server (SIP error 408). Try again later"<br><br>O asterisk esta instalado no CentOS 6<br>liberei a porta 5060 (-A INPUT -p udp -m udp --dport 5060 -j ACCEPT) não sei se é dessa forma.<br>
<br>Muito Obrigado denovo!<br><br>Atenciosamente<div>Gabriel Cezar de Almeida <br></div><br>