Re: [rtcweb] draft-ibc-rtcweb-sip-websocket -- WebSocket Transport for Session Initiation Protocol (SIP)

Dzonatas Sol <dzonatas@gmail.com> Thu, 15 September 2011 19:44 UTC

Return-Path: <dzonatas@gmail.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E55DC21F8BAC for <rtcweb@ietfa.amsl.com>; Thu, 15 Sep 2011 12:44:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.867
X-Spam-Level:
X-Spam-Status: No, score=-3.867 tagged_above=-999 required=5 tests=[AWL=-0.268, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2oqdZ76JRiUt for <rtcweb@ietfa.amsl.com>; Thu, 15 Sep 2011 12:44:48 -0700 (PDT)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by ietfa.amsl.com (Postfix) with ESMTP id 4FB6C21F8B53 for <rtcweb@ietf.org>; Thu, 15 Sep 2011 12:44:48 -0700 (PDT)
Received: by iaby26 with SMTP id y26so1830398iab.31 for <rtcweb@ietf.org>; Thu, 15 Sep 2011 12:47:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=RUp6JQThUUe2dQv4pJcJR5DrrgmQFOew3Q0DCGqXnw0=; b=BTdFROyYQ2voRxKUSGkKYbci2QmTjxiya/7eMUsTJlsGHvGv102W3xXAObXdb7zfF4 4xYVdg1Nbmz8hxFWsldpMFjVpHvF+YxP5ZMVw8fAH8E29UaRWTWbQugq3VHE1skxZykm ALE/l7TFy4ugRp7j2P2B+R6daIRRu8xyeblIA=
Received: by 10.42.72.132 with SMTP id o4mr756623icj.97.1316116020699; Thu, 15 Sep 2011 12:47:00 -0700 (PDT)
Received: from [192.168.0.50] (adsl-70-133-70-225.dsl.scrm01.sbcglobal.net. [70.133.70.225]) by mx.google.com with ESMTPS id a11sm6015670ibg.3.2011.09.15.12.46.59 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Sep 2011 12:46:59 -0700 (PDT)
Message-ID: <4E7256B6.4010001@gmail.com>
Date: Thu, 15 Sep 2011 12:49:10 -0700
From: Dzonatas Sol <dzonatas@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110818 Icedove/3.0.11
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <CABw3bnO+85i-TtuqS+P4n+rYgyxyoASc8HXpADhy4QPTC0_szA@mail.gmail.com> <6F469757-6B5C-4DC9-BC34-026F34C7E508@phonefromhere.com> <CAD5OKxvCSJWS+F72P_WOFapmtffkLCSSe3A-rDEUOhNjWcoh4A@mail.gmail.com> <E44893DD4E290745BB608EB23FDDB7620B39D8@008-AM1MPN1-043.mgdnok.nokia.com> <CAD5OKxtt9phWr9Vrn5J1STxA9airR8g-tHMnddFP=QwrTHuPcA@mail.gmail.com> <4E724E25.1000204@jesup.org> <E44893DD4E290745BB608EB23FDDB7620B3B02@008-AM1MPN1-043.mgdnok.nokia.com>
In-Reply-To: <E44893DD4E290745BB608EB23FDDB7620B3B02@008-AM1MPN1-043.mgdnok.nokia.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [rtcweb] draft-ibc-rtcweb-sip-websocket -- WebSocket Transport for Session Initiation Protocol (SIP)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Sep 2011 19:44:49 -0000

On 09/15/2011 12:24 PM, Markus.Isomaki@nokia.com wrote:
> SIP over UDP is used by mobile operators themselves, as they are in control of the access infrastructure, and can make special provisions for their own services. But if you try to run SIP over UDP over mobile networks to any independent ("OTT") Internet service, it is likely to not work that well, due to battery consumption. Even with public addresses, in many mobile networks firewalls drop UDP flow state after 30 seconds.
>    

If the concern is the battery, then with ICE, SIP over UDP is something 
we want can reserve in stateful progressions. People don't like that 
stateful discussion when it comes to buffer size and transient mix, as 
they defaulted to cache under IPv4.

E911 traffic would be transient to corporate cache, for example. There 
are more options as we garbage collect, resolve, and reserve those 
allocations after clean from either cache or transient states. Behind 
corporate firewalls, cache items could be datestamp'd, which simply 
releases them from the transient state. Under SMTP, that was normal.

UDP is BSD friendly, and I like how rtcweb fits right in the UDP header 
with extended Content-Length:. If the SSRC is touched, then expand or 
deliver.



> TCP usually survives longer, in most networks actually more than 15 minutes. Unfortunately a small percentage of networks breaks even TCP in less than 5 minutes. (Several companies, including Nokia, have concrete stats from all over the globe.)
>
> So all in all I'm not sure that HTTP or websockets are in a worse position than pure SIP. The main differences are that the Javascript app may not have access to some helpers the more native mobile platform may offer.
>
> Markus
>
>
>    
>> -----Original Message-----
>> From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On Behalf
>> Of ext Randell Jesup
>> Sent: 15 September, 2011 22:13
>> To: rtcweb@ietf.org
>> Subject: Re: [rtcweb] draft-ibc-rtcweb-sip-websocket -- WebSocket Transport
>> for Session Initiation Protocol (SIP)
>>
>> On 9/15/2011 11:57 AM, Roman Shpount wrote:
>>      
>>> Actually SIP over UDP is what is typically used for mobile apps now.
>>> If you are doing SIP from the public IP, you do not need to maintain
>>> the connection even if TCP/TLS is used.
>>>        
>> Markus had a point: SIP over UDP requires keepalives if it's behind a NAT as
>> well.  So maybe it's not such a big difference, depending on the keepalive
>> rates needed (and for UDP circa 30 sec is typical).
>>
>> --
>> Randell Jesup
>> randell-ietf@jesup.org
>>
>> _______________________________________________
>> rtcweb mailing list
>> rtcweb@ietf.org
>> https://www.ietf.org/mailman/listinfo/rtcweb
>>      
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>
>    


-- 

---
<i>The wheel.</i metro-link=t dzonatasolyndra>