[AsteriskBrasil] Problemas com registro

Vanessa Rodrigues da Silva vrsilva em gmail.com
Segunda Outubro 15 08:07:34 BRT 2007


Olá Pessoal,

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.

Alguma idéia do que poderia fazer?? Muito Obrigada desde já !

(preservei apenas a secret)

/etc/asterisk# cat sip.conf

[general]
port=5060
bindaddr=10.16.144.200
context=default
disallow=all
allow=ulaw
allow=gsm

register=872283:XXXXXX em servertelecom.com

[400]
type=friend
secret=400
dtmfmode=rfc2833
host=dynamic

[401]
type=friend
secret=401
dtmfmode=rfc2833
host=dynamic


[872283]
type=friend
username=872283
accountcode=872283
regexten=872283
callerid=108416
secret=XXXXXXX
nat=yes
dtmfmode=RFC2833
qualify=yes
canreinvite=no
disallow=all
allow=g729
allow=gsm
allow=ulaw
allow=alaw
host=dynamic
context=seu_contexto
regseconds=0
cancallforward=yes

ERRO NO CLI

[Oct 15 08:59:37] NOTICE[11833]: chan_sip.c:7326 sip_reg_timeout:    --
Registration for '872283 em servertelecom.com' timed out, trying again (Attempt
#22)
CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port
Status
872283/872283              (Unspecified)    D   N      0
UNKNOWN
401                        (Unspecified)    D          0
Unmonitored
400                        (Unspecified)    D          0
Unmonitored
3 sip peers [Monitored: 0 online, 1 offline Unmonitored: 0 online, 2
offline]
CLI>

nmap 10.16.144.200

Starting Nmap 4.20 ( http://insecure.org ) at 2007-10-15 08:02 BRT
Interesting ports on 10.16.144.200:
Not shown: 1689 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
25/tcp   open  smtp
80/tcp   open  http
111/tcp  open  rpcbind
113/tcp  open  auth
199/tcp  open  smux
655/tcp  open  unknown
2000/tcp open  callbook


traceroute servertelecom.com

traceroute to servertelecom.com (66.246.246.75), 30 hops max, 38 byte
packets
 1  200.170.201.1 (200.170.201.1)  0.667 ms  0.725 ms  0.883 ms
 2  200.201.131.76 (200.201.131.76)  98.304 ms  0.886 ms  0.767 ms
 3  host161.200.62.0.ifxcorp.com (200.62.1.161)  110.550 ms  109.858 ms
110.730 ms
 4  so-0-1-3.mia11.ip.tiscali.net (213.200.84.53)  110.047 ms  111.875 ms
109.764 ms
 5  so-6-1-0.was10.ip.tiscali.net (89.149.186.54)  139.962 ms  151.802 ms
so-1-0-0.was10.ip.tiscali.net (213.200.80.114)  140.548 ms
 6  213.200.66.98 (213.200.66.98)  139.480 ms  162.780 ms  139.733 ms
 7  nyk-bb2-pos0-3-0.telia.net (213.248.80.137)  138.807 ms
nyk-bb1-link.telia.net (213.248.83.21)  2456.485 ms
nyk-bb1-pos7-1-0.telia.net (213.248.80.70)  138.215 ms
 8  nyk-b3-link.telia.net (213.248.82.10)  141.963 ms  142.351 ms
nyk-b3-pos1-0-0.telia.net (213.248.82.18)  138.429 ms
 9  netacces-ic-121243-nyk-b3.c.telia.net (213.248.68.82)  835.333 ms
527.836 ms  911.840 ms
10  12.ae0.gbr1.tl9.nac.net (209.123.11.71)  912.537 ms  650.936 ms  139.611ms
11  0.so-5-0-0.gbr1.mmu.nac.net (209.123.11.53)  144.248 ms  141.680 ms
142.170 ms
12  615283.ds.nac.net (66.246.246.75)  140.860 ms  142.005 ms  141.125 ms

/etc/asterisk# ping servertelecom.com
PING servertelecom.com (66.246.246.75) 56(84) bytes of data.
64 bytes from 615283.ds.nac.net (66.246.246.75): icmp_seq=1 ttl=50 time=139
ms
64 bytes from 615283.ds.nac.net (66.246.246.75): icmp_seq=2 ttl=50 time=141
ms
64 bytes from 615283.ds.nac.net (66.246.246.75): icmp_seq=3 ttl=50 time=140
ms
64 bytes from 615283.ds.nac.net (66.246.246.75): icmp_seq=4 ttl=50 time=143
ms

--- servertelecom.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/mdev = 139.961/141.376/143.701/1.406 ms
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20071015/263675d7/attachment-0001.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil