[Blink] no audio if multiple ip-addresses are active

Kenny MacDermid kenny.macdermid at gmail.com
Wed Aug 11 00:04:43 CEST 2010


On 10 August 2010 18:15, Saúl Ibarra Corretgé <saul at ag-projects.com> wrote:
>
> Hello,
>
> On 10/08/10 23:00, Kenny MacDermid wrote:
>>
>> Hello,
>>
>> I just subscribed to this list, and see someone already posted about the
>> problem I'm having. Blink is creating incorrect o= and a= sdp lines, so
>> no audio is received when multiple interfaces exist.
>>
>
> AFAIK the o line should not be used for routing and is not usually mangled by server-side NAT traversal helpers, but it should be right anyway. Can you please send a SIP trace so we can check what might be going wrong?

Here's the differences I see between a working SIP/SDP connection with
another client, and Blink:

My vlan IP is 10.1.15.10, other IPs on interfaces are 172.27.0.148 and
192.168.53.1.

For the initial invite, X is the other client, B is Blink:

X: INVITE sip:918007475150 at 10.1.20.7;transport=udp SIP/2.0
B: INVITE sip:918007475150 at 10.1.20.7 SIP/2.0

X: Via: SIP/2.0/UDP
10.1.15.10:35060;branch=z9hG4bK-d8754z-cd13430b3700605d-1---d8754z-;rport
B: Via: SIP/2.0/UDP
192.168.53.1:50200;rport;branch=z9hG4bKPjgI0zX.MMVgnKbuS4io19Qse-bpMpctyh

-- this is the first case of the wrong IP address. 192.168.53.1 is
actually the IP of a vmware interface that's not used for any normal
traffic.

X: Contact: <sip:432 at 10.1.15.10:35060;transport=udp>
B: Contact: <sip:tjrkpxia at 172.27.0.148:50200>

-- this is the second incorrect address. 172.27.0.148 is the IP of the
default route interface. Also 432 is the extension of the client. I'm
not sure what tjrkpxia is.

Now in SDP:

X: o=- 8 2 IN IP4 10.1.15.10
B: o=- 3490461286 3490461286 IN IP4 172.27.0.148

X: c=IN IP4 10.1.15.10
B: c=IN IP4 172.27.0.148

the a= lines also differ, but I doubt they'd matter.

These both result in a TRYING, and then OK. The only difference in the
OK is that the VIA sent to blink contains the 192.168.53.1 address
again:

X: Via: SIP/2.0/UDP
10.1.15.10:35060;branch=z9hG4bK-d8754z-389e4b0db963dd1d-1---d8754z-;rport
B: Via: SIP/2.0/UDP
192.168.53.1:50200;received=10.1.15.10;rport;branch=z9hG4bKPjCyOAaVPtvcVTmDG8JlClpVAyWlWlCyAb

I'm not sure how this mailing list is with attachments, but I'll
include a .txt of the working and non-working SIP connections from
Wireshark. I deleted the Authorization: headers.

Kenny
-------------- next part --------------
INVITE sip:918007475150 at 10.1.20.7 SIP/2.0
Via: SIP/2.0/UDP 192.168.53.1:50200;rport;branch=z9hG4bKPjgI0zX.MMVgnKbuS4io19Qse-bpMpctyh
Max-Forwards: 70
From: "Kenny MacDermid" <sip:432 at 10.1.20.7>;tag=qTFrRZIQZEG01sawLFtPxeaSRYh4IOXd
To: <sip:918007475150 at 10.1.20.7>
Contact: <sip:tjrkpxia at 172.27.0.148:50200>
Call-ID: qDCu7LdflPHMjGVo.qk3DbHnthxCJm29
CSeq: 30051 INVITE
Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE
Supported: 100rel
User-Agent: Blink 0.19.3 (MacOSX)
Content-Type: application/sdp
Content-Length:   393

v=0
o=- 3490461286 3490461286 IN IP4 172.27.0.148
s=Blink 0.19.3 (MacOSX)
c=IN IP4 172.27.0.148
t=0 0
m=audio 50088 RTP/AVP 104 103 102 9 0 8 101
a=rtcp:50089 IN IP4 192.168.53.1
a=rtpmap:104 speex/32000
a=rtpmap:103 speex/16000
a=rtpmap:102 speex/8000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.53.1:50200;received=10.1.15.10;rport;branch=z9hG4bKPjgI0zX.MMVgnKbuS4io19Qse-bpMpctyh
WWW-Authenticate: Digest realm="ShoreTel",domain="sip:shoretel.com",nonce="ShoreTel:4028626320",stale=false,algorithm=md5,opaque="0"
From: "Kenny MacDermid" <sip:432 at 10.1.20.7>;tag=qTFrRZIQZEG01sawLFtPxeaSRYh4IOXd
To: <sip:918007475150 at 10.1.20.7>;tag=shorUA_4028626320-107688177
Call-ID: qDCu7LdflPHMjGVo.qk3DbHnthxCJm29
CSeq: 30051 INVITE
Supported: timer
User-Agent: ShoreGear/15.21.3903.0 (ShoreTel 10.1)
Contact: DefaultProfileUdp <sip:DefaultProfileUdp at 10.1.20.7:5060>
Content-Length: 0


ACK sip:918007475150 at 10.1.20.7 SIP/2.0
Via: SIP/2.0/UDP 192.168.53.1:50200;rport;branch=z9hG4bKPjgI0zX.MMVgnKbuS4io19Qse-bpMpctyh
Max-Forwards: 70
From: "Kenny MacDermid" <sip:432 at 10.1.20.7>;tag=qTFrRZIQZEG01sawLFtPxeaSRYh4IOXd
To: <sip:918007475150 at 10.1.20.7>;tag=shorUA_4028626320-107688177
Call-ID: qDCu7LdflPHMjGVo.qk3DbHnthxCJm29
CSeq: 30051 ACK
User-Agent: Blink 0.19.3 (MacOSX)
Content-Length:  0


INVITE sip:918007475150 at 10.1.20.7 SIP/2.0
Via: SIP/2.0/UDP 192.168.53.1:50200;rport;branch=z9hG4bKPjCyOAaVPtvcVTmDG8JlClpVAyWlWlCyAb
Max-Forwards: 70
From: "Kenny MacDermid" <sip:432 at 10.1.20.7>;tag=qTFrRZIQZEG01sawLFtPxeaSRYh4IOXd
To: <sip:918007475150 at 10.1.20.7>
Contact: <sip:tjrkpxia at 172.27.0.148:50200>
Call-ID: qDCu7LdflPHMjGVo.qk3DbHnthxCJm29
CSeq: 30052 INVITE
Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE
Supported: 100rel
User-Agent: Blink 0.19.3 (MacOSX)
Authorization: Digest username="432", realm="ShoreTel", nonce="ShoreTel:4028626320", uri="sip:918007475150 at 10.1.20.7", response="a9eec394e3d0bc2a3f9bd9c756ab4413", algorithm=md5, opaque="0"
Content-Type: application/sdp
Content-Length:   393

v=0
o=- 3490461286 3490461286 IN IP4 172.27.0.148
s=Blink 0.19.3 (MacOSX)
c=IN IP4 172.27.0.148
t=0 0
m=audio 50088 RTP/AVP 104 103 102 9 0 8 101
a=rtcp:50089 IN IP4 192.168.53.1
a=rtpmap:104 speex/32000
a=rtpmap:103 speex/16000
a=rtpmap:102 speex/8000
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv

SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.53.1:50200;received=10.1.15.10;rport;branch=z9hG4bKPjCyOAaVPtvcVTmDG8JlClpVAyWlWlCyAb
From: "Kenny MacDermid" <sip:432 at 10.1.20.7>;tag=qTFrRZIQZEG01sawLFtPxeaSRYh4IOXd
To: <sip:918007475150 at 10.1.20.7>
Call-ID: qDCu7LdflPHMjGVo.qk3DbHnthxCJm29
CSeq: 30052 INVITE
Supported: timer
User-Agent: ShoreGear/15.21.3903.0 (ShoreTel 10.1)
Contact: DefaultProfileUdp <sip:DefaultProfileUdp at 10.1.20.7:5060>
Content-Length: 0


SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.53.1:50200;received=10.1.15.10;rport;branch=z9hG4bKPjCyOAaVPtvcVTmDG8JlClpVAyWlWlCyAb
From: "Kenny MacDermid" <sip:432 at 10.1.20.7>;tag=qTFrRZIQZEG01sawLFtPxeaSRYh4IOXd
To: <sip:918007475150 at 10.1.20.7>;tag=shorUA_4030170320-107688180
Call-ID: qDCu7LdflPHMjGVo.qk3DbHnthxCJm29
CSeq: 30052 INVITE
Supported: timer
User-Agent: ShoreGear/15.21.3903.0 (ShoreTel 10.1)
Contact: Unknown <sip:TGrp_6-p20 at 10.1.20.7:5060>
Allow: INVITE,BYE,CANCEL,ACK,INFO,OPTIONS,SUBSCRIBE,NOTIFY,MESSAGE,REFER,UPDATE,REGISTER
Content-Type: application/sdp
Content-Length: 176

v=0
o=ShoreGear 0 1 IN IP4 10.1.20.3
s=-
c=IN IP4 10.1.20.3
t=0 0
m=audio 10324 RTP/AVP 0 102
a=rtpmap:0 PCMU/8000/1
a=rtpmap:102 telephone-event/8000
a=fmtp:102 0-15

ACK sip:TGrp_6-p20 at 10.1.20.7:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.53.1:50200;rport;branch=z9hG4bKPjgHYkxsG.7WUT.pvR5S4rtE2.I-tDTOoW
Max-Forwards: 70
From: "Kenny MacDermid" <sip:432 at 10.1.20.7>;tag=qTFrRZIQZEG01sawLFtPxeaSRYh4IOXd
To: <sip:918007475150 at 10.1.20.7>;tag=shorUA_4030170320-107688180
Call-ID: qDCu7LdflPHMjGVo.qk3DbHnthxCJm29
CSeq: 30052 ACK
User-Agent: Blink 0.19.3 (MacOSX)
Content-Length:  0


BYE sip:TGrp_6-p20 at 10.1.20.7:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.53.1:50200;rport;branch=z9hG4bKPjn.LLm-oEnmmKoIa2DyV7cmOtY-Z9RHeI
Max-Forwards: 70
From: "Kenny MacDermid" <sip:432 at 10.1.20.7>;tag=qTFrRZIQZEG01sawLFtPxeaSRYh4IOXd
To: <sip:918007475150 at 10.1.20.7>;tag=shorUA_4030170320-107688180
Call-ID: qDCu7LdflPHMjGVo.qk3DbHnthxCJm29
CSeq: 30053 BYE
User-Agent: Blink 0.19.3 (MacOSX)
Content-Length:  0


SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.53.1:50200;received=10.1.15.10;rport;branch=z9hG4bKPjn.LLm-oEnmmKoIa2DyV7cmOtY-Z9RHeI
From: "Kenny MacDermid" <sip:432 at 10.1.20.7>;tag=qTFrRZIQZEG01sawLFtPxeaSRYh4IOXd
To: <sip:918007475150 at 10.1.20.7>;tag=shorUA_4030170320-107688180
Call-ID: qDCu7LdflPHMjGVo.qk3DbHnthxCJm29
CSeq: 30053 BYE
User-Agent: ShoreGear/15.21.3903.0 (ShoreTel 10.1)
Contact: Unknown <sip:TGrp_6-p20 at 10.1.20.7:5060>
Allow: INVITE,BYE,CANCEL,ACK,INFO,OPTIONS,SUBSCRIBE,NOTIFY,MESSAGE,REFER,UPDATE,REGISTER
Content-Length: 0

-------------- next part --------------
INVITE sip:918007475150 at 10.1.20.7;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.1.15.10:35060;branch=z9hG4bK-d8754z-cd13430b3700605d-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:432 at 10.1.15.10:35060;transport=udp>
To: <sip:918007475150 at 10.1.20.7>
From: "Kenny"<sip:432 at 10.1.20.7>;tag=aa97e87f
Call-ID: MWYwYTM4YzBlYjQ5ZDA1NDEwYzE3MmQzYmY1ZWEyODc.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: X-Lite Beta release 4.0 v3 stamp 56227
Content-Length: 379

v=0
o=- 8 2 IN IP4 10.1.15.10
s=CounterPath X-Lite 4.0
c=IN IP4 10.1.15.10
t=0 0
m=audio 35062 RTP/AVP 0 8 101
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 4 : xK1SGjrI LyWR8Bkg 172.27.0.148 35062
a=alt:2 3 : krIpdTkX zC31qnCf 192.168.53.1 35062
a=alt:3 2 : kS1AVhjt moJ7TI8d 192.168.25.1 35062
a=alt:4 1 : dYtklsG7 zbNuC7Ob 10.1.15.10 35062

SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 10.1.15.10:35060;branch=z9hG4bK-d8754z-cd13430b3700605d-1---d8754z-;rport
WWW-Authenticate: Digest realm="ShoreTel",domain="sip:shoretel.com",nonce="ShoreTel:3866126320",stale=false,algorithm=md5,opaque="0"
From: "Kenny" <sip:432 at 10.1.20.7>;tag=aa97e87f
To: <sip:918007475150 at 10.1.20.7>;tag=shorUA_3866126320-107688162
Call-ID: MWYwYTM4YzBlYjQ5ZDA1NDEwYzE3MmQzYmY1ZWEyODc.
CSeq: 1 INVITE
Supported: timer
User-Agent: ShoreGear/15.21.3903.0 (ShoreTel 10.1)
Contact: DefaultProfileUdp <sip:DefaultProfileUdp at 10.1.20.7:5060>
Content-Length: 0


ACK sip:918007475150 at 10.1.20.7;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.1.15.10:35060;branch=z9hG4bK-d8754z-cd13430b3700605d-1---d8754z-;rport
Max-Forwards: 70
To: <sip:918007475150 at 10.1.20.7>;tag=shorUA_3866126320-107688162
From: "Kenny"<sip:432 at 10.1.20.7>;tag=aa97e87f
Call-ID: MWYwYTM4YzBlYjQ5ZDA1NDEwYzE3MmQzYmY1ZWEyODc.
CSeq: 1 ACK
Content-Length: 0


INVITE sip:918007475150 at 10.1.20.7;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.1.15.10:35060;branch=z9hG4bK-d8754z-389e4b0db963dd1d-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:432 at 10.1.15.10:35060;transport=udp>
To: <sip:918007475150 at 10.1.20.7>
From: "Kenny"<sip:432 at 10.1.20.7>;tag=aa97e87f
Call-ID: MWYwYTM4YzBlYjQ5ZDA1NDEwYzE3MmQzYmY1ZWEyODc.
CSeq: 2 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: X-Lite Beta release 4.0 v3 stamp 56227
Authorization: Digest username="432",realm="ShoreTel",nonce="ShoreTel:3866126320",uri="sip:918007475150 at 10.1.20.7;transport=udp",response="4f12768c4b8e46ff27b31f27c8f0539c",algorithm=md5,opaque="0"
Content-Length: 379

v=0
o=- 8 2 IN IP4 10.1.15.10
s=CounterPath X-Lite 4.0
c=IN IP4 10.1.15.10
t=0 0
m=audio 35062 RTP/AVP 0 8 101
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=alt:1 4 : xK1SGjrI LyWR8Bkg 172.27.0.148 35062
a=alt:2 3 : krIpdTkX zC31qnCf 192.168.53.1 35062
a=alt:3 2 : kS1AVhjt moJ7TI8d 192.168.25.1 35062
a=alt:4 1 : dYtklsG7 zbNuC7Ob 10.1.15.10 35062

SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.1.15.10:35060;branch=z9hG4bK-d8754z-389e4b0db963dd1d-1---d8754z-;rport
From: "Kenny" <sip:432 at 10.1.20.7>;tag=aa97e87f
To: <sip:918007475150 at 10.1.20.7>
Call-ID: MWYwYTM4YzBlYjQ5ZDA1NDEwYzE3MmQzYmY1ZWEyODc.
CSeq: 2 INVITE
Supported: timer
User-Agent: ShoreGear/15.21.3903.0 (ShoreTel 10.1)
Contact: DefaultProfileUdp <sip:DefaultProfileUdp at 10.1.20.7:5060>
Content-Length: 0


SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.1.15.10:35060;branch=z9hG4bK-d8754z-389e4b0db963dd1d-1---d8754z-;rport
From: "Kenny" <sip:432 at 10.1.20.7>;tag=aa97e87f
To: <sip:918007475150 at 10.1.20.7>;tag=shorUA_3867760320-107688165
Call-ID: MWYwYTM4YzBlYjQ5ZDA1NDEwYzE3MmQzYmY1ZWEyODc.
CSeq: 2 INVITE
Supported: timer
User-Agent: ShoreGear/15.21.3903.0 (ShoreTel 10.1)
Contact: Unknown <sip:TGrp_6-p21 at 10.1.20.7:5060>
Allow: INVITE,BYE,CANCEL,ACK,INFO,OPTIONS,SUBSCRIBE,NOTIFY,MESSAGE,REFER,UPDATE,REGISTER
Content-Type: application/sdp
Content-Length: 176

v=0
o=ShoreGear 0 1 IN IP4 10.1.20.3
s=-
c=IN IP4 10.1.20.3
t=0 0
m=audio 10320 RTP/AVP 0 102
a=rtpmap:0 PCMU/8000/1
a=rtpmap:102 telephone-event/8000
a=fmtp:102 0-15

ACK sip:TGrp_6-p21 at 10.1.20.7:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.15.10:35060;branch=z9hG4bK-d8754z-d57c36490f5faf11-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:432 at 10.1.15.10:35060;transport=udp>
To: <sip:918007475150 at 10.1.20.7>;tag=shorUA_3867760320-107688165
From: "Kenny"<sip:432 at 10.1.20.7>;tag=aa97e87f
Call-ID: MWYwYTM4YzBlYjQ5ZDA1NDEwYzE3MmQzYmY1ZWEyODc.
CSeq: 2 ACK
User-Agent: X-Lite Beta release 4.0 v3 stamp 56227
Authorization: Digest username="432",realm="ShoreTel",nonce="ShoreTel:3866126320",uri="sip:918007475150 at 10.1.20.7;transport=udp",response="4f12768c4b8e46ff27b31f27c8f0539c",algorithm=md5,opaque="0"
Content-Length: 0


BYE sip:TGrp_6-p21 at 10.1.20.7:5060 SIP/2.0
Via: SIP/2.0/UDP 10.1.15.10:35060;branch=z9hG4bK-d8754z-507e470968ac023b-1---d8754z-;rport
Max-Forwards: 70
Contact: <sip:432 at 10.1.15.10:35060;transport=udp>
To: <sip:918007475150 at 10.1.20.7>;tag=shorUA_3867760320-107688165
From: "Kenny"<sip:432 at 10.1.20.7>;tag=aa97e87f
Call-ID: MWYwYTM4YzBlYjQ5ZDA1NDEwYzE3MmQzYmY1ZWEyODc.
CSeq: 3 BYE
User-Agent: X-Lite Beta release 4.0 v3 stamp 56227
Authorization: Digest username="432",realm="ShoreTel",nonce="ShoreTel:3866126320",uri="sip:TGrp_6-p21 at 10.1.20.7:5060",response="cde683e2bb9330eb4456d14ca94436d9",algorithm=md5,opaque="0"
Reason: SIP;description="User Hung Up"
Content-Length: 0


SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.1.15.10:35060;branch=z9hG4bK-d8754z-507e470968ac023b-1---d8754z-;rport
From: "Kenny" <sip:432 at 10.1.20.7>;tag=aa97e87f
To: <sip:918007475150 at 10.1.20.7>;tag=shorUA_3867760320-107688165
Call-ID: MWYwYTM4YzBlYjQ5ZDA1NDEwYzE3MmQzYmY1ZWEyODc.
CSeq: 3 BYE
User-Agent: ShoreGear/15.21.3903.0 (ShoreTel 10.1)
Contact: Unknown <sip:TGrp_6-p21 at 10.1.20.7:5060>
Allow: INVITE,BYE,CANCEL,ACK,INFO,OPTIONS,SUBSCRIBE,NOTIFY,MESSAGE,REFER,UPDATE,REGISTER
Content-Length: 0



More information about the Blink mailing list