[AsteriskBrasil] RES: Troncos SIP Elastix - Não recebe

João Marcelo Queiroz jmbq em bol.com.br
Quinta Agosto 23 17:57:51 BRT 2012


Oswaldo, desculpa pela furada! No final do email segue o sip debug.

Fiz a configuração primeiro pela GUI, mas tentei também no modo texto.

Já havia feito o teste habilitando o Anonymous, a chamada continua sem entrar.




No CLI puro não há sinal da chamada entrando, apenas ativando o sip debug. Segue:

[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: 
<--- SIP read from UDP:208.239.76.177:5060 --->
INVITE sip:55113013XXXX em 192.168.2.9:5060 SIP/2.0
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKlebkoj1o2v8marsin2ih2pgho2
CSeq: 1 INVITE
Call-ID: SDpkm1301-18e0f5a4ecbb356f21c117996659a233-gurpko2
X-Vono-To: sip:varphonex em vono.net.br
X-UUID: efeab755728842b08a815ec46eccdac7
X-Vono-DDR: 114062XXXX
Supported: timer, precondition, path, replaces
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SDpkm1301-bf9124a2
Content-Type: application/sdp
X-DID: 01155114062XXXX
Allow: INVITE
To: <sip:55113013XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>
Allow-Events: talk
Content-Length: 315
Contact: <sip:208.239.76.177:5060;transport=udp;wlsscid=1ae4691c270666;appsessionid=app-18g6mglpkbwib>
Content-Disposition: session
Max-Forwards: 69

v=0
o=root 2762256833282596444 7484802801466772677 IN IP4 201.86.87.11
s=session
c=IN IP4 201.86.87.11
t=0 0
m=audio 29112 RTP/AVP 18 8 0 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
<------------->
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: --- (18 headers 13 lines) ---
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Sending to 208.239.76.177:5060 (no NAT)
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Using INVITE request as basis request - SDpkm1301-18e0f5a4ecbb356f21c117996659a233-gurpko2
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Found peer 'ligueout' for '113224XXXX' from 208.239.76.177:5060
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: 
<--- Reliably Transmitting (NAT) to 208.239.76.177:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKlebkoj1o2v8marsin2ih2pgho2;received=208.239.76.177;rport=5060
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SDpkm1301-bf9124a2
To: <sip:55113013XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>;tag=as16104093
Call-ID: SDpkm1301-18e0f5a4ecbb356f21c117996659a233-gurpko2
CSeq: 1 INVITE
Server: FPBX-2.8.1(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="79cde8f5"
Content-Length: 0


<------------>
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Scheduling destruction of SIP dialog 'SDpkm1301-18e0f5a4ecbb356f21c117996659a233-gurpko2' in 6400 ms (Method: INVITE)
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: 
<--- SIP read from UDP:208.239.76.177:5060 --->
INVITE sip:55114062XXXX em 192.168.2.9:5060 SIP/2.0
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKibn06k5o3na80q0dk2hdfdmqb6
CSeq: 1 INVITE
Call-ID: SDgh19001-b007a2489fe189460c9b4f83ab3057df-gurpko2
X-Vono-To: sip:varphonex em vono.net.br
X-UUID: efeab755728842b08a815ec46eccdac7
X-Vono-DDR: 114062XXXX
Supported: timer, precondition, path, replaces
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SDgh19001-c456c61c
Content-Type: application/sdp
X-DID: 01155114062XXXX
Allow: INVITE
To: <sip:55114062XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>
Allow-Events: talk
Content-Length: 315
Contact: <sip:208.239.76.177:5060;transport=udp;wlsscid=1ae4691c270666;appsessionid=app-18g6mglpkbwib>
Content-Disposition: session
Max-Forwards: 69

v=0
o=root 2762256833282596444 7484802801466772677 IN IP4 201.86.87.11
s=session
c=IN IP4 201.86.87.11
t=0 0
m=audio 29112 RTP/AVP 18 8 0 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
<------------->
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: --- (18 headers 13 lines) ---
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Sending to 208.239.76.177:5060 (no NAT)
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Using INVITE request as basis request - SDgh19001-b007a2489fe189460c9b4f83ab3057df-gurpko2
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Found peer 'ligueout' for '113224XXXX' from 208.239.76.177:5060
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: 
<--- Reliably Transmitting (NAT) to 208.239.76.177:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKibn06k5o3na80q0dk2hdfdmqb6;received=208.239.76.177;rport=5060
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SDgh19001-c456c61c
To: <sip:55114062XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>;tag=as552315c6
Call-ID: SDgh19001-b007a2489fe189460c9b4f83ab3057df-gurpko2
CSeq: 1 INVITE
Server: FPBX-2.8.1(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="4a80e501"
Content-Length: 0


<------------>
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Scheduling destruction of SIP dialog 'SDgh19001-b007a2489fe189460c9b4f83ab3057df-gurpko2' in 6400 ms (Method: INVITE)
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: 
<--- SIP read from UDP:208.239.76.177:5060 --->
INVITE sip:55113070XXXX em 192.168.2.9:5060 SIP/2.0
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKim19cf6u1ebitfpi014nvaj6n2
CSeq: 1 INVITE
Call-ID: SDjc03001-d9a1843a6b331202dba4f9c2bc10394d-gurpko2
X-Vono-To: sip:varphonex em vono.net.br
X-UUID: efeab755728842b08a815ec46eccdac7
X-Vono-DDR: 114062XXXX
Supported: timer, precondition, path, replaces
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SDjc03001-ddbaef6d
Content-Type: application/sdp
X-DID: 01155114062XXXX
Allow: INVITE
To: <sip:55113070XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>
Allow-Events: talk
Content-Length: 315
Contact: <sip:208.239.76.177:5060;transport=udp;wlsscid=1ae4691c270666;appsessionid=app-18g6mglpkbwib>
Content-Disposition: session
Max-Forwards: 69

v=0
o=root 2762256833282596444 7484802801466772677 IN IP4 201.86.87.11
s=session
c=IN IP4 201.86.87.11
t=0 0
m=audio 29112 RTP/AVP 18 8 0 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
<------------->
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: --- (18 headers 13 lines) ---
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Sending to 208.239.76.177:5060 (no NAT)
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Using INVITE request as basis request - SDjc03001-d9a1843a6b331202dba4f9c2bc10394d-gurpko2
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Found peer 'ligueout' for '113224XXXX' from 208.239.76.177:5060
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: 
<--- Reliably Transmitting (NAT) to 208.239.76.177:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKim19cf6u1ebitfpi014nvaj6n2;received=208.239.76.177;rport=5060
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SDjc03001-ddbaef6d
To: <sip:55113070XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>;tag=as1de9692d
Call-ID: SDjc03001-d9a1843a6b331202dba4f9c2bc10394d-gurpko2
CSeq: 1 INVITE
Server: FPBX-2.8.1(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="08d81966"
Content-Length: 0


<------------>
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Scheduling destruction of SIP dialog 'SDjc03001-d9a1843a6b331202dba4f9c2bc10394d-gurpko2' in 6400 ms (Method: INVITE)
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: 
<--- SIP read from UDP:208.239.76.177:5060 --->
INVITE sip:114062XXXX em 192.168.2.9:5060 SIP/2.0
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKpel490diqotnancdj24hietr96
CSeq: 1 INVITE
Call-ID: SD1r0t501-8e58f1dfc5ae25df9d2bac1937cbaeec-gurpko2
X-Vono-To: sip:varphonex em vono.net.br
X-UUID: efeab755728842b08a815ec46eccdac7
X-Vono-DDR: 114062XXXX
Supported: timer, precondition, path, replaces
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SD1r0t501-9fba6866
Content-Type: application/sdp
X-DID: 01155114062XXXX
Allow: INVITE
To: <sip:114062XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>
Allow-Events: talk
Content-Length: 315
Contact: <sip:208.239.76.177:5060;transport=udp;wlsscid=1ae4691c270666;appsessionid=app-18g6mglpkbwib>
Content-Disposition: session
Max-Forwards: 69

v=0
o=root 2762256833282596444 7484802801466772677 IN IP4 201.86.87.11
s=session
c=IN IP4 201.86.87.11
t=0 0
m=audio 29112 RTP/AVP 18 8 0 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
<------------->
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: --- (18 headers 13 lines) ---
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Sending to 208.239.76.177:5060 (no NAT)
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Using INVITE request as basis request - SD1r0t501-8e58f1dfc5ae25df9d2bac1937cbaeec-gurpko2
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Found peer 'ligueout' for '113224XXXX' from 208.239.76.177:5060
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: 
<--- Reliably Transmitting (NAT) to 208.239.76.177:5060 --->
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKpel490diqotnancdj24hietr96;received=208.239.76.177;rport=5060
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SD1r0t501-9fba6866
To: <sip:114062XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>;tag=as71399dc4
Call-ID: SD1r0t501-8e58f1dfc5ae25df9d2bac1937cbaeec-gurpko2
CSeq: 1 INVITE
Server: FPBX-2.8.1(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="53ab43f8"
Content-Length: 0


<------------>
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Scheduling destruction of SIP dialog 'SD1r0t501-8e58f1dfc5ae25df9d2bac1937cbaeec-gurpko2' in 6400 ms (Method: INVITE)
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: 
<--- SIP read from UDP:208.239.76.177:5060 --->
ACK sip:55113013XXXX em 192.168.2.9:5060 SIP/2.0
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKlebkoj1o2v8marsin2ih2pgho2;received=208.239.76.177;rport=5060
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SDpkm1301-bf9124a2
To: <sip:55113013XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>;tag=as16104093
Call-ID: SDpkm1301-18e0f5a4ecbb356f21c117996659a233-gurpko2
CSeq: 1 ACK
Max-Forwards: 69
Content-Length: 0

<------------->
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: --- (8 headers 0 lines) ---
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: 
<--- SIP read from UDP:208.239.76.177:5060 --->
ACK sip:55114062XXXX em 192.168.2.9:5060 SIP/2.0
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKibn06k5o3na80q0dk2hdfdmqb6;received=208.239.76.177;rport=5060
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SDgh19001-c456c61c
To: <sip:55114062XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>;tag=as552315c6
Call-ID: SDgh19001-b007a2489fe189460c9b4f83ab3057df-gurpko2
CSeq: 1 ACK
Max-Forwards: 69
Content-Length: 0

<------------->
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: --- (8 headers 0 lines) ---
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: 
<--- SIP read from UDP:208.239.76.177:5060 --->
ACK sip:55113070XXXX em 192.168.2.9:5060 SIP/2.0
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKim19cf6u1ebitfpi014nvaj6n2;received=208.239.76.177;rport=5060
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SDjc03001-ddbaef6d
To: <sip:55113070XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>;tag=as1de9692d
Call-ID: SDjc03001-d9a1843a6b331202dba4f9c2bc10394d-gurpko2
CSeq: 1 ACK
Max-Forwards: 69
Content-Length: 0

<------------->
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: --- (8 headers 0 lines) ---
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: Retransmitting #1 (NAT) to 208.239.76.177:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKpel490diqotnancdj24hietr96;received=208.239.76.177;rport=5060
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SD1r0t501-9fba6866
To: <sip:114062XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>;tag=as71399dc4
Call-ID: SD1r0t501-8e58f1dfc5ae25df9d2bac1937cbaeec-gurpko2
CSeq: 1 INVITE
Server: FPBX-2.8.1(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="53ab43f8"
Content-Length: 0


---
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: 
<--- SIP read from UDP:208.239.76.177:5060 --->
ACK sip:114062XXXX em 192.168.2.9:5060 SIP/2.0
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKpel490diqotnancdj24hietr96;received=208.239.76.177;rport=5060
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SD1r0t501-9fba6866
To: <sip:114062XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>;tag=as71399dc4
Call-ID: SD1r0t501-8e58f1dfc5ae25df9d2bac1937cbaeec-gurpko2
CSeq: 1 ACK
Max-Forwards: 69
Content-Length: 0

<------------->
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: --- (8 headers 0 lines) ---
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: 
<--- SIP read from UDP:208.239.76.177:5060 --->
ACK sip:114062XXXX em 192.168.2.9:5060 SIP/2.0
Via: SIP/2.0/UDP 208.239.76.177:5060;branch=z9hG4bKpel490diqotnancdj24hietr96;received=208.239.76.177;rport=5060
From: 113224XXXX<sip:113224XXXX em 201.86.87.11>;tag=SD1r0t501-9fba6866
To: <sip:114062XXXX-rba2g93gt4m68 em 10.0.5.77:5060;useradd=PPP.PPP.PPP.PPP;userport=5060;transport=udp>;tag=as71399dc4
Call-ID: SD1r0t501-8e58f1dfc5ae25df9d2bac1937cbaeec-gurpko2
CSeq: 1 ACK
Max-Forwards: 69
Content-Length: 0

<------------->
[Aug 23 16:56:25] VERBOSE[3747] chan_sip.c: --- (8 headers 0 lines) ---
[Aug 23 16:56:31] VERBOSE[3747] chan_sip.c: Really destroying SIP dialog 'SDpkm1301-18e0f5a4ecbb356f21c117996659a233-gurpko2' Method: ACK
[Aug 23 16:56:31] VERBOSE[3747] chan_sip.c: Really destroying SIP dialog 'SDgh19001-b007a2489fe189460c9b4f83ab3057df-gurpko2' Method: ACK
[Aug 23 16:56:31] VERBOSE[3747] chan_sip.c: Really destroying SIP dialog 'SDjc03001-d9a1843a6b331202dba4f9c2bc10394d-gurpko2' Method: ACK
[Aug 23 16:56:31] VERBOSE[3747] chan_sip.c: Really destroying SIP dialog 'SD1r0t501-8e58f1dfc5ae25df9d2bac1937cbaeec-gurpko2' Method: ACK
[Aug 23 16:56:53] VERBOSE[8081] asterisk.c:     -- Remote UNIX connection disconnected
[Aug 23 16:56:53] NOTICE[3747] chan_sip.c:    -- Re-registration for  YYYY001 em sip.varphonex.com
[Aug 23 16:56:53] VERBOSE[3747] chan_sip.c: REGISTER 11 headers, 0 lines
[Aug 23 16:56:53] VERBOSE[3747] chan_sip.c: Reliably Transmitting (NAT) to 208.239.76.177:5060:
REGISTER sip:sip.varphonex.com SIP/2.0
Via: SIP/2.0/UDP 192.168.2.9:5060;branch=z9hG4bK3f07d4d4;rport
Max-Forwards: 70
From: <sip:YYYY001 em sip.varphonex.com>;tag=as370c420f
To: <sip:YYYY001 em sip.varphonex.com>
Call-ID: 20109784731a0fe0224e9ba87ece0333 em sip.varphonex.com
CSeq: 104 REGISTER
User-Agent: FPBX-2.8.1(1.8.7.0)
Authorization: Digest username="YYYY001", realm="sip.varphonex.com", algorithm=MD5, uri="sip:sip.varphonex.com", nonce="50368bbf855f6ca5dc9a170ed21e8c05bca7b068", response="0e66af1f2b75da7564d8f288b4ba5ab0", qop=auth, cnonce="74317e88", nc=00000002
Expires: 120
Contact: <sip:55113070XXXX em 192.168.2.9:5060>
Content-Length: 0


---
[Aug 23 16:56:53] NOTICE[3747] chan_sip.c:    -- Re-registration for  YYYY001 em sip.varphonex.com
[Aug 23 16:56:53] VERBOSE[3747] chan_sip.c: REGISTER 11 headers, 0 lines
[Aug 23 16:56:53] VERBOSE[3747] chan_sip.c: Reliably Transmitting (NAT) to 208.239.76.177:5060:
REGISTER sip:sip.varphonex.com SIP/2.0
Via: SIP/2.0/UDP 192.168.2.9:5060;branch=z9hG4bK56a41ace;rport
Max-Forwards: 70
From: <sip:YYYY001 em sip.varphonex.com>;tag=as5abf318f
To: <sip:YYYY001 em sip.varphonex.com>
Call-ID: 3e118b082dee13713c5c33476e66a23b em sip.varphonex.com
CSeq: 104 REGISTER
User-Agent: FPBX-2.8.1(1.8.7.0)
Authorization: Digest username="YYYY001", realm="sip.varphonex.com", algorithm=MD5, uri="sip:sip.varphonex.com", nonce="50368bbf855f6ca5dc9a170ed21e8c05bca7b068", response="737513a434420e715f2238e5fe0a5ae3", qop=auth, cnonce="1453ac2b", nc=00000002
Expires: 120
Contact: <sip:55114062XXXX em 192.168.2.9:5060>
Content-Length: 0


---
[Aug 23 16:56:53] VERBOSE[3747] chan_sip.c: 
<--- SIP read from UDP:208.239.76.177:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.9:5060;received=PPP.PPP.PPP.PPP;branch=z9hG4bK3f07d4d4;rport=5060
From: <sip:YYYY001 em sip.varphonex.com>;tag=as370c420f
To: <sip:YYYY001 em sip.varphonex.com>;tag=aprqrjmtc-3i4tur10000g6
Call-ID: 20109784731a0fe0224e9ba87ece0333 em sip.varphonex.com
CSeq: 104 REGISTER
Contact: <sip:114062XXXX em 192.168.2.9:5060>;expires=440
Contact: <sip:55114062XXXX em PPP.PPP.PPP.PPP:5060>;expires=3496
Contact: <sip:55113013XXXX em PPP.PPP.PPP.PPP:5060>;expires=3496
Contact: <sip:55113070XXXX em PPP.PPP.PPP.PPP:5060>;expires=3500
Content-Length: 0

<------------->
[Aug 23 16:56:53] VERBOSE[3747] chan_sip.c: --- (11 headers 0 lines) ---
[Aug 23 16:56:53] VERBOSE[3747] chan_sip.c: Scheduling destruction of SIP dialog '20109784731a0fe0224e9ba87ece0333 em sip.varphonex.com' in 6400 ms (Method: REGISTER)
[Aug 23 16:56:53] NOTICE[3747] chan_sip.c: Outbound Registration: Expiry for sip.varphonex.com is 120 sec (Scheduling reregistration in 105 s)
[Aug 23 16:56:53] NOTICE[3747] chan_sip.c:    -- Re-registration for  YYYY001 em sip.varphonex.com
[Aug 23 16:56:54] VERBOSE[3747] chan_sip.c: REGISTER 11 headers, 0 lines
[Aug 23 16:56:54] VERBOSE[3747] chan_sip.c: Reliably Transmitting (NAT) to 208.239.76.177:5060:
REGISTER sip:sip.varphonex.com SIP/2.0
Via: SIP/2.0/UDP 192.168.2.9:5060;branch=z9hG4bK695116b4;rport
Max-Forwards: 70
From: <sip:YYYY001 em sip.varphonex.com>;tag=as270f1556
To: <sip:YYYY001 em sip.varphonex.com>
Call-ID: 7182d38b21dc029c04f179345d436463 em sip.varphonex.com
CSeq: 104 REGISTER
User-Agent: FPBX-2.8.1(1.8.7.0)
Authorization: Digest username="YYYY001", realm="sip.varphonex.com", algorithm=MD5, uri="sip:sip.varphonex.com", nonce="50368bbf855f6ca5dc9a170ed21e8c05bca7b068", response="69d225cb1e7be66b5fa43a7a404d08e1", qop=auth, cnonce="3f76c44f", nc=00000002
Expires: 120
Contact: <sip:55113013XXXX em 192.168.2.9:5060>
Content-Length: 0


---
[Aug 23 16:56:54] VERBOSE[3747] chan_sip.c: 
<--- SIP read from UDP:208.239.76.177:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.9:5060;received=PPP.PPP.PPP.PPP;branch=z9hG4bK56a41ace;rport=5060
From: <sip:YYYY001 em sip.varphonex.com>;tag=as5abf318f
To: <sip:YYYY001 em sip.varphonex.com>;tag=aprqrjmtc-djspbs20000g6
Call-ID: 3e118b082dee13713c5c33476e66a23b em sip.varphonex.com
CSeq: 104 REGISTER
Contact: <sip:114062XXXX em 192.168.2.9:5060>;expires=440
Contact: <sip:55114062XXXX em PPP.PPP.PPP.PPP:5060>;expires=3500
Contact: <sip:55113013XXXX em PPP.PPP.PPP.PPP:5060>;expires=3496
Contact: <sip:55113070XXXX em PPP.PPP.PPP.PPP:5060>;expires=3500
Content-Length: 0

<------------->
[Aug 23 16:56:54] VERBOSE[3747] chan_sip.c: --- (11 headers 0 lines) ---
[Aug 23 16:56:54] VERBOSE[3747] chan_sip.c: Scheduling destruction of SIP dialog '3e118b082dee13713c5c33476e66a23b em sip.varphonex.com' in 6400 ms (Method: REGISTER)
[Aug 23 16:56:54] NOTICE[3747] chan_sip.c: Outbound Registration: Expiry for sip.varphonex.com is 120 sec (Scheduling reregistration in 105 s)
[Aug 23 16:56:54] VERBOSE[3747] chan_sip.c: Retransmitting #1 (NAT) to 208.239.76.177:5060:
REGISTER sip:sip.varphonex.com SIP/2.0
Via: SIP/2.0/UDP 192.168.2.9:5060;branch=z9hG4bK695116b4;rport
Max-Forwards: 70
From: <sip:YYYY001 em sip.varphonex.com>;tag=as270f1556
To: <sip:YYYY001 em sip.varphonex.com>
Call-ID: 7182d38b21dc029c04f179345d436463 em sip.varphonex.com
CSeq: 104 REGISTER
User-Agent: FPBX-2.8.1(1.8.7.0)
Authorization: Digest username="YYYY001", realm="sip.varphonex.com", algorithm=MD5, uri="sip:sip.varphonex.com", nonce="50368bbf855f6ca5dc9a170ed21e8c05bca7b068", response="69d225cb1e7be66b5fa43a7a404d08e1", qop=auth, cnonce="3f76c44f", nc=00000002
Expires: 120
Contact: <sip:55113013XXXX em 192.168.2.9:5060>
Content-Length: 0


---
[Aug 23 16:56:54] VERBOSE[3747] chan_sip.c: 
<--- SIP read from UDP:208.239.76.177:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.9:5060;received=PPP.PPP.PPP.PPP;branch=z9hG4bK695116b4;rport=5060
From: <sip:YYYY001 em sip.varphonex.com>;tag=as270f1556
To: <sip:YYYY001 em sip.varphonex.com>;tag=aprqrjmtc-1ibetr10000g6
Call-ID: 7182d38b21dc029c04f179345d436463 em sip.varphonex.com
CSeq: 104 REGISTER
Contact: <sip:114062XXXX em 192.168.2.9:5060>;expires=440
Contact: <sip:55114062XXXX em PPP.PPP.PPP.PPP:5060>;expires=3500
Contact: <sip:55113013XXXX em PPP.PPP.PPP.PPP:5060>;expires=3500
Contact: <sip:55113070XXXX em PPP.PPP.PPP.PPP:5060>;expires=3500
Content-Length: 0

<------------->
[Aug 23 16:56:54] VERBOSE[3747] chan_sip.c: --- (11 headers 0 lines) ---
[Aug 23 16:56:54] VERBOSE[3747] chan_sip.c: Scheduling destruction of SIP dialog '7182d38b21dc029c04f179345d436463 em sip.varphonex.com' in 6400 ms (Method: REGISTER)
[Aug 23 16:56:54] NOTICE[3747] chan_sip.c: Outbound Registration: Expiry for sip.varphonex.com is 120 sec (Scheduling reregistration in 105 s)
[Aug 23 16:56:54] VERBOSE[3747] chan_sip.c: 
<--- SIP read from UDP:208.239.76.177:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.9:5060;received=PPP.PPP.PPP.PPP;branch=z9hG4bK695116b4;rport=5060
From: <sip:YYYY001 em sip.varphonex.com>;tag=as270f1556
To: <sip:YYYY001 em sip.varphonex.com>;tag=aprqrjmtc-1ibetr10000g6
Call-ID: 7182d38b21dc029c04f179345d436463 em sip.varphonex.com
CSeq: 104 REGISTER
Contact: <sip:114062XXXX em 192.168.2.9:5060>;expires=440
Contact: <sip:55114062XXXX em PPP.PPP.PPP.PPP:5060>;expires=3500
Contact: <sip:55113013XXXX em PPP.PPP.PPP.PPP:5060>;expires=3500
Contact: <sip:55113070XXXX em PPP.PPP.PPP.PPP:5060>;expires=3500
Content-Length: 0

<------------->
[Aug 23 16:56:54] VERBOSE[3747] chan_sip.c: --- (11 headers 0 lines) ---
[Aug 23 16:57:00] VERBOSE[3747] chan_sip.c: Really destroying SIP dialog '20109784731a0fe0224e9ba87ece0333 em sip.varphonex.com' Method: REGISTER
[Aug 23 16:57:00] VERBOSE[3747] chan_sip.c: Really destroying SIP dialog '3e118b082dee13713c5c33476e66a23b em sip.varphonex.com' Method: REGISTER
[Aug 23 16:57:00] VERBOSE[3747] chan_sip.c: Really destroying SIP dialog '7182d38b21dc029c04f179345d436463 em sip.varphonex.com' Method: REGISTER


Em 23/08/2012, às 17:30, Oswaldo Galdino de A. Junior escreveu:

> Boa tarde João, 
> 
> Acho que vc ñ mandou o sip debug para a lista, pelo menos eu ñ vi.
> 
> O tronco registra normalmente?
> 
> A chamada chega até o server?
> 
> Vc configurou o tronco pela GUI ou modo texto?
> 
> Se foi pela GUI vá até PBX -> General Settings (ou Configurações Gerais)->
> no final da pagina Security Settings, a opção Allow Anonymous Inbound SIP
> Calls? Deve estar "NO" muda pra "YES", salva (se possível até reload na cli)
> e tenta receber.
> 
> Abraços!
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 23 Aug 2012 17:09:17 -0300
> From: João Marcelo Queiroz <jmbq em bol.com.br>
> Subject: Re: [AsteriskBrasil] RES: Troncos SIP Elastix - Não recebe
> To: asteriskbrasil em listas.asteriskbrasil.org
> Message-ID: <030AC6A2-D237-42D6-A454-60FFCD5BA84C em bol.com.br>
> Content-Type: text/plain; charset=iso-8859-1
> 
> Oswaldo,
> 
> obrigado pela ajuda.
> Configurei os mesmos troncos em outro servidor, em ambiente de teste (outra
> rede) e o problema persiste. O que pude observar é que colocando no Trixbox
> funciona.
> 
> O sip debug que enviei foi justamente desse ambiente, dessa vez sob NAT.
> 
> 
> João Marcelo
> 
> 
> 
> 
> Em 23/08/2012, às 16:38, Oswaldo Galdino de A. Junior escreveu:
> 
>> Boa tarde,
>> 
>> Testou em um outro server na rede (maquina virtual)?
>> 
>> Está registrando? Já aconteceu comigo de estar em request sent e estar 
>> fazendo normal só não recebendo, estava em um load balance com 02 links.
>> 
>> Criei uma regra no load balance.
>> 
>> Att,
>> 
>> Oswaldo Jr.
>> ----------------------------------------------------------------------
>> 
>> Message: 1
>> Date: Thu, 23 Aug 2012 16:02:49 -0300
>> From: João Marcelo Queiroz <jmbq em bol.com.br>
>> Subject: [AsteriskBrasil] Troncos SIP Elastix - Não recebe
>> To: asteriskbrasil em listas.asteriskbrasil.org
>> Message-ID: <8E419C1F-030D-4F1C-988E-D166A51E6755 em bol.com.br>
>> Content-Type: text/plain; charset="iso-8859-1"
>> 
>> 
>> Tinha alguns troncos SIP da Varphonex registrados em um servidor 
>> rodando Trixbox, tive que substitui por Elastix (2.2.0 - Asterisk 
>> 1.8.12), ocorre que agora não recebo mais chamadas, apenas as efetuo. 
>> O servidor possui IP real, logo descartei qualquer problema de NAT. 
>> Zerei por completo as regras do iptables e nada. A configuração dos 
>> troncos foi feita de forma idêntica ao servidor de origem (Trixbox).
>> 
>> Caso registre o tronco no softphone ele recebe chamadas sem o menor 
>> problema.
>> Nada aparece no log do asterisk. Mesmo com rota de entrada do tipo _X.
>> 
>> 
>> O tronco possui a seguinte configuração:
>> 
>> [tronco]
>> username=YYYYYY
>> type=peer
>> secret=XXXXXX
>> host=sip.varphonex.com
>> fromuser=YYYYYY
>> fromdomain=sip.varphonex.com
>> context=from-internal
>> canreinvite=no
>> qualify=yes
>> 
>> [sip.varphonex.com]
>> username=YYYYYY
>> user=XXXXXX
>> type=friend
>> insecure=port,invite
>> host=sip.varphonex.com
>> fromdomain=sip.varphonex.com
>> context=from-pstn
>> qualify=yes
>> 
>> Register: YYYYYY:XXXXXX em sip.varphonex.com/DID
>> 
>> Essa configuração funciona sem problemas no Trixbox.
>> Já tentei adicionar a linha de registro no sip_nat  , mas não deu certo.
>> 
>> 
>> 
>> 
>> Qualquer ajuda será bem vinda.
>> 
>> 
>> João Marcelo
> 
> _______________________________________________
> KHOMP Inovação: External Board Series
> Módulos de 1/2 rack e 1U para todas as interfaces e soluções Asterisk e FreeSWITCH.
> Tenha a External Series Experience na sua aplicação. Visite www.khomp.com
> _______________________________________________
> DIGIVOICE  Fabricante de Placas de Voz e Channel Bank
> 20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM
> Centro Treinamento - Curso de PABX IP -  Asterisk  - Site  www.digivoice.com.br
> ________
> YEALINK: Telefones IP e VídeoPhones IP com o melhor custo/benefício do mercado.
> email: yealink em commlogik.com.br | www.commlogik.com.br | (11) 5503-1011
> ______________________________________________
> Para remover seu email desta lista, basta enviar um email em branco para asteriskbrasil-unsubscribe em listas.asteriskbrasil.org



Mais detalhes sobre a lista de discussão AsteriskBrasil