Hello. I have a problem with the configuration of a remote extensions. Calls are truncated at 20 seconds.
I got my NAT firewall properly configured. Here I attached my debug in CLI:
[code]
e[0KReliably Transmitting (NAT) to 190.113.109.189:1024:
OPTIONS sip:500@190.113.109.189:5060 SIP/2.0
Via: SIP/2.0/UDP 201.237.180.158:5060;branch=z9hG4bK580703b1;rport
Max-Forwards: 70
From: “Unknown” sip:Unknown@201.237.180.158;tag=as7de0aab0
To: sip:500@190.113.109.189:5060
Contact: sip:Unknown@201.237.180.158:5060
Call-ID: 4e00bf825f48c9fd06a1522f07b0f84f@201.237.180.158:5060
CSeq: 102 OPTIONS
User-Agent: FPBX-2.8.1(1.8.20.0)
Date: Wed, 18 Dec 2013 17:55:23 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
<— SIP read from UDP:190.113.109.189:1024 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 201.237.180.158:5060;branch=z9hG4bK580703b1;rport=5060
From: “Unknown” sip:Unknown@201.237.180.158;tag=as7de0aab0
To: sip:500@190.113.109.189:5060;tag=1444883487
Call-ID: 4e00bf825f48c9fd06a1522f07b0f84f@201.237.180.158:5060
CSeq: 102 OPTIONS
Supported: replaces, path, timer
User-Agent: Grandstream GXP1160 1.0.5.15
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Length: 0
<------------->
<— SIP read from UDP:190.113.109.189:1024 —>
INVITE sip:83226044@201.237.180.158 SIP/2.0
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK291986337;rport
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 180 INVITE
Contact: sip:500@190.113.109.189:5060
Max-Forwards: 70
User-Agent: Grandstream GXP1160 1.0.5.15
Privacy: none
P-Preferred-Identity: sip:500@201.237.180.158
Supported: replaces, path, timer
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Type: application/sdp
Accept: application/sdp, application/dtmf-relay
Content-Length: 383
v=0
o=500 8000 8000 IN IP4 190.113.109.189
s=SIP Call
c=IN IP4 190.113.109.189
t=0 0
m=audio 5004 RTP/AVP 18 8 4 9 97 2 101
a=sendrecv
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=ptime:20
a=rtpmap:8 PCMA/8000
a=rtpmap:4 G723/8000
a=rtpmap:9 G722/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:2 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
<------------->
<— Reliably Transmitting (NAT) to 190.113.109.189:1024 —>
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK291986337;received=190.113.109.189;rport=1024
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158;tag=as078d7da9
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 180 INVITE
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="46a6d67d"
Content-Length: 0
<------------>
e[0KRetransmitting #1 (NAT) to 190.113.109.189:1024:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK291986337;received=190.113.109.189;rport=1024
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158;tag=as078d7da9
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 180 INVITE
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm=“asterisk”, nonce="46a6d67d"
Content-Length: 0
<— SIP read from UDP:190.113.109.189:1024 —>
ACK sip:83226044@201.237.180.158 SIP/2.0
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK291986337;rport
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158;tag=as078d7da9
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 180 ACK
Content-Length: 0
<------------->
<— SIP read from UDP:190.113.109.189:1024 —>
INVITE sip:83226044@201.237.180.158 SIP/2.0
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK895970443;rport
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 181 INVITE
Contact: sip:500@190.113.109.189:5060
Authorization: Digest username=“500”, realm=“asterisk”, nonce=“46a6d67d”, uri="sip:83226044@201.237.180.158", response=“77056a42de69524617d73b3b9e55dda9”, algorithm=MD5
Max-Forwards: 70
User-Agent: Grandstream GXP1160 1.0.5.15
Privacy: none
P-Preferred-Identity: sip:500@201.237.180.158
Supported: replaces, path, timer
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Type: application/sdp
Accept: application/sdp, application/dtmf-relay
Content-Length: 383
v=0
o=500 8000 8000 IN IP4 190.113.109.189
s=SIP Call
c=IN IP4 190.113.109.189
t=0 0
m=audio 5004 RTP/AVP 18 8 4 9 97 2 101
a=sendrecv
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=ptime:20
a=rtpmap:8 PCMA/8000
a=rtpmap:4 G723/8000
a=rtpmap:9 G722/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:2 G726-32/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
<------------->
<— Transmitting (NAT) to 190.113.109.189:1024 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK895970443;received=190.113.109.189;rport=1024
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 181 INVITE
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:83226044@201.237.180.158:5060
Content-Length: 0
<------------>
<— Transmitting (NAT) to 190.113.109.189:1024 —>
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK895970443;received=190.113.109.189;rport=1024
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158;tag=as66b6dcff
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 181 INVITE
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:83226044@201.237.180.158:5060
Content-Type: application/sdp
Content-Length: 314
v=0
o=root 2030287715 2030287715 IN IP4 201.237.180.158
s=Asterisk PBX 1.8.20.0
c=IN IP4 201.237.180.158
t=0 0
m=audio 18334 RTP/AVP 9 18 8 101
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<------------>
e[0K
<— SIP read from UDP:190.113.109.189:1024 —>
ACK sip:83226044@201.237.180.158 SIP/2.0
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK291986337;rport
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158;tag=as078d7da9
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 180 ACK
Content-Length: 0
<------------->
<— Reliably Transmitting (NAT) to 190.113.109.189:1024 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK895970443;received=190.113.109.189;rport=1024
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158;tag=as66b6dcff
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 181 INVITE
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:83226044@201.237.180.158:5060
Content-Type: application/sdp
Content-Length: 314
v=0
o=root 2030287715 2030287716 IN IP4 201.237.180.158
s=Asterisk PBX 1.8.20.0
c=IN IP4 201.237.180.158
t=0 0
m=audio 18334 RTP/AVP 9 18 8 101
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
<------------>
e[0K – Locally bridging SIP/500-000000af and SIP/gateway-000000b0
e[0KRetransmitting #1 (NAT) to 190.113.109.189:1024:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK895970443;received=190.113.109.189;rport=1024
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158;tag=as66b6dcff
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 181 INVITE
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:83226044@201.237.180.158:5060
e[0KContent-Type: application/sdp
Content-Length: 314
v=0
o=root 2030287715 2030287716 IN IP4 201.237.180.158
s=Asterisk PBX 1.8.20.0
c=IN IP4 201.237.180.158
t=0 0
m=audio 18334 RTP/AVP 9 18 8 101
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
e[0KRetransmitting #2 (NAT) to 190.113.109.189:1024:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK895970443;received=190.113.109.189;rport=1024
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158;tag=as66b6dcff
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 181 INVITE
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:83226044@201.237.180.158:5060
e[0KContent-Type: application/sdp
Content-Length: 314
v=0
o=root 2030287715 2030287716 IN IP4 201.237.180.158
s=Asterisk PBX 1.8.20.0
c=IN IP4 201.237.180.158
t=0 0
m=audio 18334 RTP/AVP 9 18 8 101
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
e[0KRetransmitting #3 (NAT) to 190.113.109.189:1024:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK895970443;received=190.113.109.189;rport=1024
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158;tag=as66b6dcff
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 181 INVITE
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:83226044@201.237.180.158:5060
e[0KContent-Type: application/sdp
Content-Length: 314
v=0
o=root 2030287715 2030287716 IN IP4 201.237.180.158
s=Asterisk PBX 1.8.20.0
c=IN IP4 201.237.180.158
t=0 0
m=audio 18334 RTP/AVP 9 18 8 101
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
e[0KRetransmitting #4 (NAT) to 190.113.109.189:1024:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK895970443;received=190.113.109.189;rport=1024
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158;tag=as66b6dcff
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 181 INVITE
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:83226044@201.237.180.158:5060
e[0KContent-Type: application/sdp
Content-Length: 314
v=0
o=root 2030287715 2030287716 IN IP4 201.237.180.158
s=Asterisk PBX 1.8.20.0
c=IN IP4 201.237.180.158
t=0 0
m=audio 18334 RTP/AVP 9 18 8 101
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
e[0KRetransmitting #5 (NAT) to 190.113.109.189:1024:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK895970443;received=190.113.109.189;rport=1024
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158;tag=as66b6dcff
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 181 INVITE
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:83226044@201.237.180.158:5060
e[0KContent-Type: application/sdp
Content-Length: 314
v=0
o=root 2030287715 2030287716 IN IP4 201.237.180.158
s=Asterisk PBX 1.8.20.0
c=IN IP4 201.237.180.158
t=0 0
m=audio 18334 RTP/AVP 9 18 8 101
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
e[0KRetransmitting #6 (NAT) to 190.113.109.189:1024:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK895970443;received=190.113.109.189;rport=1024
From: sip:500@201.237.180.158;tag=1785161547
To: sip:83226044@201.237.180.158;tag=as66b6dcff
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 181 INVITE
Server: FPBX-2.8.1(1.8.20.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:83226044@201.237.180.158:5060
e[0KContent-Type: application/sdp
Content-Length: 314
v=0
o=root 2030287715 2030287716 IN IP4 201.237.180.158
s=Asterisk PBX 1.8.20.0
c=IN IP4 201.237.180.158
t=0 0
m=audio 18334 RTP/AVP 9 18 8 101
a=rtpmap:9 G722/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
e[0KReliably Transmitting (NAT) to 190.113.109.189:1024:
BYE sip:500@190.113.109.189:5060 SIP/2.0
Via: SIP/2.0/UDP 201.237.180.158:5060;branch=z9hG4bK69adf13f;rport
Max-Forwards: 70
From: sip:83226044@201.237.180.158;tag=as66b6dcff
To: sip:500@201.237.180.158;tag=1785161547
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 102 BYE
User-Agent: FPBX-2.8.1(1.8.20.0)
Proxy-Authorization: Digest username=“500”, realm=“asterisk”, algorithm=MD5, uri=“sip:201.237.180.158”, nonce="", response="62d27937fdf6d838f8331e598518d361"
X-Asterisk-HangupCause: No user responding
X-Asterisk-HangupCauseCode: 18
Content-Length: 0
e[0KRetransmitting #1 (NAT) to 190.113.109.189:1024:
BYE sip:500@190.113.109.189:5060 SIP/2.0
Via: SIP/2.0/UDP 201.237.180.158:5060;branch=z9hG4bK69adf13f;rport
Max-Forwards: 70
From: sip:83226044@201.237.180.158;tag=as66b6dcff
To: sip:500@201.237.180.158;tag=1785161547
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 102 BYE
User-Agent: FPBX-2.8.1(1.8.20.0)
Proxy-Authorization: Digest username=“500”, realm=“asterisk”, algorithm=MD5, uri=“sip:201.237.180.158”, nonce="", response="62d27937fdf6d838f8331e598518d361"
X-Asterisk-HangupCause: No user responding
X-Asterisk-HangupCauseCode: 18
Content-Length: 0
<— SIP read from UDP:190.113.109.189:1024 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK69adf13f;rport=5060
From: sip:83226044@201.237.180.158;tag=as66b6dcff
To: sip:500@201.237.180.158;tag=1785161547
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 102 BYE
Contact: sip:500@190.113.109.189:5060
Supported: replaces, path, timer
User-Agent: Grandstream GXP1160 1.0.5.15
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Length: 0
<------------->
e[0KSIP Response message for INCOMING dialog BYE arrived
Really destroying SIP dialog ‘599413041-5060-19@BJC.BGI.A.BAG’ Method: INVITE
<— SIP read from UDP:190.113.109.189:1024 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 190.113.109.189:5060;branch=z9hG4bK69adf13f;rport=5060
From: sip:83226044@201.237.180.158;tag=as66b6dcff
To: sip:500@201.237.180.158;tag=1785161547
Call-ID: 599413041-5060-19@BJC.BGI.A.BAG
CSeq: 102 BYE
Contact: sip:500@190.113.109.189:5060
Supported: replaces, path, timer
User-Agent: Grandstream GXP1160 1.0.5.15
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE, MESSAGE
Content-Length: 0
<------------->[/code]
Thank you!