Re: [Stox] STOX Virtual Interim Meeting 2013-12-17 Minutes

Peter Saint-Andre - &yet <peter@andyet.net> Wed, 25 February 2015 04:22 UTC

Return-Path: <peter@andyet.net>
X-Original-To: stox@ietfa.amsl.com
Delivered-To: stox@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B00E61A1B88 for <stox@ietfa.amsl.com>; Tue, 24 Feb 2015 20:22:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.701
X-Spam-Level:
X-Spam-Status: No, score=-1.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_18=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0Q9Vq3gSFxdd for <stox@ietfa.amsl.com>; Tue, 24 Feb 2015 20:22:23 -0800 (PST)
Received: from mail-ig0-f178.google.com (mail-ig0-f178.google.com [209.85.213.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 21F3A1A1AB8 for <stox@ietf.org>; Tue, 24 Feb 2015 20:22:23 -0800 (PST)
Received: by mail-ig0-f178.google.com with SMTP id hl2so2835664igb.5 for <stox@ietf.org>; Tue, 24 Feb 2015 20:22:22 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=nMPQrutEjG9NiY/KGc9TO53VXc5YNcSVQM7TtS2zETg=; b=QKJDsQypEJ4odBAtU10OUo3EIJg6JjGa+/O6RLRWvG/KoBto4I3NefTHBQVaSF5jYe 0C+3H19oryTbagmA9frmVs09Q1JFsfZFA175m34jGbYW6fMc3x7dsv6+/6OID/Z2ZI7B puf9q101xu7M75mTPqTmaqlaR8tAEo3cXqpbldY05d32KkXxuZC7t0TRaE8DFG1acqwE vmHVAu9EwMUSNDscLoQzobrvVb+fLKdZ6R9WAHK/xXRNrMwbyek1OM5OTFX/Rns/o4NT 2mTRnU2MP8ZY8XwjtR1c8kvCfosQFEkB72yUod6YXcFiEPXjeKL1BWGvE5GlkyioJqBL 8vWg==
X-Gm-Message-State: ALoCoQmz0R5b87kpRJf1l1nKwDZO9km2MspkzfNq7jsTOlCzF0s2NxsnLHh/kewfqnDqRzTcO71m
X-Received: by 10.42.104.68 with SMTP id q4mr1743589ico.35.1424838142594; Tue, 24 Feb 2015 20:22:22 -0800 (PST)
Received: from aither.local (c-73-34-202-214.hsd1.co.comcast.net. [73.34.202.214]) by mx.google.com with ESMTPSA id a31sm9222404ioj.42.2015.02.24.20.22.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Feb 2015 20:22:21 -0800 (PST)
Message-ID: <54ED4DFB.4090104@andyet.net>
Date: Tue, 24 Feb 2015 21:22:19 -0700
From: Peter Saint-Andre - &yet <peter@andyet.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: Saúl Ibarra Corretgé <saul@ag-projects.com>
References: <E44893DD4E290745BB608EB23FDDB7620A17DC34@008-AM1MPN1-043.mgdnok.nokia.com> <52CEDF2D.9090607@alum.mit.edu> <532A62D5.3060200@stpeter.im> <F8270724-6643-4748-B559-72588A2AD326@ag-projects.com>
In-Reply-To: <F8270724-6643-4748-B559-72588A2AD326@ag-projects.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/stox/Z1Kmbc6kU9cnk_bc3G9oc2O6ycY>
Cc: stox@ietf.org, Paul Kyzivat <pkyzivat@alum.mit.edu>
Subject: Re: [Stox] STOX Virtual Interim Meeting 2013-12-17 Minutes
X-BeenThere: stox@ietf.org
X-Mailman-Version: 2.1.15
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, 25 Feb 2015 04:22:24 -0000

Old thread alert!

On 3/25/14 2:50 AM, Saúl Ibarra Corretgé wrote:
> Hi,
>
> On Mar 20, 2014, at 4:39 AM, Peter Saint-Andre wrote:
>
>> Paul, thanks for the feedback and my apologies for the extremely slow reply.
>>
>> On 1/9/14, 10:41 AM, Paul Kyzivat wrote:
>>> As requested, I have taken a look at treatment of Hold in section 6 of
>>> draft-ietf-stox-media-02.
>>>
>>> The draft says:
>>>
>>>     The same semantics are also
>>>     supported by Jingle through the "senders" element and its "initiator"
>>>     and "responder" values.
>>>
>>>                   [example to follow]
>>>
>>>     In addition to these semantics however Jingle also defines a more
>>>     concise way for achieving the same, which consists in sending a
>>>     "hold" command within a "session-info" action:
>>>
>>> Before I can make any useful comments I need to get educated on some
>>> aspects of xmpp. (I *browsed* XEP 0166, but couldn't quickly figure this
>>> out.) Hopefully somebody can clue me in on the following:
>>>
>>> 1) I see that the "senders" element has values that correspond 1:1 with
>>> SDP sendrecv/sendonly/recvonly/inactive. Are there equivalent
>>> constraints on O/A behavior? Specifically that:
>>>
>>>      Offer    Permissible Answer
>>>      -----    ------------------
>>>      sendrecv sendrecv/sendonly/recvonly/inactive
>>>      sendonly recvonly/inactive
>>>      recvonly sendonly/inactive
>>>      inactive inactive
>>
>> Although those constraints look reasonable, I think the original Jingle authors were not aware of them when defining the protocol. In general, Jingle implementations are simpler than SIP implementations, and might tend to assume senders='both' / a=sendrecv. Also, not all uses of the 'senders' attribute quite follow the offer/answer model - see, for instance, the content-modify action:
>>
>
> Hum. Actually the XEP does mention compatibility with SDP O/A model:
>
> "Which parties in the session will be generating content (i.e., the direction in which a Jingle session is active); the allowable values are "both", "initiator", "none", and "responder" (where the default is "both"). Note that the defined values of the 'senders' attribute in Jingle correspond to the SDP attributes of "sendrecv", "sendonly", "inactive", and "recvonly" defined in RFC 4566 [30] and used in the offer-answer model RFC 3264."

True.

> However that element is *optional* except for content-modify. IIRC we did discuss about recommended practices, since this didn't seem to be very used out there. FWIW, when I worked on the SIP-XMPP gateway functionality for SylkServer I relied solely on session-info with 'hold'. This does of course limit the possible translation scenarios (ie, starting a session with a=inactive) though.

In part it's optional because it has a default value of "both" (if the 
'senders' attribute is not included, "both" applies).

Looking at this again, I think the constraints that Jonathan mentions 
are fine, and of course they're consistent with RFC 3264, too.

The only tricky bit is how to handle the content-modify action in 
Jingle, since it could be used to do something like change 'senders' 
from "initiator" ( = sendonly) to "responder" ( = recvonly) and AFAIK 
that's not something you can do in offer/answer without sending a new 
offer (and in Jingle it can be done mid-session, not in response to the 
original offer).

Peter

-- 
Peter Saint-Andre
https://andyet.com/