[Bug 31166] SIP INVITE SDP contact filled with IP from wrong network interface

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 5 16:27:59 CET 2010


https://bugs.freedesktop.org/show_bug.cgi?id=31166

Mikhail Zabaluev <mikhail.zabaluev at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|Telepathy                   |Farsight
          Component|sofiasip                    |Raw UDP transmitter
         AssignedTo|mikhail.zabaluev at nokia.com  |olivier.crete at ocrete.ca
          QAContact|telepathy-bugs at lists.freede |
                   |sktop.org                   |
                 CC|                            |mikhail.zabaluev at nokia.com

--- Comment #7 from Mikhail Zabaluev <mikhail.zabaluev at nokia.com> 2010-11-05 08:27:59 PDT ---
(In reply to comment #3)
> > However, even when set to the right IP on the right network interface, when
> > making the call, the SDP gets the wrong IP from the other network interface to
> > fill the "c=" line.
> 
> This is odd; there is code to make the value in 'local-ip-address' a preferred
> choice among RTP transport candidates.

This code would have a chance if Farsight collected the second address, but it
doesn't any longer for some reason:

Nov  5 17:14:24 Rxxxx telepathy-stream-engine[2373]: GLIB DEBUG tp-fs - stream
0 0xd26c0 (audio) cb_fs_new_local_candidate: called
Nov  5 17:14:24 Rxxxx telepathy-stream-engine[2373]: GLIB DEBUG tp-fs - stream
0 0xd26c0 (audio) cb_fs_local_candidates_prepared: called
Nov  5 17:14:24 Rxxxx telepathy-stream-engine[2373]: GLIB DEBUG tp-fs - stream
0 0xd26c0 (audio) cb_fs_local_candidates_prepared: ip = '192.168.2.15 port =
7078 component = 1'
Nov  5 17:14:24 Rxxxx telepathy-stream-engine[2373]: GLIB DEBUG tp-fs - stream
0 0xd26c0 (audio) cb_fs_local_candidates_prepared: ip = '192.168.2.15 port =
7079 component = 2'
Nov  5 17:14:24 Rxxxx telepathy-sofiasip[2237]: GLIB DEBUG tpsip -
tpsip_media_session_debug: SIP media session [created          ]: put native
candidate 'L1' from stream-engine into cache
Nov  5 17:14:24 Rxxxx telepathy-sofiasip[2237]: GLIB DEBUG tpsip -
tpsip_media_stream_native_candidates_prepared: enter

My interfaces are configured as follows:

usb0      Link encap:Ethernet  HWaddr 2A:40:C2:D2:C7:D0  
          inet addr:192.168.2.15  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5377 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5651 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:577105 (563.5 KiB)  TX bytes:4710240 (4.4 MiB)

wlan0     Link encap:Ethernet  HWaddr <<stripped>>
          inet addr:213.28.38.84  Bcast:213.28.38.127  Mask:255.255.255.128
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:447 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3641 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:124321 (121.4 KiB)  TX bytes:1428785 (1.3 MiB)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the telepathy-bugs mailing list