[AsteriskBrasil] Problema Vono Entrante

Otavio Asterisk otavioasterisk em gmail.com
Sexta Outubro 21 13:47:49 BRST 2011


Boa tarde pessoal:
Preciso ativar um Vono num * (1.8.7.0) e as ligações saintes estão
funcionando ok.
Mas as entrantes, antes de dar o primeiro toque já cai na caixa postal (pra
quem está ligando, claro) e no CLI vejo mensagens de "SIP/2.0 401
Unauthorized" e "SIP/2.0 403 Forbidden".
Abaixo coloquei minhas configurações e o log.
Já tive problemas do tipo, mas adicionar "insecure=very", passou a
funcionar, mas dessa vez não surtiu efeito.
Podem me ajudar?

*sip.conf*

[general]

port=5060
bindport=5060
bindaddr=0.0.0.0
srvlookup = yes
tos=lowdelay
maxexpiry=1800
minexpiry=20
defaultexpiry=3600
canreinvite=no
videosupport=yes
relaxdtmf=yes
musicclass=default
registerattenpts=3
disallow=all
allow=ulaw
allow=alaw
;allow=g729
limitonpeers=yes
language=pt_BR
limitonpeer=yes
callevents=yes
allowguest=no
t38pt_udptl=yes
insecure=invite,port

register=usr:pwd em vono.net.br/nome_tronco

[nome_tronco]

type=friend
secret=pwd
host=vono.net.br
insecure=invite,port
port=5060
callerid=XXXX
call-limit=8
fromuser=usr
domain=vono.net.br
fromdomain=vono.net.br
dtmfmode=rfc2833
disallow=all
;allow=g729
allow=ulaw
insecure=very
username=usr
context=entrada_vono
qualify=yes
nat=no
reinvite=no
canreinvite=no


*extensions_custom.conf*

[entrada_vono]

exten => nome_tronco,1,Noop(Ligacao Entrante da VONO tocando no ramal 9999)
exten => nome_tronco,n,Dial(SIP/9999,200,Tt)
exten => nome_tronco,n,Hangup()


*resultado do debug*


SIP Debugging enabled

<--- SIP read from UDP:201.86.87.35:5060 --->
INVITE sip:nome_tronco em ip_pbxip:5060 SIP/2.0
Via: SIP/2.0/UDP 201.86.87.35:5060;branch=z9hG4bKn3ebpt30d071mpoo94h0.1
From: "trunk-brfone" <sip:brfone$4 em vono.net.br>;tag=as18708af6
To: <sip:usr_vono-ubbk4ros3gfje em 10.141.1.175>
Contact: <sip:brfone$4 em 201.86.87.35:5060;transport=udp>
Call-ID: 1e83437e7347609873fd823b3b6d9654 em vono.net.br
CSeq: 102 INVITE
User-Agent: Plataforma Vono
Max-Forwards: 69
Date: Fri, 21 Oct 2011 02:19:22 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
X-Vono-To: sip:usr_vono em vono.net.br
X-Vono-DDR: número_vono
Content-Type: application/sdp
Content-Length: 363

v=0
o=root 1397 1397 IN IP4 201.86.87.35
s=session
c=IN IP4 201.86.87.35
t=0 0
m=audio 10566 RTP/AVP 18 97 3 110 8 0 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:97 iLBC/8000
a=rtpmap:3 GSM/8000
a=rtpmap:110 speex/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
<------------->
--- (15 headers 16 lines) ---
  == Using UDPTL CoS mark 5
Sending to 201.86.87.35:5060 (no NAT)
Using INVITE request as basis request -
1e83437e7347609873fd823b3b6d9654 em vono.net.br
Found peer 'nome_tronco' for 'brfone$4' from 201.86.87.35:5060

<--- Reliably Transmitting (no NAT) to 201.86.87.35:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 201.86.87.35:5060
;branch=z9hG4bKn3ebpt30d071mpoo94h0.1;received=201.86.87.35
From: "trunk-brfone" <sip:brfone$4 em vono.net.br>;tag=as18708af6
To: <sip:usr_vono-ubbk4ros3gfje em 10.141.1.175>;tag=as15e004c0
Call-ID: 1e83437e7347609873fd823b3b6d9654 em vono.net.br
CSeq: 102 INVITE
Server: Asterisk PBX 1.8.7.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="6c602bc1"
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '
1e83437e7347609873fd823b3b6d9654 em vono.net.br' in 6400 ms (Method: INVITE)

<--- SIP read from UDP:201.86.87.35:5060 --->
ACK sip:nome_tronco em ip_pbxip:5060 SIP/2.0
Via: SIP/2.0/UDP 201.86.87.35:5060;branch=z9hG4bKn3ebpt30d071mpoo94h0.1
CSeq: 102 ACK
From: "trunk-brfone" <sip:brfone$4 em vono.net.br>;tag=as18708af6
To: <sip:usr_vono-ubbk4ros3gfje em 10.141.1.175>;tag=as15e004c0
Call-ID: 1e83437e7347609873fd823b3b6d9654 em vono.net.br
Max-Forwards: 69
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---

<--- SIP read from UDP:201.86.87.35:5060 --->
INVITE sip:nome_tronco em ip_pbxip:5060 SIP/2.0
Via: SIP/2.0/UDP 201.86.87.35:5060;branch=z9hG4bKojker600e0fg8pc1r750.1
From: "trunk-brfone" <sip:brfone$4 em vono.net.br>;tag=as18708af6
To: <sip:usr_vono-ubbk4ros3gfje em 10.141.1.175>
Contact: <sip:brfone$4 em 201.86.87.35:5060;transport=udp>
Call-ID: 1e83437e7347609873fd823b3b6d9654 em vono.net.br
CSeq: 103 INVITE
User-Agent: Plataforma Vono
Max-Forwards: 69
Authorization: Digest username="usr_vono-ubbk4ros3gfje", realm="asterisk",
algorithm=MD5, uri="sip:usr_vono-ubbk4ros3gfje em 10.141.1.175",
nonce="6c602bc1", response="8c10fb1c1c184690037ee8af8a396ccc", opaque=""
Date: Fri, 21 Oct 2011 02:19:22 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
X-Vono-To: sip:usr_vono em vono.net.br
X-Vono-DDR: número_vono
Content-Type: application/sdp
Content-Length: 363

v=0
o=root 1397 1398 IN IP4 201.86.87.35
s=session
c=IN IP4 201.86.87.35
t=0 0
m=audio 10566 RTP/AVP 18 97 3 110 8 0 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:97 iLBC/8000
a=rtpmap:3 GSM/8000
a=rtpmap:110 speex/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
<------------->
--- (16 headers 16 lines) ---
Sending to 201.86.87.35:5060 (no NAT)
Using INVITE request as basis request -
1e83437e7347609873fd823b3b6d9654 em vono.net.br
Found peer 'nome_tronco' for 'brfone$4' from 201.86.87.35:5060

<--- Reliably Transmitting (no NAT) to 201.86.87.35:5060 --->
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 201.86.87.35:5060
;branch=z9hG4bKojker600e0fg8pc1r750.1;received=201.86.87.35
From: "trunk-brfone" <sip:brfone$4 em vono.net.br>;tag=as18708af6
To: <sip:usr_vono-ubbk4ros3gfje em 10.141.1.175>;tag=as15e004c0
Call-ID: 1e83437e7347609873fd823b3b6d9654 em vono.net.br
CSeq: 103 INVITE
Server: Asterisk PBX 1.8.7.0
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH
Supported: replaces, timer
Content-Length: 0


<------------>
Scheduling destruction of SIP dialog '
1e83437e7347609873fd823b3b6d9654 em vono.net.br' in 6400 ms (Method: INVITE)

<--- SIP read from UDP:201.86.87.35:5060 --->
ACK sip:nome_tronco em ip_pbxip:5060 SIP/2.0
Via: SIP/2.0/UDP 201.86.87.35:5060;branch=z9hG4bKojker600e0fg8pc1r750.1
CSeq: 103 ACK
From: "trunk-brfone" <sip:brfone$4 em vono.net.br>;tag=as18708af6
To: <sip:usr_vono-ubbk4ros3gfje em 10.141.1.175>;tag=as15e004c0
Call-ID: 1e83437e7347609873fd823b3b6d9654 em vono.net.br
Max-Forwards: 69
Content-Length: 0

<------------->
--- (8 headers 0 lines) ---

<--- SIP read from UDP:200.163.80.239:57594 --->

<------------->

Agradeço pela ajuda!

-- 
Otávio
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20111021/2d8b4f2b/attachment-0001.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil