[Blink] Issues with incoming calls and BYE (mac)

Andy Spitzer woof at iwoof.org
Sun Nov 21 18:07:01 CET 2010


Woof@

On Sun, 21 Nov 2010 03:47:29 -0500, Saúl Ibarra Corretgé  
<saul at ag-projects.com> wrote:

> Hi,
>
> On 11/21/2010 05:51 AM, Andy Spitzer wrote:
>> There seems to be two interesting issues with regards to incoming calls
>> and BYE.
>>
>> First, on an incoming call when the hangup button is pressed, the Blink
>> client doesn't send a BYE to the far end. Nothing shows up in the log,
>> nothing shows up on the wire. Blink closes the call dialog, but never
>> tells the far end.
>>
>
> I'm not able to reproduce that. Was the call established? Did the 200 OK  
> already arrive and the ACK was sent?

Yes, 200 OK and ACK were sent and received.  See trace below.

>
>> Second, if the far end sends a BYE, Blink complains that the CSEQ is
>> incorrect and rejects the BYE:
>>
>
> Can you please paste a full SIP trace so we can check better?

Sure, here is a trace of an incoming call, answered by Blink.  Then the  
originator hangs up:


RECEIVED: Packet 11, +0:00:49.158029
2010-11-21 11:54:01.143414: 192.168.1.208:44645 -(SIP over tcp)->  
192.168.1.205:5160
INVITE sip:yovtramh at 192.168.1.205:5160;x-sipX-nonat SIP/2.0
Record-Route:  
<sip:192.168.1.208:5060;lr;sipXecs-CallDest=INT;sipXecs-rs=*auth~.*from~NjUzMzMyMDM1!c7126901742dc28acc96e27bff50102d7bff50102d>
Via: SIP/2.0/TCP 192.168.1.208;branch=z9hG4bK-XX-12c29ZA2naOdJUL6iDXdQb8MeA
Via: SIP/2.0/UDP  
192.168.1.208;branch=z9hG4bK-XX-12bf_6GKiD6r81M2WDfuaUkwyQ~5Gm50s4IGLQJuj5iqg6fJQ
Via: SIP/2.0/UDP 192.168.1.235:2529;rport=2529;branch=z9hG4bK467652309
From: <sip:1000 at netra.fuzzy>;tag=653332035
To: <sip:1001 at netra.fuzzy>
Call-Id: 1788533825
Cseq: 21 INVITE
Contact: <sip:1000 at 192.168.1.235:2529;x-sipX-nonat>
Proxy-Authorization: Digest username="1000", realm="netra.fuzzy",  
nonce="7b68523451db3d7b6272f1f41d3e4be34ce60131",  
uri="sip:1001 at netra.fuzzy", response="ff62a41c654caca0a34b34c029c45133",  
algorithm=MD5, cnonce="0a4f113b", qop=auth, nc=00000001
Content-Type: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,  
SUBSCRIBE, INFO
Max-Forwards: 18
User-Agent: Linphone/3.3.99.4 (eXosip2/3.3.0)
Subject: Phone call
Content-Length: 234
Date: Fri, 19 Nov 2010 04:46:41 GMT
Expires: 20

v=0
o=1000 123456 654321 IN IP4 192.168.1.235
s=A conversation
c=IN IP4 192.168.1.235
b=AS:128
t=0 0
m=audio 7076 RTP/AVP 0 101
b=AS:80
a=rtpmap:0 PCMU/8000/1
a=rtpmap:101 telephone-event/8000/1
a=fmtp:101 0-11
a=sendrecv

SENDING: Packet 12, +0:00:49.185041
2010-11-21 11:54:01.170426: 192.168.1.205:5160 -(SIP over tcp)->  
192.168.1.208:44645
SIP/2.0 100 Trying
Via: SIP/2.0/TCP  
192.168.1.208;received=192.168.1.208;branch=z9hG4bK-XX-12c29ZA2naOdJUL6iDXdQb8MeA
Via: SIP/2.0/UDP  
192.168.1.208;branch=z9hG4bK-XX-12bf_6GKiD6r81M2WDfuaUkwyQ~5Gm50s4IGLQJuj5iqg6fJQ
Via: SIP/2.0/UDP 192.168.1.235:2529;rport=2529;branch=z9hG4bK467652309
Record-Route:  
<sip:192.168.1.208:5060;lr;sipXecs-CallDest=INT;sipXecs-rs=*auth~.*from~NjUzMzMyMDM1!c7126901742dc28acc96e27bff50102d>
Call-ID: 1788533825
From: <sip:1000 at netra.fuzzy>;tag=653332035
To: <sip:1001 at netra.fuzzy>
CSeq: 21 INVITE
Server: Blink 0.20.4 (MacOSX)
Content-Length:  0

SENDING: Packet 13, +0:00:50.268502
2010-11-21 11:54:02.253887: 192.168.1.205:5160 -(SIP over tcp)->  
192.168.1.208:44645
SIP/2.0 180 Ringing
Via: SIP/2.0/TCP  
192.168.1.208;received=192.168.1.208;branch=z9hG4bK-XX-12c29ZA2naOdJUL6iDXdQb8MeA
Via: SIP/2.0/UDP  
192.168.1.208;branch=z9hG4bK-XX-12bf_6GKiD6r81M2WDfuaUkwyQ~5Gm50s4IGLQJuj5iqg6fJQ
Via: SIP/2.0/UDP 192.168.1.235:2529;rport=2529;branch=z9hG4bK467652309
Record-Route:  
<sip:192.168.1.208:5060;lr;sipXecs-CallDest=INT;sipXecs-rs=*auth~.*from~NjUzMzMyMDM1!c7126901742dc28acc96e27bff50102d>
Call-ID: 1788533825
From: <sip:1000 at netra.fuzzy>;tag=653332035
To: <sip:1001 at netra.fuzzy>;tag=9Hzxv.KBbqAx.LjjM1BddLjx24ScNYcQ
CSeq: 21 INVITE
Server: Blink 0.20.4 (MacOSX)
Contact: <sip:yovtramh at 192.168.1.205:5160;x-sipX-nonat>
Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE
Content-Length:  0

SENDING: Packet 14, +0:00:54.639169
2010-11-21 11:54:06.624554: 192.168.1.205:5160 -(SIP over tcp)->  
192.168.1.208:44645
SIP/2.0 200 OK
Via: SIP/2.0/TCP  
192.168.1.208;received=192.168.1.208;branch=z9hG4bK-XX-12c29ZA2naOdJUL6iDXdQb8MeA
Via: SIP/2.0/UDP  
192.168.1.208;branch=z9hG4bK-XX-12bf_6GKiD6r81M2WDfuaUkwyQ~5Gm50s4IGLQJuj5iqg6fJQ
Via: SIP/2.0/UDP 192.168.1.235:2529;rport=2529;branch=z9hG4bK467652309
Record-Route:  
<sip:192.168.1.208:5060;lr;sipXecs-CallDest=INT;sipXecs-rs=*auth~.*from~NjUzMzMyMDM1!c7126901742dc28acc96e27bff50102d>
Call-ID: 1788533825
From: <sip:1000 at netra.fuzzy>;tag=653332035
To: <sip:1001 at netra.fuzzy>;tag=9Hzxv.KBbqAx.LjjM1BddLjx24ScNYcQ
CSeq: 21 INVITE
Server: Blink 0.20.4 (MacOSX)
Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE
Contact: <sip:yovtramh at 192.168.1.205:5160;x-sipX-nonat>
Supported: 100rel
Content-Type: application/sdp
Content-Length:   238

v=0
o=- 3499347246 3499347247 IN IP4 192.168.1.205
s=Blink 0.20.4 (MacOSX)
c=IN IP4 192.168.1.205
t=0 0
m=audio 50000 RTP/AVP 0 101
a=rtcp:50001
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

RECEIVED: Packet 15, +0:00:54.846033
2010-11-21 11:54:06.831418: 192.168.1.208:5060 -(SIP over UDP)->  
192.168.1.205:5160
ACK sip:yovtramh at 192.168.1.205:5160;x-sipX-nonat SIP/2.0
Via: SIP/2.0/UDP 192.168.1.208;branch=z9hG4bK-XX-12c5_yg`k8dRnJTaszZiHjtNrw
Via: SIP/2.0/UDP 192.168.1.235:2529;rport=2529;branch=z9hG4bK1111803922
From: <sip:1000 at netra.fuzzy>;tag=653332035
To: <sip:1001 at netra.fuzzy>;tag=9Hzxv.KBbqAx.LjjM1BddLjx24ScNYcQ
Call-Id: 1788533825
Cseq: 21 ACK
Contact: <sip:1000 at 192.168.1.235:2529;x-sipX-nonat>
Proxy-Authorization: Digest username="1000", realm="netra.fuzzy",  
nonce="7b68523451db3d7b6272f1f41d3e4be34ce60131",  
uri="sip:1001 at netra.fuzzy", response="ff62a41c654caca0a34b34c029c45133",  
algorithm=MD5, cnonce="0a4f113b", qop=auth, nc=00000001
Max-Forwards: 20
User-Agent: Linphone/3.3.99.4 (eXosip2/3.3.0)
Content-Length: 0
Date: Fri, 19 Nov 2010 04:46:46 GMT

RECEIVED: Packet 16, +0:01:10.265838
2010-11-21 11:54:22.251223: 192.168.1.208:5060 -(SIP over UDP)->  
192.168.1.205:5160
BYE sip:yovtramh at 192.168.1.205:5160;x-sipX-nonat SIP/2.0
Via: SIP/2.0/UDP 192.168.1.208;branch=z9hG4bK-XX-12e8E7sy5d4RHi4iQMT1XYFibw
Via: SIP/2.0/UDP 192.168.1.235:2529;rport=2529;branch=z9hG4bK1753896825
From: <sip:1000 at netra.fuzzy>;tag=653332035
To: <sip:1001 at netra.fuzzy>;tag=9Hzxv.KBbqAx.LjjM1BddLjx24ScNYcQ
Call-Id: 1788533825
Cseq: 22 BYE
Contact: <sip:1000 at 192.168.1.235:2529;x-sipX-nonat>
Max-Forwards: 20
User-Agent: Linphone/3.3.99.4 (eXosip2/3.3.0)
Content-Length: 0
Date: Fri, 19 Nov 2010 04:47:02 GMT

RECEIVED: Packet 17, +0:01:10.399280
2010-11-21 11:54:22.384665: 192.168.1.208:5060 -(SIP over UDP)->  
192.168.1.205:5160
BYE sip:yovtramh at 192.168.1.205:5160;x-sipX-nonat SIP/2.0
Via: SIP/2.0/UDP 192.168.1.208;branch=z9hG4bK-XX-12e8E7sy5d4RHi4iQMT1XYFibw
Via: SIP/2.0/UDP 192.168.1.235:2529;rport=2529;branch=z9hG4bK1753896825
From: <sip:1000 at netra.fuzzy>;tag=653332035
To: <sip:1001 at netra.fuzzy>;tag=9Hzxv.KBbqAx.LjjM1BddLjx24ScNYcQ
Call-Id: 1788533825
Cseq: 22 BYE
Contact: <sip:1000 at 192.168.1.235:2529;x-sipX-nonat>
Max-Forwards: 20
User-Agent: Linphone/3.3.99.4 (eXosip2/3.3.0)
Content-Length: 0
Date: Fri, 19 Nov 2010 04:47:02 GMT

SENDING: Packet 18, +0:01:10.399346
2010-11-21 11:54:22.384731: 192.168.1.205:5160 -(SIP over UDP)->  
192.168.1.208:5060
SIP/2.0 500 Invalid CSeq
Via: SIP/2.0/UDP  
192.168.1.208;received=192.168.1.208;branch=z9hG4bK-XX-12e8E7sy5d4RHi4iQMT1XYFibw
Via: SIP/2.0/UDP 192.168.1.235:2529;rport=2529;branch=z9hG4bK1753896825
Call-ID: 1788533825
From: <sip:1000 at netra.fuzzy>;tag=653332035
To: <sip:1001 at netra.fuzzy>;tag=9Hzxv.KBbqAx.LjjM1BddLjx24ScNYcQ
CSeq: 22 BYE
Server: Blink 0.20.4 (MacOSX)
Content-Length:  0

Thanks for looking into this.

--Woof!



More information about the Blink mailing list