Re: [Stox] core issues

Paul Kyzivat <pkyzivat@alum.mit.edu> Tue, 20 August 2013 23:50 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 A21C111E81A5 for <stox@ietfa.amsl.com>; Tue, 20 Aug 2013 16:50:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.075
X-Spam-Level:
X-Spam-Status: No, score=0.075 tagged_above=-999 required=5 tests=[AWL=-0.358, 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 XWWhcXILIV96 for <stox@ietfa.amsl.com>; Tue, 20 Aug 2013 16:50:40 -0700 (PDT)
Received: from qmta02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:24]) by ietfa.amsl.com (Postfix) with ESMTP id 7DC9711E8309 for <stox@ietf.org>; Tue, 20 Aug 2013 16:50:40 -0700 (PDT)
Received: from omta02.westchester.pa.mail.comcast.net ([76.96.62.19]) by qmta02.westchester.pa.mail.comcast.net with comcast id F7Ka1m00C0QuhwU51Bqf19; Tue, 20 Aug 2013 23:50:39 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164]) by omta02.westchester.pa.mail.comcast.net with comcast id FBqf1m00s3ZTu2S3NBqfiv; Tue, 20 Aug 2013 23:50:39 +0000
Message-ID: <521400CF.8020801@alum.mit.edu>
Date: Tue, 20 Aug 2013 19:50:39 -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>
In-Reply-To: <5213F090.4000104@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=1377042639; bh=Lo3NhP6KNsFtHN8hLqZnqQEEPm/hnb1OzniYERU4r1U=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=M5Bin9OieBgK5y9PkArzVOcops1/YxHd71O6wNj0LPK9fmJRv3nwgw6yzFROhkySX Yd3tjfhf8s1EJ+CorjOyuji0AITrxhJgAYDc0KQszoOP4zKsgJLeWxFMMzT/pdNCt1 km8ZsIhSML3EF+j+VTKTLAj7ROGAUSSp+ScodN6Ri4Z7rbc4OOjVBVqoD4E5InW1jz 4wqS0VkK7pUACi8MCu4LtPWy97jC3xBVqL4wy2Sj6D3iH48u3U3Buk8yxfef9so4iC VZXhzgylN7MMtIQSXmJ42aMyFNlfdmfDv0L1dZlKTJkyL6DrA4FUiL7EZklLMa+Rfp JbFy+xeDjhnyg==
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: Tue, 20 Aug 2013 23:50:46 -0000

On 8/20/13 6:41 PM, Daniel-Constantin Mierla wrote:
>
> On 8/21/13 12:27 AM, Peter Saint-Andre wrote:
>> On 8/20/13 12:32 AM, Olle E. Johansson wrote:
>>> 19 aug 2013 kl. 20:02 skrev Peter Saint-Andre <stpeter@stpeter.im>:
>>>
>>>> On 8/14/13 1:19 PM, Markus.Isomaki@nokia.com wrote:
>>>>
>>>>> * Core
>>>>>
>>>>> - Issue: Should something general about forking be defined here
>>>>> or is it purely a -media issue?
>>>> I think this is best left for the stox-media spec.
>>> Do remember to handle the case where one sip INVITE can get multiple
>>> 200 OK. It's a corner case, but it does happen. And it's signalling.
>> That sounds like fun.
> This should be caught by the gateway, handled locally, like any SIP
> endpoint UA (and how is happening for PSTN gateways). Only one 200ok
> should be propagated to xmpp/jingle side. Which one? A matter of the
> implementation, most I have seen they go with the first response
> received, for the others they send ACK followed quickly by BYE (I mean,
> the good SIP UA implementations, some just crash in such cases :-) ).
> Daniel

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.

	Thanks,
	Paul