Re: [Stox] core issues

Paul Kyzivat <pkyzivat@alum.mit.edu> Thu, 22 August 2013 20:36 UTC

Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: stox@ietfa.amsl.com
Delivered-To: stox@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6423311E8123 for <stox@ietfa.amsl.com>; Thu, 22 Aug 2013 13:36:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.114
X-Spam-Level:
X-Spam-Status: No, score=0.114 tagged_above=-999 required=5 tests=[AWL=-0.319, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_NET=0.611, RDNS_NONE=0.1, SARE_MLH_Stock1=0.87]
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 EB+9tKBArSLN for <stox@ietfa.amsl.com>; Thu, 22 Aug 2013 13:36:05 -0700 (PDT)
Received: from qmta10.westchester.pa.mail.comcast.net (qmta10.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:17]) by ietfa.amsl.com (Postfix) with ESMTP id 436F221F9E99 for <stox@ietf.org>; Thu, 22 Aug 2013 13:35:57 -0700 (PDT)
Received: from omta08.westchester.pa.mail.comcast.net ([76.96.62.12]) by qmta10.westchester.pa.mail.comcast.net with comcast id FswZ1m0050Fqzac5Awbm0P; Thu, 22 Aug 2013 20:35:46 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164]) by omta08.westchester.pa.mail.comcast.net with comcast id Fwbl1m01U3ZTu2S3UwblBx; Thu, 22 Aug 2013 20:35:46 +0000
Message-ID: <52167621.9060801@alum.mit.edu>
Date: Thu, 22 Aug 2013 16:35:45 -0400
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: stox@ietf.org
References: <E44893DD4E290745BB608EB23FDDB7620A07605C@008-AM1MPN1-042.mgdnok.nokia.com> <52125D9C.5080609@stpeter.im> <3816E434-747C-4E45-A713-393B4E1AAD01@edvina.net> <5213ED3D.2010709@stpeter.im> <5213F090.4000104@gmail.com> <521400CF.8020801@alum.mit.edu> <521469A0.80104@gmail.com> <52150EF5.5060401@alum.mit.edu> <521514C4.60605@gmail.com>
In-Reply-To: <521514C4.60605@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1377203746; bh=T5CQ3sa/dIjFWEiuunnHO9Zctr9sOELhP3hRCZUOO8E=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=No5Omgk8gm5k/tyGR4HUpo6IhcLEZRPHiKQkk7BdP/rl8puofeL6YMNvDg6snTqJx aSQ0iTGn8GCRh1t1RHlrqNKYtU6ehPSlyy1KTv6PlTaLc5MjImeWeq0ZgGsxcg8V0H XYh1/MfpaF+fAjvwjCIK7JGhMrOnxUl/Um/IRsMI/C5QtGDykksixqURu3lk5AhZh0 xr0JwrfZdXcdk/IH60VeiTPU5KzHg4RjM4eRLwZugUtNMQQiOTxkmfs0iby3+kFKLk aGdc4kVTAp86db4W+/Hk6t+hNKW+54jYYHtEyI2+gSMJrX9iQhBV6aKq/kPOlyCWkv pBjYXMXg23kzg==
Subject: Re: [Stox] core issues
X-BeenThere: stox@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: SIP-TO-XMPP Working Group discussion list <stox.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stox>, <mailto:stox-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/stox>
List-Post: <mailto:stox@ietf.org>
List-Help: <mailto:stox-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stox>, <mailto:stox-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Aug 2013 20:36:11 -0000

On 8/21/13 3:28 PM, Daniel-Constantin Mierla wrote:
>
> On 8/21/13 9:03 PM, Paul Kyzivat wrote:
>> On 8/21/13 3:17 AM, Daniel-Constantin Mierla wrote:
>>>
>>> On 8/21/13 1:50 AM, Paul Kyzivat wrote:
>>
>>>> You can make it sound easy by ignoring the details, but at the expense
>>>> of quality of implementation.
>>>>
>>>> The problem is that you may get multiple early dialogs, with media. At
>>>> that time you don't know which one will answer first. So what do you
>>>> do with the media while awaiting a 2xx?
>>>>
>>>> You can't "pick one" without the risk that it is the wrong one.
>>>>
>>>> You can "pick one" and switch it if it turns out to be the wrong one.
>>>> But unless you relay the media the xmpp side will see a change, and so
>>>> there must be some plan for how that is handled.
>>> My comments were for the remark related to multiple 200ok, I haven't
>>> said sending BYE for additional early dialogs.
>>
>> They are tightly connected issues.
>
> If you just look at parallel forking, but handling of them is totally
> different.
>
>>
>>> For multiple early dialogs, the gateway has to maintain all of them
>>> until a 200ok. It's also implementation decision which of early media
>>> streams is sent to xmpp/jingle (again, it looks like it's mostly the
>>> first one from experiences out there).
>>
>> This is straightforward if the GW terminates/relays media.
>> But that is a cost.
>>
>> A signaling-only GW can't easily or thoroughly prevent the multiple
>> early media streams from reaching the xmpp client. (It may be able to
>> send updates to all but one to stop their media, but that takes some
>> time, and not all will support it.)
>>
>> So either you mandate that the GW terminate the media, or else you
>> have to acknowledge the situation and warn the xmpp client to be
>> prepared.
>  From what's being repeated here, the idea is not to change existing
> protcols by enforcing new behaviour/support for features. It would be
> easier and more logical if changes can be made in both sides, but again,
> it's out of defined scope. Thus I guess the gateway should do stripping
> of what is not supported on the other side.
>
> Since the issue is for calls from xmpp to sip, perhaps the multiple
> early media streams issue can be overcome by initiating the SIP side
> call with INVITE without SDP. The gateway needs to hold the SDP for ACK,
> but that should be no problem as I guess it has to be transaction
> stateful at least.

That is indeed one way to solve the problem. But it will also be 
necessary to *not* support 100rel, or else the problem can still arise.

	Thanks,
	Paul