[AsteriskBrasil] tellextreme
Claudio Junior
csjunior em gmail.com
Segunda Julho 31 17:37:05 BRT 2006
Ola Pessoal,
Agradeco ao Antonio por ter retornado o email abaixo, so que não estou tendo
sorte com a configuração do Asterisk
Infelizmente nao esta dando certo aqui. Inicialmente estou atras de um nat.
(faltou passar isto)
Segue meu sip.conf e meu extensions.conf. Tambem to enviando abaixo o log do
sip debug no prompt do asterisk.
Note que:
XXXXXXX => é o meu IP Phone Number
ZZZZZZ_ZZZZZZ_ => é o meu User Name
YYYYYY => é o password
Coforme o log abaixo a parte de registro esta sendo feita normalmente, so
que ele tambem esta errando em alguma coisa, quando aparece:
---
csjunior*CLI>
<-- SIP read from 64.77.227.171:5060:
SIP/2.0 477 Unfortunately error on sending to next hop occurred (477/TM)
Via: SIP/2.0/UDP 10.9.16.1:5060;branch=z9hG4bK437ce299;rport=5060;received=
201.40.77.122
From: "asterisk" <sip:asterisk em 10.9.16.1>;tag=as290a9451
To: <sip:sip.telextreme.net>;tag=5a7a560da4f88ad91eb8c3d818d92ed0-dd88
Call-ID: 3856a1de4d7a06be3e5e00900a912b55 em 10.9.16.1
CSeq: 102 OPTIONS
Server: CityMoon 1.4.3.32 (i386/linux)
Content-Length: 0
Apesar de que no meu sip.conf eu tenho informado as possibiliddes para o
registro.
Sei que deve ser besteira, mas ja estou quase desistindo e comprando o ata.
Claudio Jr.
root em csjunior:/etc/asterisk# cat sip.conf
[general]
context=default
bindport=5060
port=5060
bindaddr=0.0.0.0
srvlookup = yes
register => XXXXXXX:YYYYYY:ZZZZZZ_ZZZZZZ_ em sip.telextreme.net/XXXXXXX
[telextreme]
type=peer
username=ZZZZZZ_ZZZZZZ_
amaflags=billing
secret=YYYYYY
dtmfmode=RFC2833
qualify=yes
canreinvite=yes
disallow=all
allow=g729,ulaw,alaw,gsm
host=sip.telextreme.net
context=from-telextreme
fromuser=XXXXXXX
fromdomain=sip.telextreme.net
[2001]
type=friend
username=2001
mailbox=2001
secret=cisco186
qualify=yes
nat=no
host=dynamic
caninvite=no
context=internal
dtmfmode=rfc2833
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=g723.1
[2002]
type=friend
username=2002
mailbox=2002
secret=cisco186
qualify=yes
nat=no
host=dynamic
caninvite=no
context=internal
dtmfmode=rfc2833
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=g723.1
[2003]
type=friend
username=2003
mailbox=2003
secret=cisco186
qualify=yes
nat=no
host=dynamic
caninvite=no
context=internal
dtmfmode=rfc2833
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=g723.1
[2004]
type=friend
username=2004
mailbox=2004
secret=cisco186
qualify=yes
nat=no
host=dynamic
caninvite=no
context=internal
dtmfmode=rfc2833
disallow=all
allow=ulaw
allow=alaw
allow=g729
allow=g723.1
root em csjunior:/etc/asterisk# cat extensions.conf
[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no
[global]
[default]
include => internal
include => external
[internal]
exten => 2001,1,Dial(SIP/2001,45,o)
exten => 2002,1,Dial(SIP/2002,45,o)
exten => 2003,1,Dial(SIP/2003,45,o)
exten => 2004,1,Dial(SIP/2004,45,o)
[telextreme-out]
exten => _9.,1,Dial(SIP/${EXTEN:1}@telextreme,60,r)
[telextreme-in]
exten => XXXXXXX,1,Goto(telextreme-in-dialplan, 101, 1)
[telextreme-in-dialplan]
extem => 101,1,Dial(SIP/2001,30,r)
root em csjunior:/etc/asterisk# asterisk -r
Asterisk 1.2.10, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer <markster em digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.10 currently running on csjunior (pid = 30166)
onnectionCLI>
Verbosity is at least 3
csjunior*CLI> sip debug
SIP Debugging enabled
csjunior*CLI> sip reload
Reloading SIP
== Parsing '/etc/asterisk/sip.conf': Found
== Parsing '/etc/asterisk/sip_notify.conf': Found
12 headers, 0 lines
Reliably Transmitting (no NAT) to 64.77.227.171:5060:
OPTIONS sip:sip.telextreme.net SIP/2.0
Via: SIP/2.0/UDP 10.9.16.1:5060;branch=z9hG4bK437ce299;rport
From: "asterisk" <sip:asterisk em 10.9.16.1>;tag=as290a9451
To: <sip:sip.telextreme.net>
Contact: <sip:asterisk em 10.9.16.1>
Call-ID: 3856a1de4d7a06be3e5e00900a912b55 em 10.9.16.1
CSeq: 102 OPTIONS
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Mon, 31 Jul 2006 20:28:03 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0
--- (10 headers 11 lines)---
Destroying call '2cdcd60945f15fbd2a4726bf17653052 em 10.9.16.1'
Jul 31 17:28:03 NOTICE[30180]: chan_sip.c:5336 sip_reregister: --
Re-registration for XXXXXXX em sip.telextreme.net
REGISTER 12 headers, 0 lines
Reliably Transmitting (no NAT) to 64.77.227.171:5060:
REGISTER sip:sip.telextreme.net SIP/2.0
Via: SIP/2.0/UDP 10.9.16.1:5060;branch=z9hG4bK7f27d851;rport
From: <sip:XXXXXXX em sip.telextreme.net>;tag=as6f795636
To: <sip:XXXXXXX em sip.telextreme.net>
Call-ID: 747c554c5822f49b7731267606841dea em 127.0.1.1
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 120
Contact: <sip:XXXXXXX em 10.9.16.1>
Event: registration
Content-Length: 0
---
csjunior*CLI>
<-- SIP read from 64.77.227.171:5060:
SIP/2.0 477 Unfortunately error on sending to next hop occurred (477/TM)
Via: SIP/2.0/UDP 10.9.16.1:5060;branch=z9hG4bK437ce299;rport=5060;received=
201.40.77.122
From: "asterisk" <sip:asterisk em 10.9.16.1>;tag=as290a9451
To: <sip:sip.telextreme.net>;tag=5a7a560da4f88ad91eb8c3d818d92ed0-dd88
Call-ID: 3856a1de4d7a06be3e5e00900a912b55 em 10.9.16.1
CSeq: 102 OPTIONS
Server: CityMoon 1.4.3.32 (i386/linux)
Content-Length: 0
--- (8 headers 0 lines)---
Destroying call '3856a1de4d7a06be3e5e00900a912b55 em 10.9.16.1'
csjunior*CLI>
<-- SIP read from 64.77.227.171:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.9.16.1:5060;branch=z9hG4bK7f27d851;rport=5060;received=
201.40.77.122
From: <sip:XXXXXXX em sip.telextreme.net>;tag=as6f795636
To: <sip:XXXXXXX em sip.telextreme.net>;tag=
460f73edc87593b423d079818bb980e0.db68
Call-ID: 747c554c5822f49b7731267606841dea em 127.0.1.1
CSeq: 102 REGISTER
Contact: <sip:XXXXXXX em 201.40.77.122:5060>;expires=120
Server: CityMoon 1.4.3.32 (i386/linux)
Content-Length: 0
2006/7/27, Antonio José dos Santos Brandão <brandao em gmail.com>:
>
> Precisei configurar a telextreme para um cliente e funcionou legal.
> Veja como ficou:
>
> sip.conf
>
> register => XXXXXXXX:senha:YYYYYY_YYYYYY_ em sip.telextreme.net/222222
>
> [telextreme]
> type=peer
> username=YYYYYY_YYYYYY_
> amaflags=billing
> secret=senha
> dtmfmode=RFC2833
> qualify=yes
> canreinvite=yes
> disallow=all
> allow=g729,ulaw,alaw,gsm
> host=sip.telextreme.net
> context=blablabla
> fromuser=XXXXXXX
> fromdomain=sip.telextreme.net
>
>
>
> On 7/27/06, Bernardo Vieira <bernardo.vieira em terra.com.br> wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Forbidden - wrong password on authentication, ipsis literis.
> >
> > fabio wrote:
> > > não estou conseguindo fazer o asterisk funcionar com a tellextreme,
> > > consegui fazer o register mas na hora de fazer a ligação ele da essa
> > > mensagem:
> > >
> > > chan_sip.c:9696 handle_response_invite: Forbidden - wrong password
> on
> > > authentication for INVITE to
> > >
> > > agradeço desde ja a ajuda.
> > > obrigado.
> > > _______________________________________________
> > > LIsta de discussões AsteriskBrasil.org
> > > AsteriskBrasil em listas.asteriskbrasil.org
> > > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
> > >
> > > _______________________________________________
> > > Acesse o wiki AsteriskBrasil.org:
> > > http://www.asteriskbrasil.org
> > >
> > >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.1 (MingW32)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFEyMib2QVs8jsa1mQRAmK5AJ973+YyedOh3S8ie7gnoj/cQ2VSIwCfS9+Z
> > WzY9uieqpbo1TP+xvy3P9bw=
> > =+5eo
> > -----END PGP SIGNATURE-----
> > _______________________________________________
> > LIsta de discussões AsteriskBrasil.org
> > AsteriskBrasil em listas.asteriskbrasil.org
> > http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
> >
> > _______________________________________________
> > Acesse o wiki AsteriskBrasil.org:
> > http://www.asteriskbrasil.org
> >
>
>
> --
> Antonio J. S. Brandão
> _______________________________________________
> LIsta de discussões AsteriskBrasil.org
> AsteriskBrasil em listas.asteriskbrasil.org
> http://listas.asteriskbrasil.org/mailman/listinfo/asteriskbrasil
>
> _______________________________________________
> Acesse o wiki AsteriskBrasil.org:
> http://www.asteriskbrasil.org
>
--
Claudio da Silva Junior
csjunior at gmail dot com
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20060731/7fee2a21/attachment-0001.html
Mais detalhes sobre a lista de discussão AsteriskBrasil