[AsteriskBrasil] tellextreme

2006-07-31 Por tôpico Claudio Junior
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:
XXX = é o meu IP Phone Number
ZZ_ZZ_ = é o meu User Name
YY = é 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:[EMAIL PROTECTED];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 = XXX:YY:ZZ_ZZ_ em sip.telextreme.net/XXX

[telextreme]
type=peer
username=ZZ_ZZ_
amaflags=billing
secret=YY
dtmfmode=RFC2833
qualify=yes
canreinvite=yes
disallow=all
allow=g729,ulaw,alaw,gsm
host=sip.telextreme.net
context=from-telextreme
fromuser=XXX
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:[EMAIL PROTECTED],60,r)

[telextreme-in]
  exten = XXX,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:[EMAIL PROTECTED];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  XXX 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:[EMAIL PROTECTED];tag=as6f795636

[AsteriskBrasil] tellextreme

2006-07-27 Por tôpico fabio
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.


[AsteriskBrasil] tellextreme

2006-07-27 Por tôpico Bernardo Vieira
-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-