Hello,

which one is the IP of Kamailio. There seem to be two server applications.

Also, it is good to get the trace on kamailio server, on both sides of the call: to caller and to callee.

Cheers,
Daniel

On 11/12/15 17:34, Rene Montilva wrote:
Hi Alex

Thanks for you reply


these are the sip traces the good trace and the bad trace, in the bad trace, kamailio doesn't send BYE to endpoint

all users are nated

BAD trace:

U 2015/12/10 17:18:55.492978 24.216.216.133:8080 -> 220.42.4.1:5060
INVITE sip:584241055167@220.42.4.1:5060;transport=udp SIP/2.0
Record-Route: <sip:24.216.216.133:8080;lr=on;ftag=058c3b28;did=638.f362;nat=yes>
Via: SIP/2.0/UDP 24.216.216.133:8080;branch=z9hG4bKa68e.a8dc281ae158acb086546b7abb791321.0
Via: SIP/2.0/UDP 10.20.82.230;branch=z9hG4bKsr-gJeXVzfKDCu6W9BODmG8VQNipC1aVQNaRz7MRzDUpwqeTi6-Ao6GbmfaDC1wRC18DjTKDmBwpMWfbkW-AQ.dZo9KTiOuEQe7WzWdv8JMDQX8pjZ.DvJ.VkXspmYeRQfwpmfahkgMRzftZFYcZFXuRmZzDX**
Max-Forwards: 69
Contact: <sip:10.20.82.230;line=sr-ZieapegMpjX8RjN8pmGwDmeBDmG8VQNipC1aVQNaRz7MRzDUpi9nlk9zbmfaDC1wRC18DjTKDmBwLQgwDz9yDX**>;+sip.instance="<urn:uuid:421AA90E-079F-A326-B649-4F812AD13E79>"
To: <sip:584241055167@24.216.216.133>
From: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=058c3b28
Call-ID: 0meUSw2iwHBB7gN16wzNSA..
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, REGISTER, SUBSCRIBE, INFO
Content-Type: application/sdp
Supported: replaces
User-Agent: ChasquiMobile for Android
Content-Length: 304
 
v=0
o=- 1449789527 1 IN IP4 208.101.36.104
s=portsip.com
c=IN IP4 208.101.36.104
t=0 0
m=audio 46210 RTP/AVP 18 105 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:105 opus/48000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:20
a=sendrecv
a=nortpproxy:yes
 
U 2015/12/10 17:18:55.535196 220.42.4.1:5060 -> 24.216.216.133:8080
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 24.216.216.133:8080;branch=z9hG4bKa68e.a8dc281ae158acb086546b7abb791321.0
Via: SIP/2.0/UDP 10.20.82.230;branch=z9hG4bKsr-gJeXVzfKDCu6W9BODmG8VQNipC1aVQNaRz7MRzDUpwqeTi6-Ao6GbmfaDC1wRC18DjTKDmBwpMWfbkW-AQ.dZo9KTiOuEQe7WzWdv8JMDQX8pjZ.DvJ.VkXspmYeRQfwpmfahkgMRzftZFYcZFXuRmZzDX**
From: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=058c3b28
To: <sip:584241055167@24.216.216.133>
Call-ID: 0meUSw2iwHBB7gN16wzNSA..
Contact: <sip:220.42.4.1:5060>
CSeq: 2 INVITE
Server: sbc_5
Content-Length: 0
 
 
U 2015/12/10 17:18:59.162776 220.42.4.1:5060 -> 24.216.216.133:8080
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 24.216.216.133:8080;branch=z9hG4bKa68e.a8dc281ae158acb086546b7abb791321.0
Via: SIP/2.0/UDP 10.20.82.230;branch=z9hG4bKsr-gJeXVzfKDCu6W9BODmG8VQNipC1aVQNaRz7MRzDUpwqeTi6-Ao6GbmfaDC1wRC18DjTKDmBwpMWfbkW-AQ.dZo9KTiOuEQe7WzWdv8JMDQX8pjZ.DvJ.VkXspmYeRQfwpmfahkgMRzftZFYcZFXuRmZzDX**
From: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=058c3b28
To: <sip:584241055167@24.216.216.133>;tag=sbcsipuas_1_C14472_20151210181725542_b12sb11
Call-ID: 0meUSw2iwHBB7gN16wzNSA..
Contact: <sip:220.42.4.1:5060>
CSeq: 2 INVITE
Server: sbc_5
Content-Type: application/sdp
Content-Length: 233
 
v=0
o=SBCSIPUAS 1061672778 1 IN IP4 206.20.3.31
s=SBCSIPUAS SIP STACK v1.0
c=IN IP4 206.20.3.31
t=0 0
m=audio 22954 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=fmtp:18 annexb=no
 
U 2015/12/10 17:19:02.762625 220.42.4.1:5060 -> 24.216.216.133:8080
SIP/2.0 200 OK
Via: SIP/2.0/UDP 24.216.216.133:8080;branch=z9hG4bKa68e.a8dc281ae158acb086546b7abb791321.0
Via: SIP/2.0/UDP 10.20.82.230;branch=z9hG4bKsr-gJeXVzfKDCu6W9BODmG8VQNipC1aVQNaRz7MRzDUpwqeTi6-Ao6GbmfaDC1wRC18DjTKDmBwpMWfbkW-AQ.dZo9KTiOuEQe7WzWdv8JMDQX8pjZ.DvJ.VkXspmYeRQfwpmfahkgMRzftZFYcZFXuRmZzDX**
From: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=058c3b28
To: <sip:584241055167@24.216.216.133>;tag=sbcsipuas_1_C14472_20151210181725542_b12sb11
Call-ID: 0meUSw2iwHBB7gN16wzNSA..
Record-Route: <sip:24.216.216.133:8080;lr=on;ftag=058c3b28;did=638.f362;nat=yes>
Contact: <sip:220.42.4.1:5060>
CSeq: 2 INVITE
Allow: ACK,BYE,CANCEL,INVITE,OPTIONS,NOTIFY,INFO
Server: sbc_5
Content-Type: application/sdp
Content-Length: 233
 
v=0
o=SBCSIPUAS 1061672778 1 IN IP4 206.20.3.31
s=SBCSIPUAS SIP STACK v1.0
c=IN IP4 206.20.3.31
t=0 0
m=audio 22954 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=fmtp:18 annexb=no
 
U 2015/12/10 17:19:02.933917 24.216.216.133:8080 -> 220.42.4.1:5060
ACK sip:220.42.4.1:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 24.216.216.133:8080;branch=z9hG4bKa68e.b318090c34de29f93c1a85d490383a91.0
Via: SIP/2.0/UDP 10.20.82.230;branch=z9hG4bKsr-gJeXVzfKDCu6W9BODmG8VQNipC1aVQNaRz7MRzDUpwqeTi6-Ao6GbmfaDC1wRC18DjTKDmBwpMWfbkWQAQ.dZo9KTiOuEQe7WzWdv8JMDQX8pjZ.DvJ.Vk9dpjYQDmDaDzYoRHfiRQBtZFYcZFXuRmZzDX**
Max-Forwards: 69
Contact: <sip:10.20.82.230;line=sr-ZieapegMpjX8RjN8pmGwDmeBDmG8VQNipC1aVQNaRz7MRzDUpi9nlk9zbmfaDC1wRC18DjTKDmBwLQgwDz9yDX**>;+sip.instance="<urn:uuid:421AA90E-079F-A326-B649-4F812AD13E79>"
To: <sip:584241055167@24.216.216.133>;tag=sbcsipuas_1_C14472_20151210181725542_b12sb11
From: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=058c3b28
Call-ID: 0meUSw2iwHBB7gN16wzNSA..
CSeq: 2 ACK
User-Agent: ChasquiMobile for Android
Content-Length: 0
 
 
U 2015/12/10 17:19:08.492375 220.42.4.1:5060 -> 24.216.216.133:8080
BYE sip:10.20.82.230:8080 SIP/2.0
Via: SIP/2.0/UDP 220.42.4.1:5060;branch=z9hG4bK-1061672778-1
To: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=058c3b28
From: <sip:584241055167@24.216.216.133>;tag=sbcsipuas_1_C14472_20151210181725542_b12sb11
Call-ID: 0meUSw2iwHBB7gN16wzNSA..
Route: <sip:24.216.216.133:8080;lr=on;ftag=058c3b28;did=638.f362;nat=yes>
CSeq: 3 BYE
Max-Forwards: 70
Server: sbc_5
Content-Length: 0
 
 
U 2015/12/10 17:19:09.495287 220.42.4.1:5060 -> 24.216.216.133:8080
BYE sip:10.20.82.230:8080 SIP/2.0
Via: SIP/2.0/UDP 220.42.4.1:5060;branch=z9hG4bK-1061672778-1
To: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=058c3b28
From: <sip:584241055167@24.216.216.133>;tag=sbcsipuas_1_C14472_20151210181725542_b12sb11
Call-ID: 0meUSw2iwHBB7gN16wzNSA..
Route: <sip:24.216.216.133:8080;lr=on;ftag=058c3b28;did=638.f362;nat=yes>
CSeq: 3 BYE
Max-Forwards: 70
Server: sbc_5
Content-Length: 0
 
 
U 2015/12/10 17:19:10.496112 220.42.4.1:5060 -> 24.216.216.133:8080
BYE sip:10.20.82.230:8080 SIP/2.0
Via: SIP/2.0/UDP 220.42.4.1:5060;branch=z9hG4bK-1061672778-1
To: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=058c3b28
From: <sip:584241055167@24.216.216.133>;tag=sbcsipuas_1_C14472_20151210181725542_b12sb11
Call-ID: 0meUSw2iwHBB7gN16wzNSA..
Route: <sip:24.216.216.133:8080;lr=on;ftag=058c3b28;did=638.f362;nat=yes>
CSeq: 3 BYE
Max-Forwards: 70
Server: sbc_5
Content-Length: 0
 
 
U 2015/12/10 17:19:12.497416 220.42.4.1:5060 -> 24.216.216.133:8080
BYE sip:10.20.82.230:8080 SIP/2.0
Via: SIP/2.0/UDP 220.42.4.1:5060;branch=z9hG4bK-1061672778-1
To: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=058c3b28
From: <sip:584241055167@24.216.216.133>;tag=sbcsipuas_1_C14472_20151210181725542_b12sb11
Call-ID: 0meUSw2iwHBB7gN16wzNSA..
Route: <sip:24.216.216.133:8080;lr=on;ftag=058c3b28;did=638.f362;nat=yes>
CSeq: 3 BYE
Max-Forwards: 70
Server: sbc_5
Content-Length: 0
 
 
U 2015/12/10 17:19:16.501049 220.42.4.1:5060 -> 24.216.216.133:8080
BYE sip:10.20.82.230:8080 SIP/2.0
Via: SIP/2.0/UDP 220.42.4.1:5060;branch=z9hG4bK-1061672778-1
To: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=058c3b28
From: <sip:584241055167@24.216.216.133>;tag=sbcsipuas_1_C14472_20151210181725542_b12sb11
Call-ID: 0meUSw2iwHBB7gN16wzNSA..
Route: <sip:24.216.216.133:8080;lr=on;ftag=058c3b28;did=638.f362;nat=yes>
CSeq: 3 BYE
Max-Forwards: 70
Server: sbc_5
Content-Length: 0
 
 
U 2015/12/10 17:19:40.477970 24.216.216.133:8080 -> 220.42.4.1:5060
SIP/2.0 408 Request Timeout
Via: SIP/2.0/UDP 220.42.4.1:5060;branch=z9hG4bK-1061672778-1;rport=5060
To: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=058c3b28
From: <sip:584241055167@24.216.216.133>;tag=sbcsipuas_1_C14472_20151210181725542_b12sb11
Call-ID: 0meUSw2iwHBB7gN16wzNSA..
CSeq: 3 BYE
Content-Length: 0
 
 
U 2015/12/10 17:20:08.469539 24.216.216.133:8080 -> 220.42.4.1:5060
BYE sip:220.42.4.1:5060 SIP/2.0
Via: SIP/2.0/UDP 24.216.216.133:8080;branch=z9hG4bKb68e.3bfbe6804dbbbfc714c5666088fd6d1d.0
Via: SIP/2.0/UDP 10.20.82.230;branch=z9hG4bKsr-gJeXVzfKDCu6W9BODmG8VQNipC1aVQNaRz7MRzDUpwqeTi6-Ao6GbmfaDC1wRC18DjTKDmBwpMWfbkWQAQ.dZo9KTiOuEQe7WzWdv8JMDQX8pjZ.DvJ.Vm9dpjXspjAQDzYSDQZMRHTtZFYcZFXuRmZzDX**
Max-Forwards: 69
Contact: <sip:10.20.82.230;line=sr-ZieapegMpjX8RjN8pmGwDmeBDmG8VQNipC1aVQNaRz7MRzDUpi9nlk9zbmfaDC1wRC18DjTKDmBwLQgwDz9yDX**>;+sip.instance="<urn:uuid:421AA90E-079F-A326-B649-4F812AD13E79>"
To: <sip:584241055167@24.216.216.133>;tag=sbcsipuas_1_C14472_20151210181725542_b12sb11
From: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=058c3b28
Call-ID: 0meUSw2iwHBB7gN16wzNSA..
CSeq: 3 BYE
Proxy-Authorization: Digest username="U584241299719",realm="24.216.216.133",nonce="VmoImlZqCF79EL8FYxeVrcPazUfsmGRTTUVUDIA=",uri="sip:10.20.82.230;line=sr-ZieapQfURd1MD81JVQN4RmBiDB**",response="7a4808f19ee294b973ec16a900801c41",algorithm=MD5
User-Agent: ChasquiMobile for Android
Content-Length: 0
 
 
U 2015/12/10 17:20:08.511283 220.42.4.1:5060 -> 24.216.216.133:8080
SIP/2.0 481 Call/Transaction Does Not Exist
Via: SIP/2.0/UDP 24.216.216.133:8080;branch=z9hG4bKb68e.3bfbe6804dbbbfc714c5666088fd6d1d.0
Via: SIP/2.0/UDP 10.20.82.230;branch=z9hG4bKsr-gJeXVzfKDCu6W9BODmG8VQNipC1aVQNaRz7MRzDUpwqeTi6-Ao6GbmfaDC1wRC18DjTKDmBwpMWfbkWQAQ.dZo9KTiOuEQe7WzWdv8JMDQX8pjZ.DvJ.Vm9dpjXspjAQDzYSDQZMRHTtZFYcZFXuRmZzDX**
From: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=058c3b28
To: <sip:584241055167@24.216.216.133>;tag=sbcsipuas_1_C14472_20151210181725542_b12sb11
Call-ID: 0meUSw2iwHBB7gN16wzNSA..
CSeq: 3 BYE
Server: sbc_5
Content-Length: 0
 

GOOD trace

U 2015/12/10 16:56:38.110929 24.216.216.133:8080 -> 69.130.18.129:5060
INVITE sip:584169236298@69.130.18.129:5060;transport=udp SIP/2.0
Record-Route: <sip:24.216.216.133:8080;lr=on;ftag=8c238d52;did=258.7fe2;nat=yes>
Via: SIP/2.0/UDP 24.216.216.133:8080;branch=z9hG4bK6884.372a2595cb8c5c891ee983f5013180cb.0
Via: SIP/2.0/UDP 10.20.82.230;branch=z9hG4bKsr-gJeXVzfKDCu6W9BODmG8VQNipC1aVQNaRz7sDjB1pwqeTi6-Ao6GbmfaDC1wRC18DjTKDmBwpMWfbkW-AQ.dZo9KTiOuEQe7WzWdv8JMDQX8pjZ.DvJ.Vk6epmG8RmDihHhopjDzRmBtZFYcZFXupmBapB**
Max-Forwards: 69
Contact: <sip:10.20.82.230;line=sr-ZieapegMpjX8RjN8pmGwDmeBDmG8VQNipC1aVQNaRz7sDjB1pi9nlk9zbmfaDC1wRC18DjTKDmBwLQGaDjSyDX**>;+sip.instance="<urn:uuid:421AA90E-079F-A326-B649-4F812AD13E79>"
To: <sip:584169236298@24.216.216.133>
From: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=8c238d52
Call-ID: zVn-CxoHdb5lC8CtcNhjJg..
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, REGISTER, SUBSCRIBE, INFO
Content-Type: application/sdp
Supported: replaces
User-Agent: ChasquiMobile for Android
Content-Length: 304
 
v=0
o=- 1449788189 1 IN IP4 208.101.36.104
s=portsip.com
c=IN IP4 208.101.36.104
t=0 0
m=audio 25418 RTP/AVP 18 105 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:105 opus/48000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:20
a=sendrecv
a=nortpproxy:yes
 
U 2015/12/10 16:56:38.158872 69.130.18.129:5060 -> 24.216.216.133:8080
SIP/2.0 100 trying -- your call is important to us
Via: SIP/2.0/UDP 24.216.216.133:8080;branch=z9hG4bK6884.372a2595cb8c5c891ee983f5013180cb.0
Via: SIP/2.0/UDP 10.20.82.230;branch=z9hG4bKsr-gJeXVzfKDCu6W9BODmG8VQNipC1aVQNaRz7sDjB1pwqeTi6-Ao6GbmfaDC1wRC18DjTKDmBwpMWfbkW-AQ.dZo9KTiOuEQe7WzWdv8JMDQX8pjZ.DvJ.Vk6epmG8RmDihHhopjDzRmBtZFYcZFXupmBapB**
To: <sip:584169236298@24.216.216.133>
From: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=8c238d52
Call-ID: zVn-CxoHdb5lC8CtcNhjJg..
CSeq: 2 INVITE
Server: BTS Mia Proxy
Content-Length: 0
 
 
U 2015/12/10 16:56:39.258933 69.130.18.129:5060 -> 24.216.216.133:8080
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 24.216.216.133:8080;branch=z9hG4bK6884.372a2595cb8c5c891ee983f5013180cb.0
Via: SIP/2.0/UDP 10.20.82.230;branch=z9hG4bKsr-gJeXVzfKDCu6W9BODmG8VQNipC1aVQNaRz7sDjB1pwqeTi6-Ao6GbmfaDC1wRC18DjTKDmBwpMWfbkW-AQ.dZo9KTiOuEQe7WzWdv8JMDQX8pjZ.DvJ.Vk6epmG8RmDihHhopjDzRmBtZFYcZFXupmBapB**
Record-Route: <sip:69.130.18.129;lr=on;ftag=8c238d52;did=258.1837>
Record-Route: <sip:24.216.216.133:8080;lr=on;ftag=8c238d52;did=258.7fe2;nat=yes>
From: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=8c238d52
To: <sip:584169236298@24.216.216.133>;tag=5UZXQvye86yvD
Call-ID: zVn-CxoHdb5lC8CtcNhjJg..
CSeq: 2 INVITE
Contact: <sip:584169236298@79.170.68.148:5060;transport=udp>
User-Agent: BTS mia-minos-3
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length:229
 
v=0
o=nsc 1449826615 1449826616 IN IP4 79.170.71.55
s=nsc
c=IN IP4 79.170.71.55
t=0 0
m=audio 38506 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
 
U 2015/12/10 16:56:46.650815 69.130.18.129:5060 -> 24.216.216.133:8080
SIP/2.0 200 OK
Via: SIP/2.0/UDP 24.216.216.133:8080;branch=z9hG4bK6884.372a2595cb8c5c891ee983f5013180cb.0
Via: SIP/2.0/UDP 10.20.82.230;branch=z9hG4bKsr-gJeXVzfKDCu6W9BODmG8VQNipC1aVQNaRz7sDjB1pwqeTi6-Ao6GbmfaDC1wRC18DjTKDmBwpMWfbkW-AQ.dZo9KTiOuEQe7WzWdv8JMDQX8pjZ.DvJ.Vk6epmG8RmDihHhopjDzRmBtZFYcZFXupmBapB**
Record-Route: <sip:69.130.18.129;lr=on;ftag=8c238d52;did=258.1837>
Record-Route: <sip:24.216.216.133:8080;lr=on;ftag=8c238d52;did=258.7fe2;nat=yes>
From: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=8c238d52
To: <sip:584169236298@24.216.216.133>;tag=5UZXQvye86yvD
Call-ID: zVn-CxoHdb5lC8CtcNhjJg..
CSeq: 2 INVITE
Contact: <sip:584169236298@79.170.68.148:5060;transport=udp>
User-Agent: BTS mia-minos-3
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 230
 
v=0
o=nsc 1449826615 1449826616 IN IP4 79.170.71.154
s=nsc
c=IN IP4 79.170.71.55
t=0 0
m=audio 38506 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
 
U 2015/12/10 16:56:46.819585 24.216.216.133:8080 -> 69.130.18.129:5060
ACK sip:79.170.68.148:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 24.216.216.133:8080;branch=z9hG4bK6884.47e5cb804fd4b55d4e4910d648804728.0
Via: SIP/2.0/UDP 10.20.82.230;branch=z9hG4bKsr-gJeXVzfKDCu6W9BODmG8VQNipC1aVQNaRz7sDjB1pwqeTi6-Ao6GbmfaDC1wRC18DjTKDmBwpMWfbkWQAQ.dZo9KTiOuEQe7WzWdv8JMDQX8pjZ.DvJ.VmDiTzSehmZsDQhdTzqdRzgtZFYcZFXupmBapB**
Max-Forwards: 69
Route: <sip:69.130.18.129;lr=on;ftag=8c238d52;did=258.1837>
Contact: <sip:10.20.82.230;line=sr-ZieapegMpjX8RjN8pmGwDmeBDmG8VQNipC1aVQNaRz7sDjB1pi9nlk9zbmfaDC1wRC18DjTKDmBwLQGaDjSyDX**>;+sip.instance="<urn:uuid:421AA90E-079F-A326-B649-4F812AD13E79>"
To: <sip:584169236298@24.216.216.133>;tag=5UZXQvye86yvD
From: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=8c238d52
Call-ID: zVn-CxoHdb5lC8CtcNhjJg..
CSeq: 2 ACK
User-Agent: ChasquiMobile for Android
Content-Length: 0
 
 
U 2015/12/10 16:56:58.230885 69.130.18.129:5060 -> 24.216.216.133:8080
BYE sip:10.20.82.230;line=sr-ZieapegMpjX8RjN8pmGwDmeBDmG8VQNipC1aVQNaRz7sDjB1pi9nlk9zbmfaDC1wRC18DjTKDmBwLQGaDjSyDX** SIP/2.0
Via: SIP/2.0/UDP 69.130.18.129;branch=z9hG4bKe73f.f2cb15533ca61e80f00882840c4d4d42.0
Via: SIP/2.0/UDP 79.170.68.148;received=79.170.68.148;rport=5060;branch=z9hG4bKU2538rN94Z9ZS
Route: <sip:24.216.216.133:8080;lr=on;ftag=8c238d52;did=258.7fe2;nat=yes>
Max-Forwards: 69
From: <sip:584169236298@24.216.216.133>;tag=5UZXQvye86yvD
To: "<sip:=582127101002@" <sip:U584241299719@24.216.216.133>;tag=8c238d52
Call-ID: zVn-CxoHdb5lC8CtcNhjJg..
CSeq: 84558000 BYE
User-Agent: BTS mia-minos-3
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Reason: Q.850;cause=16;text="NORMAL_CLEARING"
Content-Length: 0
 
 
U 2015/12/10 16:56:58.387215 24.216.216.133:8080 -> 69.130.18.129:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 69.130.18.129;rport=5060;branch=z9hG4bKe73f.f2cb15533ca61e80f00882840c4d4d42.0
Via: SIP/2.0/UDP 79.170.68.148;received=79.170.68.148;rport=5060;branch=z9hG4bKU2538rN94Z9ZS
Contact: <sip:10.20.82.230;line=sr-ZieapegMpjX8RjN8pmGwDmeBDmG8VQNipC1aVQNaRz7sDjB1>;+sip.instance="<urn:uuid:421AA90E-079F-A326-B649-4F812AD13E79>"
To: "<sip:=582127101002@"<sip:U584241299719@24.216.216.133>;tag=8c238d52
From: <sip:584169236298@24.216.216.133>;tag=5UZXQvye86yvD
Call-ID: zVn-CxoHdb5lC8CtcNhjJg..
CSeq: 84558000 BYE
User-Agent: ChasquiMobile for Android
Content-Length: 0
 


On Thu, Dec 10, 2015 at 6:35 PM, Alex Balashov <abalashov@evaristesys.com> wrote:
Hi Rene,

On 12/10/2015 06:01 PM, Rene Montilva wrote:

What could be the scenario, when hangup a call and kamailio show empty
the $du var and can't send BYE to endpoint

$du is ordinarily only set when the network and transport-layer destination of the request is different to where consuming the domain part of the request URI ($ru) would normally take it.

What's $ru say for the BYE, and is it reachable? Does it match the Contact of the dialog party to which it's going? Do other end-to-end sequential requests work, e.g. end-to-end ACK for 2xx INVITE reply?

--
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--
Ing. Rene Montilva
FOSS Developer and VoIP Engineer.



_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu