[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-users] [Bug] Wrong owner/connection address advertised in SDP
From: |
Jean-Pierre Höhmann |
Subject: |
[Linphone-users] [Bug] Wrong owner/connection address advertised in SDP on machines with multiple interfaces |
Date: |
Fri, 23 Dec 2016 17:53:10 +0100 |
User-agent: |
NeoMutt/20161126 (1.7.1) |
Hi,
I have recently encountered a problem when trying to set up your
softphone on a machine with multiple interfaces.
Under these circumstances, linphonec will advertise the wrong address
(in this case 10.45.10.6), causing the connection to fail.
Searching the mailing list, I found two entries, that seem to describe
the same problem, but neither presents a satisfactory solution.
Judging from answers to the existing reports, this might be a bug in
a library used by Linephone, however I have too little knowledge of the
project (and too little time to change that), to be able to directly
file a bug there. I will, however, be happy to provide any additional
information needed.
Participants:
Linphone: 172.23.130.6
Asterisk: 172.23.123.15
Routes on Client:
0.0.0.0/1 via 10.45.10.5 dev tun0 default via 172.23.123.2 dev wlp4s0
src 172.23.123.111 metric 302
10.45.10.1 via 10.45.10.5 dev tun0
10.45.10.5 dev tun0 proto kernel scope link src 10.45.10.6
104.238.169.116 via 172.23.123.2 dev wlp4s0
128.0.0.0/1 via 10.45.10.5 dev tun0
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1
linkdown
172.23.123.0/24 via 172.23.130.5 dev tun1
172.23.123.0/24 dev wlp4s0 proto kernel scope link src 172.23.123.111
metric 302
172.23.130.0/24 via 172.23.130.5 dev tun1
172.23.130.5 dev tun1 proto kernel scope link src 172.23.130.6
Example dissect:
Frame 115: 864 bytes on wire (6912 bits), 864 bytes captured (6912 bits)
on interface 0
Ethernet II, Src: Foxconn_0a:4a:b5 (00:15:58:0a:4a:b5), Dst: Vmware_3f:e7:2e
(00:0c:29:3f:e7:2e)
Internet Protocol Version 4, Src: 172.23.130.6, Dst: 172.23.123.15
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (200)
Status-Line: SIP/2.0 200 Ok
Message Header
Via: SIP/2.0/UDP 172.23.123.15:5060;branch=z9hG4bK270d5e65
Transport: UDP
Sent-by Address: 172.23.123.15
Sent-by port: 5060
Branch: z9hG4bK270d5e65
From: "Wohn 1 DECT" <sip:address@hidden>;tag=as5d23c283
To: <sip:address@hidden;transport=udp>;tag=2XkzQeq
Call-ID: address@hidden:5060
CSeq: 102 INVITE
User-Agent: Linphonec/3.10.2 (belle-sip/1.5.0)
Supported: replaces, outbound
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO, UPDATE
Contact:
<sip:address@hidden;transport=udp>;+sip.instance="<urn:uuid:621bb133-c8a0-4187-9c3e-2738da633e73>"
Content-Type: application/sdp
Content-Length: 220
Message Body
Session Description Protocol
Session Description Protocol Version (v): 0
Owner/Creator, Session Id (o): 22 2995 462 IN IP4 10.45.10.6
Owner Username: 22
Session ID: 2995
Session Version: 462
Owner Network Type: IN
Owner Address Type: IP4
Owner Address: 10.45.10.6
Session Name (s): Talk
Connection Information (c): IN IP4 10.45.10.6
Time Description, active time (t): 0 0
Media Description, name and address (m): audio 7078 RTP/AVP 8 0 110
101
Media Attribute (a): rtpmap:110 speex/8000
Media Attribute (a): fmtp:110 vbr=on
Media Attribute (a): rtpmap:101 telephone-event/8000
Media Description, name and address (m): video 0 RTP/AVP 0
Media Attribute (a): inactive
Findings:
http://lists.nongnu.org/archive/html/linphone-users/2006-09/msg00025.html
http://lists.nongnu.org/archive/html/linphone-users/2012-02/msg00045.html
--
Thank you for your efforts,
Jean-Pierre Höhmann
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Linphone-users] [Bug] Wrong owner/connection address advertised in SDP on machines with multiple interfaces,
Jean-Pierre Höhmann <=