Re: [Stox] Media Sessions (draft-ietf-stox-media-01) and forking

Saúl Ibarra Corretgé <saul@ag-projects.com> Wed, 07 August 2013 22:18 UTC

Return-Path: <saul@ag-projects.com>
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 999EB21F9B92 for <stox@ietfa.amsl.com>; Wed, 7 Aug 2013 15:18:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.628
X-Spam-Level:
X-Spam-Status: No, score=-0.628 tagged_above=-999 required=5 tests=[AWL=0.190, BAYES_00=-2.599, HELO_MISMATCH_NET=0.611, MIME_8BIT_HEADER=0.3, 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 C4-wTTubJbxv for <stox@ietfa.amsl.com>; Wed, 7 Aug 2013 15:18:27 -0700 (PDT)
Received: from mail.sipthor.net (node06.dns-hosting.info [85.17.186.6]) by ietfa.amsl.com (Postfix) with ESMTP id 988D611E8171 for <stox@ietf.org>; Wed, 7 Aug 2013 15:18:27 -0700 (PDT)
Received: by mail.sipthor.net (Postfix, from userid 5001) id F0473B35E1; Thu, 8 Aug 2013 00:18:26 +0200 (CEST)
Received: from imac.saghul.lan (ip3e830637.speed.planet.nl [62.131.6.55]) by mail.sipthor.net (Postfix) with ESMTPSA id 2D602B0132; Thu, 8 Aug 2013 00:18:14 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset=iso-8859-1
From: =?iso-8859-1?Q?Sa=FAl_Ibarra_Corretg=E9?= <saul@ag-projects.com>
In-Reply-To: <52011FEA.5040104@alum.mit.edu>
Date: Thu, 8 Aug 2013 00:18:13 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <6A3963CE-AD8C-4C93-9E39-9268BA82AF4B@ag-projects.com>
References: <7594FB04B1934943A5C02806D1A2204B1C418E51@ESESSMB209.ericsson.se> <8C703C0F-181C-4E36-8A59-727B45C0A1B5@ag-projects.com> <7594FB04B1934943A5C02806D1A2204B1C418FAC@ESESSMB209.ericsson.se> <B7CBEFB1-2A23-4337-90DD-D8157123A1AD@ag-projects.com> <7594FB04B1934943A5C02806D1A2204B1C41C17E@ESESSMB209.ericsson.se> <6E2B9398-C9C5-47F1-AC5D-2C7E23AB6E69@ag-projects.com> <7594FB04B1934943A5C02806D1A2204B1C41C208@ESESSMB209.ericsson.se> <51FEA128.2060806@ag-projects.com> <52011FEA.5040104@alum.mit.edu>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
X-Mailer: Apple Mail (2.1085)
Cc: stox@ietf.org
Subject: Re: [Stox] Media Sessions (draft-ietf-stox-media-01) and forking
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: Wed, 07 Aug 2013 22:18:33 -0000

On Aug 6, 2013, at 6:10 PM, Paul Kyzivat wrote:

> On 8/4/13 8:44 PM, Adrian Georgescu wrote:
>> The gateway would care to translate the final response. Getting more
>> then one 180 is not causing any harm nor does those need to be
>> translated into different events on XMPP side.
> 
> I think Christer's point is that the behavior you are describing needs to be described somewhere.
> 

Indeed.

> The typical issue is that forking results in multiple early dialogs. More than one may result in early media. To give good results the GW needs to pass on some or all of that early media to the XMPP side. If more than one has early media, then its difficult to know what to do. You might pass *one* of them on to the XMPP side.
> 

I don't think we can pass the early media, since there is no way to do it today. I'd go for leaving it unspecified. There seems to be some action going on for rebooting Jingle, so when Jingle has a story for early media a new document could be written specifying it. Would this work for you? I know it doesn't cover all those mutli-edarly-dialog cases, but I'm not sure we can do nay better at this point.

> Most times *one* of those early dialogs will return a 200, and the others will be cancelled (by the gateway). But the one that returns the 200 may not be the one you were processing early media from. So there may need to be a media change.
> 

Not if we don't translate early media ;-)

> It is also possible that more than one of those early dialogs will return a 200. Then *something* needs to be done with all of those. The simplest is to hang up on one of them, though its also possible to conference them. So the GW needs to deal with this possibility, even though it will be rare.
> 

Yeah, I think we could add some text about it, though what to do will be implementation specific, right?

> You can *hope* that some sip server downstream of the GW will handle all of this and present the GW with a call flow that has no forking. But you can't count on this. There is nothing the GW can do to guarantee that will happen.
> 

Right.

--
Saúl Ibarra Corretgé
AG Projects