<span class="ppt" id="_user_asteriskbrasil@listas.asteriskbrasil.org">Olá Pessoal,<br><br>Ao tentar o registro em qualquer provedor Sip, tenho o erro de time out no CLI do asterisk. A configuração abaixo foi retirada do próprio site da Plugfone. Consigo pingar o servidor servertelecom normalmente. Abaixo o arquivo
sip.conf e testes de conexão. <br><br>Alguma idéia do que poderia fazer?? Muito Obrigada desde já !<br><br>(preservei apenas a secret)<br><br>/etc/asterisk# cat sip.conf<br><br>[general]<br>port=5060<br>bindaddr=<a href="http://10.16.144.200">
10.16.144.200</a><br>context=default<br>disallow=all<br>allow=ulaw<br>allow=gsm<br><br>register=<a href="mailto:872283:XXXXXX@servertelecom.com">872283:XXXXXX@servertelecom.com</a><br><br>[400]<br>type=friend<br>secret=400
<br>dtmfmode=rfc2833<br>host=dynamic<br><br>[401]<br>type=friend<br>secret=401<br>dtmfmode=rfc2833<br>host=dynamic<br><br><br>[872283]<br>type=friend<br>username=872283<br>accountcode=872283<br>regexten=872283<br>callerid=108416
<br>secret=XXXXXXX<br>nat=yes<br>dtmfmode=RFC2833<br>qualify=yes<br>canreinvite=no<br>disallow=all<br>allow=g729<br>allow=gsm<br>allow=ulaw<br>allow=alaw<br>host=dynamic<br>context=seu_contexto<br>regseconds=0<br>cancallforward=yes
<br><br>ERRO NO CLI<br><br>[Oct 15 08:59:37] NOTICE[11833]: chan_sip.c:7326 sip_reg_timeout: -- Registration for '<a href="mailto:872283@servertelecom.com">872283@servertelecom.com</a>' timed out, trying again (Attempt #22)
<br>CLI> sip show peers<br>Name/username Host Dyn Nat ACL Port Status <br>872283/872283 (Unspecified) D N 0 UNKNOWN <br>401 (Unspecified) D 0 Unmonitored
<br>400 (Unspecified) D 0 Unmonitored <br>3 sip peers [Monitored: 0 online, 1 offline Unmonitored: 0 online, 2 offline]<br>CLI><br><br>nmap <a href="http://10.16.144.200">
10.16.144.200</a><br><br>Starting Nmap 4.20 ( <a href="http://insecure.org">http://insecure.org</a> ) at 2007-10-15 08:02 BRT<br>Interesting ports on <a href="http://10.16.144.200">10.16.144.200</a>:<br>Not shown: 1689 closed ports
<br>PORT STATE SERVICE<br>22/tcp open ssh<br>25/tcp open smtp<br>80/tcp open http<br>111/tcp open rpcbind<br>113/tcp open auth<br>199/tcp open smux<br>655/tcp open unknown<br>2000/tcp open callbook<br>
<br><br>traceroute <a href="http://servertelecom.com">servertelecom.com</a><br><br>traceroute to <a href="http://servertelecom.com">servertelecom.com</a> (<a href="http://66.246.246.75">66.246.246.75</a>), 30 hops max, 38 byte packets
<br> 1 <a href="http://200.170.201.1">200.170.201.1</a> (<a href="http://200.170.201.1">200.170.201.1</a>) 0.667 ms 0.725 ms 0.883 ms<br> 2 <a href="http://200.201.131.76">200.201.131.76</a> (<a href="http://200.201.131.76">
200.201.131.76</a>) 98.304 ms 0.886 ms 0.767 ms<br> 3 <a href="http://host161.200.62.0.ifxcorp.com">host161.200.62.0.ifxcorp.com</a> (<a href="http://200.62.1.161">200.62.1.161</a>) 110.550 ms 109.858 ms 110.730 ms
<br> 4 <a href="http://so-0-1-3.mia11.ip.tiscali.net">so-0-1-3.mia11.ip.tiscali.net</a> (<a href="http://213.200.84.53">213.200.84.53</a>) 110.047 ms 111.875 ms 109.764 ms<br> 5 <a href="http://so-6-1-0.was10.ip.tiscali.net">
so-6-1-0.was10.ip.tiscali.net</a> (<a href="http://89.149.186.54">89.149.186.54</a>) 139.962 ms 151.802 ms <a href="http://so-1-0-0.was10.ip.tiscali.net">so-1-0-0.was10.ip.tiscali.net</a> (<a href="http://213.200.80.114">
213.200.80.114</a>) 140.548 ms<br> 6 <a href="http://213.200.66.98">213.200.66.98</a> (<a href="http://213.200.66.98">213.200.66.98</a>) 139.480 ms 162.780 ms 139.733 ms<br> 7 <a href="http://nyk-bb2-pos0-3-0.telia.net">
nyk-bb2-pos0-3-0.telia.net</a> (<a href="http://213.248.80.137">213.248.80.137</a>) 138.807 ms <a href="http://nyk-bb1-link.telia.net">nyk-bb1-link.telia.net</a> (<a href="http://213.248.83.21">213.248.83.21</a>) 2456.485
ms <a href="http://nyk-bb1-pos7-1-0.telia.net">nyk-bb1-pos7-1-0.telia.net</a> (<a href="http://213.248.80.70">213.248.80.70</a>) 138.215 ms<br> 8 <a href="http://nyk-b3-link.telia.net">nyk-b3-link.telia.net</a> (<a href="http://213.248.82.10">
213.248.82.10</a>) 141.963 ms 142.351 ms <a href="http://nyk-b3-pos1-0-0.telia.net">nyk-b3-pos1-0-0.telia.net</a> (<a href="http://213.248.82.18">213.248.82.18</a>) 138.429 ms<br> 9 <a href="http://netacces-ic-121243-nyk-b3.c.telia.net">
netacces-ic-121243-nyk-b3.c.telia.net</a> (<a href="http://213.248.68.82">213.248.68.82</a>) 835.333 ms 527.836 ms 911.840 ms<br>10 <a href="http://12.ae0.gbr1.tl9.nac.net">12.ae0.gbr1.tl9.nac.net</a> (<a href="http://209.123.11.71">
209.123.11.71</a>) 912.537 ms 650.936 ms 139.611 ms<br>11 <a href="http://0.so-5-0-0.gbr1.mmu.nac.net">0.so-5-0-0.gbr1.mmu.nac.net</a> (<a href="http://209.123.11.53">209.123.11.53</a>) 144.248 ms 141.680 ms 142.170
ms<br>12 <a href="http://615283.ds.nac.net">615283.ds.nac.net</a> (<a href="http://66.246.246.75">66.246.246.75</a>) 140.860 ms 142.005 ms 141.125 ms<br><br>/etc/asterisk# ping <a href="http://servertelecom.com">servertelecom.com
</a><br>PING <a href="http://servertelecom.com">servertelecom.com</a> (<a href="http://66.246.246.75">66.246.246.75</a>) 56(84) bytes of data.<br>64 bytes from <a href="http://615283.ds.nac.net">615283.ds.nac.net</a> (<a href="http://66.246.246.75">
66.246.246.75</a>): icmp_seq=1 ttl=50 time=139 ms<br>64 bytes from <a href="http://615283.ds.nac.net">615283.ds.nac.net</a> (<a href="http://66.246.246.75">66.246.246.75</a>): icmp_seq=2 ttl=50 time=141 ms<br>64 bytes from
<a href="http://615283.ds.nac.net">615283.ds.nac.net</a> (<a href="http://66.246.246.75">66.246.246.75</a>): icmp_seq=3 ttl=50 time=140 ms<br>64 bytes from <a href="http://615283.ds.nac.net">615283.ds.nac.net</a> (<a href="http://66.246.246.75">
66.246.246.75</a>): icmp_seq=4 ttl=50 time=143 ms<br><br>--- <a href="http://servertelecom.com">servertelecom.com</a> ping statistics ---<br>4 packets transmitted, 4 received, 0% packet loss, time 3002ms<br>rtt min/avg/max/mdev =
139.961/141.376/143.701/1.406 ms<br><br><br><br><br><br></span>