[AsteriskBrasil] conexao de cliente rejeitada

Ralph Liebessohn ralphliebessohn em gmail.com
Quinta Maio 18 10:49:40 BRT 2006


On 5/18/06, Claudio Melo <claudio em dataradio.com.br> wrote:
>
>  Oi Ralph
>
> Precisa informar o cenario do seu ambiente em que está fazendo os testes:
>
> 1) Sua rede interna tem IP fixo ou dinamico
>
> 2)Rever as configuracoes dos softfones, quanto a username,senha,e o
> endereco do servidor Asterisk
>
> Cláudio
>
>
>
Instalei no debian usando esse tutorial:
http://www.asteriskbrasil.org/tiki/tiki-index.php?page=Instalando+o+Asterisk+no+Debian

1) Sua rede interna tem IP fixo ou dinamico
É via dhcp, porém fixo.

2)Rever as configuracoes dos softfones, quanto a username,senha,e o endereco
do servidor Asterisk

No Idefisk que gera esse erro.
Host: 192.168.1.73
Username: 9223
Password: 9223
CallerID: 9223
Number: 9223

no Xten ele dá time out na hora de logar, nem chega nada no asterisk. usando
o xten na mesma maquina do asterisk ele consegue fazer ligações soh pra ele
mesmo.

Alterei o sip.conf para:
[general]
context=default
port=5060                       ; UDP Port to bind to (SIP standard port is
5060)
bindaddr=0.0.0.0                ; IP address to bind to (0.0.0.0 binds to
all)
;srvlookup=yes


[9222]
type=friend
callerid = "Nome - 9222" <9222>
username=9222
secret=9222
host= dynamic
context=from-sip
dtmfmode=rfc2833
nat=yes
canreinvite=nocontext=internal

[9223]
type=friend
callerid = "Nome - 9223" <9223>
username=9223
secret=9223
host= dynamic
context=from-sip
dtmfmode=rfc2833
nat=yes
canreinvite=nocont

[312000]
type=friend
username=312000
secret=312000
host=dynamic
context=from-sip
dtmfmode=rfc2833
nat=yes
canreinvite=nocontext=internal
ext=internal

e o extensions.conf para:

[general]
static=yes
writeprotect=no

[default]
include => from-sip
include => demo

[from-sip]
exten => 9222,1,Dial(SIP/9222,25)
exten => 9222,2,Hangup

exten => 9223,1,Dial(SIP/9223,25)
exten => 9223,2,Hangup

exten => 31200,1,Dial(SIP/312000,25)
exten => 31200,2,Hangup

coloquei o debug e verbose em 10 e tenho o seguinte quando tento discar 1
vez.


May 18 10:07:25 DEBUG[2218]: Allocating new SIP call for
695F71B19D89B72F697CF6D8D59A124B em 192.168
.1.73
May 18 10:07:25 VERBOSE[2218]:     -- Registered SIP '9222' at
192.168.1.73port 5061 expires 180
0
May 18 10:07:25 VERBOSE[2218]:     -- Saved useragent "X-Lite release 1105d"
for peer 9222
May 18 10:07:40 DEBUG[2218]: Auto destroying call '
695F71B19D89B72F697CF6D8D59A124B em 192.168.1.73'

When I call From network I got the error Call ended: unknown:

May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno:
000 Type: IAX     Subcl
ass: NEW
May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno:
000 Type: IAX     Subcl
ass: NEW
   Timestamp: 00003ms  SCall: 07747  DCall: 00000 [192.168.0.106:4569 ]
May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno:
000 Type: IAX     Subcl
ass: NEW
   Timestamp: 00003ms  SCall: 07747  DCall: 00000 [192.168.0.106:4569 ]
   VERSION         : 2
May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno:
000 Type: IAX     Subcl
ass: NEW
   Timestamp: 00003ms  SCall: 07747  DCall: 00000 [ 192.168.0.106:4569]
   VERSION         : 2
   CALLING NUMBER  : 312000
May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno:
000 Type: IAX     Subcl   VERSION         : 2
   CALLING NUMBER  : 312000
   CALLING NAME    : 312000
May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno:
000 Type: IAX     Subcl
ass: NEW
   Timestamp: 00003ms  SCall: 07747  DCall: 00000 [ 192.168.0.106:4569]
   VERSION         : 2
   CALLING NUMBER  : 312000
   CALLING NAME    : 312000
   FORMAT          : 2
May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno:
000 Type: IAX     Subcl
ass: NEW
   Timestamp: 00003ms  SCall: 07747  DCall: 00000 [192.168.0.106:4569]
   VERSION         : 2
   CALLING NUMBER  : 312000
   CALLING NAME    : 312000
   FORMAT          : 2
   CAPABILITY      : 1550
May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno:
000 Type: IAX     Subcl
ass: NEW
   Timestamp: 00003ms  SCall: 07747  DCall: 00000 [ 192.168.0.106:4569]
   VERSION         : 2
   CALLING NUMBER  : 312000
   CALLING NAME    : 312000
   FORMAT          : 2
   CAPABILITY      : 1550
   USERNAME        : 312000
   Timestamp: 00003ms  SCall: 07747  DCall: 00000 [ 192.168.0.106:4569]
May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno:
000 Type: IAX     Subcl
ass: NEW
   CALLING NAME    : 312000
   FORMAT          : 2
   CAPABILITY      : 1550
   USERNAME        : 312000
   CALLED NUMBER   : 9222
   DNID            : 9222

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
REJECT
   Timestamp: 00010ms  SCall: 00001  DCall: 07747 [ 192.168.0.106:4569]
   CAUSE           : No authority found
May 18 10:10:14 NOTICE[2213]: Rejected connect attempt from 192.168.0.106
May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno:
000 Type: IAX     Subcl
ass: NEW
   Timestamp: 00003ms  SCall: 07747  DCall: 00000 [192.168.0.106:4569]
   VERSION         : 2
   CALLING NUMBER  : 312000
   CALLING NAME    : 312000
   FORMAT          : 2
   CAPABILITY      : 1550
   USERNAME        : 312000
   CALLED NUMBER   : 9222
   DNID            : 9222
ED NUMBER   : 9222
   DNID            : 9222

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
REJECT
   Timestamp: 00010ms  SCall: 00001  DCall: 07747 [192.168.0.106:4569]
   CAUSE           : No authority found

May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno:
000 Type: IAX     Subcl
ass: NEW
   Timestamp: 00003ms  SCall: 07747  DCall: 00000 [192.168.0.106:4569]
   VERSION         : 2
   CALLING NUMBER  : 312000
   CALLING NAME    : 312000
   FORMAT          : 2
   CAPABILITY      : 1550
   USERNAME        : 312000
   CALLED NUMBER   : 9222
   DNID            : 9222


Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
REJECT
   Timestamp: 00010ms  SCall: 00001  DCall: 07747 [ 192.168.0.106:4569]
   CAUSE           : No authority found

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno:
000 Type: IAX     Subcl
ass: NEW
   Timestamp: 00003ms  SCall: 07747  DCall: 00000 [192.168.0.106:4569]
   VERSION         : 2
   CALLING NUMBER  : 312000
   CALLING NAME    : 312000
   FORMAT          : 2
   CAPABILITY      : 1550
   USERNAME        : 312000
   CALLED NUMBER   : 9222
   DNID            : 9222

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
REJECT
   Timestamp: 00010ms  SCall: 00001  DCall: 07747 [ 192.168.0.106:4569]
   CAUSE           : No authority found

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
May 18 10:10:14 VERBOSE[2213]: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno:
000 Type: IAX     Subcl
ass: NEW
   Timestamp: 00003ms  SCall: 07747  DCall: 00000 [192.168.0.106:4569]
   VERSION         : 2
   CALLING NUMBER  : 312000
   CALLING NAME    : 312000
   FORMAT          : 2
   CAPABILITY      : 1550
   USERNAME        : 312000
   CALLED NUMBER   : 9222
   DNID            : 9222

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
REJECT
   Timestamp: 00010ms  SCall: 00001  DCall: 07747 [ 192.168.0.106:4569]
   CAUSE           : No authority found

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
   Timestamp: 00010ms  SCall: 07747  DCall: 00001 [ 192.168.0.106:4569]
May 18 10:10:14 DEBUG[2213]: Received packet 1, (6, 4)
May 18 10:10:14 DEBUG[2213]: Cancelling transmission of packet 0
May 18 10:10:14 DEBUG[2213]: Really destroying 1, having been acked on final
message



-- 
Ralph Liebessohn
ICQ: 74835911
Skype: liebessohn
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20060518/8becccf9/attachment-0001.html


Mais detalhes sobre a lista de discussão AsteriskBrasil