linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] New linphone/iOS rarely mentions public IP in SDP


From: Rick van Rein
Subject: [Linphone-developers] New linphone/iOS rarely mentions public IP in SDP
Date: Fri, 2 Nov 2012 10:26:42 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

Hello,

I've (been) upgraded to the new Linphone on iOS; thanks, looks cool!

I was happy to find ICE in it, but regardless of using it or not, I
found that SDP mostly mentions only an address behind NAT.  I thought
the idea of ICE was to mention as many addresses as possible, internal
as well as external, *and* to mention the external address first to
help non-ICE peers prefer that one.

I have found one STUN server that led to multiple IPv4 addresses,
including the public one; the public one was not listed first in
this case; but most STUN servers yield only an RFC1918 address in
the SDP portion; so I suspect that the STUN code is not fully correct.
I tried stun.ekiga.net (unavailable) sip.iptel.org sip.xten.com and
sip.budgetphone.nl -- the latter was the only one that worked well.

I have attached one failing INVITE request.  I am testing against a
proxy that refuses RFC1918-only SDP, because it intends to build
direct connections over the Internet without intermediate RTP proxy.
This proxy rejects my calls (Not Acceptable without NAT Traversal),
which it didn't do before upgrading from STUN to ICE.

My NAT is a Port Restricted Cone.


I hope this is helpful.  Let me know if you need more details, or
specific tests run.


Cheers,
 -Rick

    ------- 8< ------- 8< ------- 8< ------- 8< ------- 8< -------

INVITE sip:address@hidden SIP/2.0
Via: SIP/2.0/UDP 10.0.1.192:50353;rport;branch=z9hG4bK270198457
From: <sip:address@hidden>;tag=1169897699
To: <sip:address@hidden>
Call-ID: 1963766886
CSeq: 20 INVITE
Contact: <sip:address@hidden:50353>
Content-Type: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO
Max-Forwards: 70
User-Agent: Linphone/3.5.99.0 (eXosip2/3.6.0)
Subject: Phone call
Content-Length:   527

v=0
o=31534325306 3273 3273 IN IP4 10.0.1.192
s=Talk
c=IN IP4 10.0.1.192
b=AS:380
t=0 0
m=audio 7076 RTP/AVP 120 111 110 3 0 8 100 101
a=rtpmap:120 SILK/16000
a=rtpmap:111 speex/16000
a=fmtp:111 vbr=on
a=rtpmap:110 speex/8000
a=fmtp:110 vbr=on
a=rtpmap:100 iLBC/8000
a=fmtp:100 mode=30
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
m=video 9078 RTP/AVP 103 102 99
a=rtpmap:103 VP8/90000
a=rtpmap:102 H264/90000
a=fmtp:102 profile-level-id=428014
a=rtpmap:99 MP4V-ES/90000
a=fmtp:99 profile-level-id=3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]