[AsteriskBrasil] Problemas com registro
Lucas Silva
lucas.silva em gmail.com
Quarta Outubro 17 14:09:56 BRT 2007
Meu amigo, não fale e não dê opnião do que você não sabe fazer por
favor. Vamos contribuir e não atrapalhar ok.
Olha só um funcionando 100%
SIP.CONF
register => 3486942:xxxxxxxx em VF3/3486942
register => lucasfs:xxxxxxxx em VONO/lucasfs
[VF3]
accountcode=VF3
type=friend
dynamic=yes
username=3486942
fromuser=3486942
authname=3486942
user=3486942
secret=senha
host=208.239.76.170
fromdomain=208.239.76.170
disallow=all
allow=g729
dtmfmode=rfc2833
dtmf=inband
canreinvite=no
context=in-VF3
qualify=yes
nat=yes
[VONO]
accountcode=VONO
type=friend
dynamic=yes
username=lucasfs
fromuser=lucasfs
authname=lucasfs
user=lucasfs
secret=senha
host=vono.net.br
fromdomain=vono.net.br
outboundproxy=vono.net.br
insecure=very
disallow=all
allow=g729
allow=ulaw
allow=gsm
dtmfmode=rfc2833
dtmf=inband
canreinvite=no
context=VONO
qualify=yes
nat=yes
-----
Connected to Asterisk 1.4.2 currently running on voip (pid = 11511)
-- Remote UNIX connection
Verbosity is at least 8
voip*CLI> sip show pee
peers peer
voip*CLI> sip show peers
Name/username Host Dyn Nat ACL Port
Status
100/100 (Unspecified) D N 0
UNKNOWN
VONO/lucasfs 201.86.87.5 N 5060 OK (71
ms)
VF3/3486942 208.239.76.170 N 5060 OK (203
ms)
3 sip peers [Monitored: 2 online, 1 offline Unmonitored: 0 online, 0
offline]
voip*CLI>
2007/10/17, Leonardo Kamache (Gmail) <lkamache em gmail.com>:
>
> Nunca vai registrar porque não existe um domínio chamado
> SVT!!!!!!!!!!!!!!!!!
>
>
>
>
> On 10/17/07, Renato dos Santos <shazaum em gmail.com> wrote:
> > [872283]
> > type=friend
> > username=872283
> > accountcode=872283
> > .....
> >
> > use
> > [872283]
> > type=peer <---
> > username=872283
> > accountcode=872283
> > .....
> >
> >
> >
> > 2007/10/17, Vanessa Rodrigues da Silva <vrsilva em gmail.com>:
> > > Este não deu certo:
> > >
> > > [Oct 17 09:26:00] WARNING[11833]: chan_sip.c:7404 transmit_register:
> > Probably a DNS error for registration to 872283 em SVT, trying REGISTER
> again
> > (after 20 seconds)
> > >
> > > [Oct 17 09:26:07] NOTICE[11833]: chan_sip.c:14861
> handle_request_register:
> > > [Oct 17 09:26:20] NOTICE[11833]: chan_sip.c:7326
> sip_reg_timeout: --
> > Registration for '872283 em SVT' timed out, trying again (Attempt #1)
> > >
> > > [Oct 17 09:26:20] WARNING[11833]: chan_sip.c:7404 transmit_register:
> > Probably a DNS error for registration to 872283 em SVT, trying REGISTER
> again
> > (after 20 seconds)
> > >
> > > [Oct 17 09:26:40] NOTICE[11833]: chan_sip.c:7326
> sip_reg_timeout: --
> > Registration for '872283 em SVT' timed out, trying again (Attempt #2)
> > >
> > > [Oct 17 09:26:40] WARNING[11833]: chan_sip.c:7404 transmit_register:
> > Probably a DNS error for registration to 872283 em SVT, trying REGISTER
> again
> > (after 20 seconds)
> > >
> > >
> > >
> > >
> > >
> > > On 10/16/07, Lucas Silva < lucas.silva em gmail.com > wrote:
> > > >
> > > >
> > > >
> > > > Caro, coloca assim
> > > >
> > > > register=> 872283:XXXXXX em SVT/872283
> > > >
> > > >
> > > >
> > > > [SVT]
> > > > type=friend
> > > > username=872283
> > > > accountcode=872283
> > > > regexten=872283
> > > > callerid=108416
> > > > secret=XXXXXXX
> > > > nat=yes
> > > > host=servertelecom.com
> > > > fromdomain=servertelecom.com
> > > > 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
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 2007/10/15, Vanessa Rodrigues da Silva <vrsilva em gmail.com>:
> > > > >
> > > > > 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.767ms
> > > > > 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.733ms
> > > > > 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.936ms
> > 139.611 ms
> > > > > 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
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Compre uma camiseta da AsteriskBrasil.org!
> > > > > http://www.voipmania.com.br
> > > > > == VoIPMania.com.br ==
> > > > >
> > > > > _______________________________________________
> > > > > LIsta de discussões AsteriskBrasil.org
> > > > > AsteriskBrasil em listas.asteriskbrasil.org
> > > > >
> > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Compre uma camiseta da AsteriskBrasil.org!
> > > > http://www.voipmania.com.br
> > > > == VoIPMania.com.br ==
> > > >
> > > > _______________________________________________
> > > > LIsta de discussões AsteriskBrasil.org
> > > > AsteriskBrasil em listas.asteriskbrasil.org
> > > >
> > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
> > > >
> > >
> > >
> > >
> > > --
> > > Vanessa Rodrigues
> > > 11 7230-1831
> > > vrsilva em gmail.com
> > > _______________________________________________
> > > Compre uma camiseta da AsteriskBrasil.org!
> > > http://www.voipmania.com.br
> > > == VoIPMania.com.br ==
> > >
> > > _______________________________________________
> > > LIsta de discussões AsteriskBrasil.org
> > > AsteriskBrasil em listas.asteriskbrasil.org
> > >
> > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
> > >
> >
> >
> >
> > --
> > "Double your drive space. Delete Windows" ;-)
> > user: #443184
> > _______________________________________________
> > Compre uma camiseta da AsteriskBrasil.org!
> > http://www.voipmania.com.br
> > == VoIPMania.com.br ==
> >
> > _______________________________________________
> > LIsta de discussões AsteriskBrasil.org
> > AsteriskBrasil em listas.asteriskbrasil.org
> > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
> >
> _______________________________________________
> Compre uma camiseta da AsteriskBrasil.org!
> http://www.voipmania.com.br
> == VoIPMania.com.br ==
>
> _______________________________________________
> LIsta de discussões AsteriskBrasil.org
> AsteriskBrasil em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20071017/9a1f4c9c/attachment-0001.htm
Mais detalhes sobre a lista de discussão AsteriskBrasil