Hi all,

I would like to report a bug in android Linphone version 3.3.0, where
incoming calls were droped after 30 seconds by Linphone. A SIP
signaling capture shows an abnormal behavior after the ACK signaling
(after the confirmation of 200 OK) arrives from the SIP gateway.
Linphone continue sending 200 OK up to 30 seconds and drop call. I
tested with Asterisk 1.4 and Asterisk 11 as SIP gateway.

Follows complete signaling

U 2017/11/16 13:29:30.192435 189.82.51.79:42687 -> 201.30.92.14:5060
INVITE sip:[email protected] SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.76:5060;branch=z9hG4bK.AVK-tMoaq;rport.
From: <sip:[email protected]>;tag=TpwgqzZAK.
To: sip:[email protected].
CSeq: 20 INVITE.
Call-ID: AJNb2fPiWv.
Max-Forwards: 70.
Supported: replaces, outbound.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO, UPDATE.
Content-Type: application/sdp.
Content-Length: 672.
Contact: <sip:[email protected]:42687;transport=udp>;+sip.instance="<ur
n:uuid:9ae4a293-6ef8-436c-9472-6748bd449a17>".
User-Agent: Linphone Desktop/4.1.1 (belle-sip/1.6.3).
.
v=0.
o=7171 1335 1811 IN IP4 192.168.0.76.
s=Talk.
c=IN IP4 192.168.0.76.
t=0 0.
a=ice-pwd:f6812104a6a514252018daad.
a=ice-ufrag:678884b9.
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-
metrics.
m=audio 44331 RTP/AVP 18 101.
c=IN IP4 189.82.51.79.
a=fmtp:18 annexb=yes.
a=rtpmap:101 telephone-event/8000.
a=candidate:1 1 UDP 2130706431 192.168.0.76 7078 typ host.
a=candidate:1 2 UDP 2130706430 192.168.0.76 7079 typ host.
a=candidate:2 1 UDP 1694498815 189.82.51.79 44331 typ srflx raddr
192.168.0.76 rport 7078.
a=candidate:2 2 UDP 1694498814 189.82.51.79 44332 typ srflx raddr
192.168.0.76 rport 7079.
a=rtcp-fb:* trr-int 5000.
a=rtcp-fb:* ccm tmmbr.

U 2017/11/16 13:29:30.192807 201.30.92.14:5060 -> 189.82.51.79:42687
SIP/2.0 407 Proxy Authentication Required.
Via: SIP/2.0/UDP 192.168.0.76:5060;branch=z9hG4bK.AVK-
tMoaq;received=189.82.51.79;rport=42687.
From: <sip:[email protected]>;tag=TpwgqzZAK.
To: sip:[email protected];tag=as0ece96c9.
Call-ID: AJNb2fPiWv.
CSeq: 20 INVITE.
User-Agent: Brasil Connecting Gateway.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO.
Supported: replaces.
Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk",
nonce="4453be82".
Content-Length: 0.

U 2017/11/16 13:29:30.312235 189.82.51.79:42687 -> 201.30.92.14:5060
ACK sip:[email protected] SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.76:5060;branch=z9hG4bK.AVK-tMoaq;rport.
Call-ID: AJNb2fPiWv.
From: <sip:[email protected]>;tag=TpwgqzZAK.
To: <sip:[email protected]>;tag=as0ece96c9.
Contact: <sip:[email protected]:42687;transport=udp>;+sip.instance="<ur
n:uuid:9ae4a293-6ef8-436c-9472-6748bd449a17>".
Max-Forwards: 70.
CSeq: 20 ACK.
.

U 2017/11/16 13:29:30.333832 189.82.51.79:42687 -> 201.30.92.14:5060
INVITE sip:[email protected] SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.76:5060;branch=z9hG4bK.E7IWqZgAh;rport.
From: <sip:[email protected]>;tag=TpwgqzZAK.
To: sip:[email protected].
CSeq: 21 INVITE.
Call-ID: AJNb2fPiWv.
Max-Forwards: 70.
Supported: replaces, outbound.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO, UPDATE.
Content-Type: application/sdp.
Content-Length: 672.
Contact: <sip:[email protected]:42687;transport=udp>;+sip.instance="<ur
n:uuid:9ae4a293-6ef8-436c-9472-6748bd449a17>".
User-Agent: Linphone Desktop/4.1.1 (belle-sip/1.6.3).
Proxy-Authorization:  Digest realm="asterisk", nonce="4453be82",
algorithm=MD5, username="7171",  uri="sip:[email protected]",
response="<CHANGED>".
.
v=0.
o=7171 1335 1811 IN IP4 192.168.0.76.
s=Talk.
c=IN IP4 192.168.0.76.
t=0 0.
a=ice-pwd:f6812104a6a514252018daad.
a=ice-ufrag:678884b9.
a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-
metrics.
m=audio 44331 RTP/AVP 18 101.
c=IN IP4 189.82.51.79.
a=fmtp:18 annexb=yes.
a=rtpmap:101 telephone-event/8000.
a=candidate:1 1 UDP 2130706431 192.168.0.76 7078 typ host.
a=candidate:1 2 UDP 2130706430 192.168.0.76 7079 typ host.
a=candidate:2 1 UDP 1694498815 189.82.51.79 44331 typ srflx raddr
192.168.0.76 rport 7078.
a=candidate:2 2 UDP 1694498814 189.82.51.79 44332 typ srflx raddr
192.168.0.76 rport 7079.
a=rtcp-fb:* trr-int 5000.
a=rtcp-fb:* ccm tmmbr.

U 2017/11/16 13:29:30.334321 201.30.92.14:5060 -> 189.82.51.79:42687
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP
192.168.0.76:5060;branch=z9hG4bK.E7IWqZgAh;received=189.82.51.79;rport=
42687.
From: <sip:[email protected]>;tag=TpwgqzZAK.
To: sip:[email protected].
Call-ID: AJNb2fPiWv.
CSeq: 21 INVITE.
User-Agent: Brasil Connecting Gateway.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO.
Supported: replaces.
Contact: <sip:[email protected]>.
Content-Length: 0.

U 2017/11/16 13:29:30.424739 201.30.92.14:5060 -> 177.79.58.95:26587
INVITE sip:[email protected]:26587;app-id=929724111839;pn-
type=firebase;pn-
tok=efLdcxKBAIw:APA91bEG853bQo1GOgsPKeUtK3pCaudCg1IpqNepq432-
uyk5iJbphu1PxAFIhBe0eLbdwpGECsw9uKMNU_0wGwpDKMQfyrmokyfg_n0ZC1rrsPp_6c0
szn4wiWAzyTdHbG-nLl8iDTt;pn-silent=1;transport=udp SIP/2.0.
Via: SIP/2.0/UDP 201.30.92.14:5060;branch=z9hG4bK32015fc4;rport.
From: "7171" <sip:[email protected]>;tag=as0d87cf6e.
To: <sip:[email protected]:26587;app-id=929724111839;pn-
type=firebase;pn-
tok=efLdcxKBAIw:APA91bEG853bQo1GOgsPKeUtK3pCaudCg1IpqNepq432-
uyk5iJbphu1PxAFIhBe0eLbdwpGECsw9uKMNU_0wGwpDKMQfyrmokyfg_n0ZC1rrsPp_6c0
szn4wiWAzyTdHbG-nLl8iDTt;pn-silent=1;transport=udp>.
Contact: <sip:[email protected]>.
Call-ID: [email protected].
CSeq: 102 INVITE.
User-Agent: Brasil Connecting Gateway.
Max-Forwards: 70.
Date: Thu, 16 Nov 2017 15:29:30 GMT.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO.
Supported: replaces.
Content-Type: application/sdp.
Content-Length: 406.
.
v=0.
o=root 28206 28206 IN IP4 201.30.92.14.
s=session.
c=IN IP4 201.30.92.14.
b=CT:384.
t=0 0.
m=audio 13100 RTP/AVP 18 3 0 8 101.
a=rtpmap:18 G729/8000.
a=fmtp:18 annexb=no.
a=rtpmap:3 GSM/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.
m=video 10190 RTP/AVP 34.
a=rtpmap:34 H263/90000.
a=sendrecv.

U 2017/11/16 13:29:32.349570 177.79.58.95:26587 -> 201.30.92.14:5060
SIP/2.0 100 Trying.
Via: SIP/2.0/UDP 201.30.92.14:5060;branch=z9hG4bK32015fc4;rport.
From: "7171" <sip:[email protected]>;tag=as0d87cf6e.
To: <sip:[email protected]:26587;app-id=929724111839;pn-
type=firebase;pn-
tok=efLdcxKBAIw:APA91bEG853bQo1GOgsPKeUtK3pCaudCg1IpqNepq432-
uyk5iJbphu1PxAFIhBe0eLbdwpGECsw9uKMNU_0wGwpDKMQfyrmokyfg_n0ZC1rrsPp_6c0
szn4wiWAzyTdHbG-nLl8iDTt;pn-silent=1;transport=udp>.
Call-ID: [email protected].
CSeq: 102 INVITE.
.

U 2017/11/16 13:29:32.999916 177.79.58.95:26587 -> 201.30.92.14:5060
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP 201.30.92.14:5060;branch=z9hG4bK32015fc4;rport.
From: "7171" <sip:[email protected]>;tag=as0d87cf6e.
To: <sip:[email protected]:26587;app-id=929724111839;pn-
type=firebase;pn-
tok=efLdcxKBAIw:APA91bEG853bQo1GOgsPKeUtK3pCaudCg1IpqNepq432-
uyk5iJbphu1PxAFIhBe0eLbdwpGECsw9uKMNU_0wGwpDKMQfyrmokyfg_n0ZC1rrsPp_6c0
szn4wiWAzyTdHbG-nLl8iDTt;pn-silent=1;transport=udp>;tag=lQadNAB.
Call-ID: [email protected].
CSeq: 102 INVITE.
User-Agent: LinphoneAndroid/3.3.0 (belle-sip/1.6.3).
Supported: replaces, outbound.
.

U 2017/11/16 13:29:33.000339 201.30.92.14:5060 -> 189.82.51.79:42687
SIP/2.0 180 Ringing.
Via: SIP/2.0/UDP
192.168.0.76:5060;branch=z9hG4bK.E7IWqZgAh;received=189.82.51.79;rport=
42687.
From: <sip:[email protected]>;tag=TpwgqzZAK.
To: sip:[email protected];tag=as7e3e3c7e.
Call-ID: AJNb2fPiWv.
CSeq: 21 INVITE.
User-Agent: Brasil Connecting Gateway.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO.
Supported: replaces.
Contact: <sip:[email protected]>.
Content-Length: 0.

U 2017/11/16 13:29:35.991030 177.79.58.95:26587 -> 201.30.92.14:5060
SIP/2.0 200 Ok.
Via: SIP/2.0/UDP 201.30.92.14:5060;branch=z9hG4bK32015fc4;rport.
From: "7171" <sip:[email protected]>;tag=as0d87cf6e.
To: <sip:[email protected]:26587;app-id=929724111839;pn-
type=firebase;pn-
tok=efLdcxKBAIw:APA91bEG853bQo1GOgsPKeUtK3pCaudCg1IpqNepq432-
uyk5iJbphu1PxAFIhBe0eLbdwpGECsw9uKMNU_0wGwpDKMQfyrmokyfg_n0ZC1rrsPp_6c0
szn4wiWAzyTdHbG-nLl8iDTt;pn-silent=1;transport=udp>;tag=lQadNAB.
Call-ID: [email protected].
CSeq: 102 INVITE.
User-Agent: LinphoneAndroid/3.3.0 (belle-sip/1.6.3).
Supported: replaces, outbound.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO, UPDATE.
Contact: <sip:[email protected]:26587;transport=udp>;+sip.instance="<ur
n:uuid:f2c8b9cc-331c-4d8b-adce-3496d73c5806>".
Content-Type: application/sdp.
Content-Length: 201.
.
v=0.
o=7172 2708 1410 IN IP4 177.79.58.95.
s=Talk.
c=IN IP4 177.79.58.95.
t=0 0.
m=audio 26584 RTP/AVP 18 101.
a=fmtp:18 annexb=yes.
a=rtpmap:101 telephone-event/8000.
m=video 0 RTP/AVP 0.
a=inactive.

U 2017/11/16 13:29:35.991626 201.30.92.14:5060 -> 177.79.58.95:26587
ACK sip:[email protected]:26587;transport=udp SIP/2.0.
Via: SIP/2.0/UDP 201.30.92.14:5060;branch=z9hG4bK3c1c7775;rport.
From: "7171" <sip:[email protected]>;tag=as0d87cf6e.
To: <sip:[email protected]:26587;app-id=929724111839;pn-
type=firebase;pn-
tok=efLdcxKBAIw:APA91bEG853bQo1GOgsPKeUtK3pCaudCg1IpqNepq432-
uyk5iJbphu1PxAFIhBe0eLbdwpGECsw9uKMNU_0wGwpDKMQfyrmokyfg_n0ZC1rrsPp_6c0
szn4wiWAzyTdHbG-nLl8iDTt;pn-silent=1;transport=udp>;ta.
Contact: <sip:[email protected]>.
Call-ID: [email protected].
CSeq: 102 ACK.
User-Agent: Brasil Connecting Gateway.
Max-Forwards: 70.
Content-Length: 0.

U 2017/11/16 13:29:35.992112 201.30.92.14:5060 -> 189.82.51.79:42687
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
192.168.0.76:5060;branch=z9hG4bK.E7IWqZgAh;received=189.82.51.79;rport=
42687.
From: <sip:[email protected]>;tag=TpwgqzZAK.
To: sip:[email protected];tag=as7e3e3c7e.
Call-ID: AJNb2fPiWv.
CSeq: 21 INVITE.
User-Agent: Brasil Connecting Gateway.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO.
Supported: replaces.
Contact: <sip:[email protected]>.
Content-Type: application/sdp.
Content-Length: 263.
.
v=0.
o=root 28206 28206 IN IP4 201.30.92.14.
s=session.
c=IN IP4 201.30.92.14.
t=0 0.
m=audio 16288 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=silenceSupp:off - - - -.
a=ptime:20.
a=sendrecv.

U 2017/11/16 13:29:36.201378 189.82.51.79:42687 -> 201.30.92.14:5060
ACK sip:[email protected] SIP/2.0.
Via: SIP/2.0/UDP 192.168.0.76:5060;rport;branch=z9hG4bK.BAdAca-Bl.
From: <sip:[email protected]>;tag=TpwgqzZAK.
To: <sip:[email protected]>;tag=as7e3e3c7e.
CSeq: 21 ACK.
Call-ID: AJNb2fPiWv.
Max-Forwards: 70.
Proxy-Authorization:  Digest realm="asterisk", nonce="4453be82",
algorithm=MD5, username="7171",  uri="sip:[email protected]",
response="<CHANGED>".
User-Agent: Linphone Desktop/4.1.1 (belle-sip/1.6.3).

U 2017/11/16 13:29:36.662882 177.79.58.95:26587 -> 201.30.92.14:5060
SIP/2.0 200 Ok.
Via: SIP/2.0/UDP 201.30.92.14:5060;branch=z9hG4bK32015fc4;rport.
From: "7171" <sip:[email protected]>;tag=as0d87cf6e.
To: <sip:[email protected]:26587;app-id=929724111839;pn-
type=firebase;pn-
tok=efLdcxKBAIw:APA91bEG853bQo1GOgsPKeUtK3pCaudCg1IpqNepq432-
uyk5iJbphu1PxAFIhBe0eLbdwpGECsw9uKMNU_0wGwpDKMQfyrmokyfg_n0ZC1rrsPp_6c0
szn4wiWAzyTdHbG-nLl8iDTt;pn-silent=1;transport=udp>;tag=lQadNAB.
Call-ID: [email protected].
CSeq: 102 INVITE.
User-Agent: LinphoneAndroid/3.3.0 (belle-sip/1.6.3).
Supported: replaces, outbound.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO, UPDATE.
Contact: <sip:[email protected]:26587;transport=udp>;+sip.instance="<ur
n:uuid:f2c8b9cc-331c-4d8b-adce-3496d73c5806>".
Content-Type: application/sdp.
Content-Length: 201.
.
v=0.
o=7172 2708 1410 IN IP4 177.79.58.95.
s=Talk.
c=IN IP4 177.79.58.95.
t=0 0.
m=audio 26584 RTP/AVP 18 101.
a=fmtp:18 annexb=yes.
a=rtpmap:101 telephone-event/8000.
m=video 0 RTP/AVP 0.
a=inactive.

U 2017/11/16 13:29:37.493325 177.79.58.95:26587 -> 201.30.92.14:5060
SIP/2.0 200 Ok.
Via: SIP/2.0/UDP 201.30.92.14:5060;branch=z9hG4bK32015fc4;rport.
From: "7171" <sip:[email protected]>;tag=as0d87cf6e.
To: <sip:[email protected]:26587;app-id=929724111839;pn-
type=firebase;pn-
tok=efLdcxKBAIw:APA91bEG853bQo1GOgsPKeUtK3pCaudCg1IpqNepq432-
uyk5iJbphu1PxAFIhBe0eLbdwpGECsw9uKMNU_0wGwpDKMQfyrmokyfg_n0ZC1rrsPp_6c0
szn4wiWAzyTdHbG-nLl8iDTt;pn-silent=1;transport=udp>;tag=lQadNAB.
Call-ID: [email protected].
CSeq: 102 INVITE.
User-Agent: LinphoneAndroid/3.3.0 (belle-sip/1.6.3).
Supported: replaces, outbound.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO, UPDATE.
Contact: <sip:[email protected]:26587;transport=udp>;+sip.instance="<ur
n:uuid:f2c8b9cc-331c-4d8b-adce-3496d73c5806>".
Content-Type: application/sdp.
Content-Length: 201.
.
v=0.
o=7172 2708 1410 IN IP4 177.79.58.95.
s=Talk.
c=IN IP4 177.79.58.95.
t=0 0.
m=audio 26584 RTP/AVP 18 101.
a=fmtp:18 annexb=yes.
a=rtpmap:101 telephone-event/8000.
m=video 0 RTP/AVP 0.
a=inactive.

...

U 2017/11/16 13:30:07.978615 177.79.58.95:26587 -> 201.30.92.14:5060
BYE sip:[email protected] SIP/2.0.
Via: SIP/2.0/UDP 177.79.58.95:26587;branch=z9hG4bK.MGufe5vGT;rport.
From: <sip:[email protected];app-id=929724111839;pn-type=firebase;pn-
tok=efLdcxKBAIw:APA91bEG853bQo1GOgsPKeUtK3pCaudCg1IpqNepq432-
uyk5iJbphu1PxAFIhBe0eLbdwpGECsw9uKMNU_0wGwpDKMQfyrmokyfg_n0ZC1rrsPp_6c0
szn4wiWAzyTdHbG-nLl8iDTt;pn-silent=1>;tag=lQadNAB.
To: "7171" <sip:[email protected]>;tag=as0d87cf6e.
CSeq: 111 BYE.
Call-ID: [email protected].
Max-Forwards: 70.
.

U 2017/11/16 13:30:07.978853 201.30.92.14:5060 -> 177.79.58.95:26587
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
177.79.58.95:26587;branch=z9hG4bK.MGufe5vGT;received=177.79.58.95;rport
=26587.
From: <sip:[email protected];app-id=929724111839;pn-type=firebase;pn-
tok=efLdcxKBAIw:APA91bEG853bQo1GOgsPKeUtK3pCaudCg1IpqNepq432-
uyk5iJbphu1PxAFIhBe0eLbdwpGECsw9uKMNU_0wGwpDKMQfyrmokyfg_n0ZC1rrsPp_6c0
szn4wiWAzyTdHbG-nLl8iDTt;pn-silent=1>;tag=lQadNAB.
To: "7171" <sip:[email protected]>;tag=as0d87cf6e.
Call-ID: [email protected].
CSeq: 111 BYE.
User-Agent: Brasil Connecting Gateway.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY,
INFO.
Supported: replaces.
Content-Length: 0.
.

U 2017/11/16 13:30:07.979225 201.30.92.14:5060 -> 189.82.51.79:42687
BYE sip:[email protected]:42687;transport=udp SIP/2.0.
Via: SIP/2.0/UDP 201.30.92.14:5060;branch=z9hG4bK341eb291;rport.
From: sip:[email protected];tag=as7e3e3c7e.
To: <sip:[email protected]>;tag=TpwgqzZAK.
Call-ID: AJNb2fPiWv.
CSeq: 102 BYE.
User-Agent: Brasil Connecting Gateway.
Max-Forwards: 70.
X-Asterisk-HangupCause: Normal Clearing.
X-Asterisk-HangupCauseCode: 16.
Content-Length: 0.
.

U 2017/11/16 13:30:08.152264 189.82.51.79:42687 -> 201.30.92.14:5060
SIP/2.0 200 Ok.
Via: SIP/2.0/UDP 201.30.92.14:5060;branch=z9hG4bK341eb291;rport.
From: <sip:[email protected]>;tag=as7e3e3c7e.
To: <sip:[email protected]>;tag=TpwgqzZAK.
Call-ID: AJNb2fPiWv.
CSeq: 102 BYE.
User-Agent: Linphone Desktop/4.1.1 (belle-sip/1.6.3).
Supported: replaces, outbound.
.



-- 
Ricardo O. Souza

Brasil Connecting
http://www.brasilconnecting.com.br


_______________________________________________
Linphone-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to