Re: [Slim] Eric Rescorla's No Objection on draft-ietf-slim-negotiating-human-language-19: (with COMMENT)

Paul Kyzivat <pkyzivat@alum.mit.edu> Wed, 10 January 2018 15:51 UTC

Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: slim@ietfa.amsl.com
Delivered-To: slim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C68912D871 for <slim@ietfa.amsl.com>; Wed, 10 Jan 2018 07:51:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level:
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=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 1EdeEQcbA6L9 for <slim@ietfa.amsl.com>; Wed, 10 Jan 2018 07:51:10 -0800 (PST)
Received: from alum-mailsec-scanner-1.mit.edu (alum-mailsec-scanner-1.mit.edu [18.7.68.12]) by ietfa.amsl.com (Postfix) with ESMTP id C005412D866 for <slim@ietf.org>; Wed, 10 Jan 2018 07:51:09 -0800 (PST)
X-AuditID: 1207440c-e4dff70000000ab3-7e-5a56366932e0
Received: from outgoing-alum.mit.edu (OUTGOING-ALUM.MIT.EDU [18.7.68.33]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by alum-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP id 30.5F.02739.A66365A5; Wed, 10 Jan 2018 10:51:06 -0500 (EST)
Received: from PaulKyzivatsMBP.localdomain (c-24-62-227-142.hsd1.ma.comcast.net [24.62.227.142]) (authenticated bits=0) (User authenticated as pkyzivat@ALUM.MIT.EDU) by outgoing-alum.mit.edu (8.13.8/8.12.4) with ESMTP id w0AFp2KK030368 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 10 Jan 2018 10:51:03 -0500
To: =?UTF-8?Q?Gunnar_Hellstr=c3=b6m?= <gunnar.hellstrom@omnitor.se>, Randall Gellens <rg+ietf@randy.pensive.org>, Eric Rescorla <ekr@rtfm.com>
Cc: "slim@ietf.org" <slim@ietf.org>
References: <151528917109.10947.12045320996364596931.idtracker@ietfa.amsl.com> <CABcZeBNQLuaMLa3=gWqaYHL_ynQ1t+HRtsgEebCRORm+OUA0iw@mail.gmail.com> <ECD0168D-9C53-4ACA-BF28-C631DAE38A4D@gmail.com> <CABcZeBPwb5LzCEpaOMbR9CeETHSZiigovkTMhKm_3K=hsWZckA@mail.gmail.com> <p06240601d6785f2e3ad4@99.111.97.136> <CABcZeBNX4iTuvuqvvqjAQEgnhkV4f5Z1e8Ac2ebWOf=prAcPKg@mail.gmail.com> <p06240603d6795cbba847@99.111.97.136> <CABcZeBPsXfPGBRMTRJSNZiHaXA8dT1MYXsU+3GdPsmLyQHZigg@mail.gmail.com> <p06240605d679600b6eea@[99.111.97.136]> <p06240606d67963d25192@[99.111.97.136]> <2d4be9b6-08d0-236e-4230-6ebc12b4167b@alum.mit.edu> <p06240608d679789e3190@[99.111.97.136]> <4a2b52ff-3853-b159-6563-018e4080eb53@omnitor.se> <p06240609d6799905c9c0@[99.111.97.136]> <d556fd95-991a-635c-d513-265135b75b11@omnitor.se>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <65963c20-0034-acbe-f66b-986344d7a067@alum.mit.edu>
Date: Wed, 10 Jan 2018 10:51:02 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.5.2
MIME-Version: 1.0
In-Reply-To: <d556fd95-991a-635c-d513-265135b75b11@omnitor.se>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCKsWRmVeSWpSXmKPExsUixO6iqJttFhZlsHeXhMWK1+fYLXa8P8Ni 8f15F6PFzA+dbA4sHkuW/GTymLj4E7PH1juPWTwmP25jDmCJ4rJJSc3JLEst0rdL4Mr4sv8W a8F7t4qPhy+zNzAetuhi5OCQEDCR+L8tpYuRi0NIYAeTxJfGRjYI5yGTxIzf3SwgRcICxRK3 W7JA4iICCxgltnxdzNjFyMnBLKAsMX3hPXYQW0hgM5vE8wVKIDabgJbEnEP/WUBsXgF7idOT p7GB2CwCqhJfmraD2aICaRKvnu1ghqgRlDg58wlYPaeAncT0l02sEPNtJe7M3c0MYYtL3Hoy nwnClpdo3jqbeQKjwCwk7bOQtMxC0jILScsCRpZVjHKJOaW5urmJmTnFqcm6xcmJeXmpRbqG ermZJXqpKaWbGCGBzrOD8ds6mUOMAhyMSjy8DMJhUUKsiWXFlbmHGCU5mJREeQM5Q6OE+JLy UyozEosz4otKc1KLDzFKcDArifC+ewyU401JrKxKLcqHSUlzsCiJ86ouUfcTEkhPLEnNTk0t SC2CycpwcChJ8AqaAu0RLEpNT61Iy8wpQUgzcXCCDOcBGm4AUsNbXJCYW5yZDpE/xWjJ0dNz 4w8Tx6Mbd4Hks5mvG5iFWPLy81KlxHmrQRoEQBoySvPgZsIS1ytGcaAXhXmrQKp4gEkPbuor oIVMQAvPbwT5prgkESEl1cCop6yskBoYu97lM79e5EtN93upE4zTlh76vr177SfPDZVN+5ue 6e9cZ271b8GmVf+mFT+yPR+jLGc86/jTeAO9G311fFFeh2o3XLortHLD6U9vfq/cMqdrR0np Uq1eu52lmQv9m/q3nPlyNot53WPHwJfKfnl6hS4HJ2vulNzisyDZaaqgfJOTEktxRqKhFnNR cSIAwAFefzcDAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/slim/rJLIQhJB3OVWb84xpj9dw8qnrPI>
Subject: Re: [Slim] Eric Rescorla's No Objection on draft-ietf-slim-negotiating-human-language-19: (with COMMENT)
X-BeenThere: slim@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Selection of Language for Internet Media <slim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/slim>, <mailto:slim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/slim/>
List-Post: <mailto:slim@ietf.org>
List-Help: <mailto:slim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/slim>, <mailto:slim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 10 Jan 2018 15:51:13 -0000

Gunnar,

I would like to understand your thinking about how the language 
indications will be used. Your comments below suggest to me that you are 
assuming that they will be exposed to the end users through a UI. If 
that is not the case then order of preference of one language over 
another won't have any influence over how the session proceeds.

	Thanks,
	Paul

On 1/9/18 3:55 AM, Gunnar Hellström wrote:
> Den 2018-01-08 kl. 23:02, skrev Randall Gellens:
>> At 10:38 PM +0100 1/8/18, Gunnar Hellström wrote:
>>
>>>  Den 2018-01-08 kl. 20:38, skrev Randall Gellens:
>>>>  At 1:36 PM -0500 1/8/18, Paul Kyzivat wrote:
>>>>
>>>>>   On 1/8/18 1:10 PM, Randall Gellens wrote:
>>>>>
>>>>>>       The term "negotiation" is used here rather than "indication" 
>>>>>> because
>>>>>>       human language (spoken/written/signed) can be negotiated in 
>>>>>> the same
>>>>>>       manner as media (audio/text/video) and codecs.  For example, 
>>>>>> if we
>>>>>>       think of a user calling an airline reservation center, the 
>>>>>> user may
>>>>>>       have a set of languages he or she speaks, with perhaps 
>>>>>> preferences
>>>>>>       for one or a few, while the airline reservation center will 
>>>>>> support a
>>>>>>       fixed set of languages.  Negotiation should select the 
>>>>>> user's most
>>>>>>       preferred language that is supported by the call center. 
>>>>>> Both sides
>>>>>>       should be aware of which language was negotiated. This is
>>>>>>       conceptually similar to the way other aspects of each media 
>>>>>> stream
>>>>>>       are negotiated using SDP (e.g., media type and codecs).
>>>>>
>>>>>   Certainly it will be common for the choices are mutually 
>>>>> exclusive. For instance, a caller *might* offer both French and 
>>>>> Chinese. The callee (a call center) may have agents that speak 
>>>>> each, but may well not have any agents that speak both.
>>>>>
>>>>>   OTOH, it is *possible* that they do have somebody who supports 
>>>>> both. If so, seems like it would be good to indicate that both are 
>>>>> supported.
>>>>
>>>>  Yes, although the additional gain in functionality is small 
>>>> relative to the additional complexity.  The draft explicitly rules 
>>>> this out of scope.  Section 3 says:
>>>>
>>>>     (Negotiating multiple simultaneous languages within a media 
>>>> stream is
>>>>     out of scope of this document.)
>>>  <GH> No, that is a different thing. We have agreed and made efforts 
>>> to express that providing multiple language indications per direction 
>>> does not imply that they all must be used simultaneously. They 
>>> (usually) only form a list to select from for use in the session.
>>>
>>>  I have many times during our discussions thought about the proposal 
>>> that Paul made now, and wondered if we gain or lose by having the 
>>> restriction of only one language per media and direction in the 
>>> answer. We might have higher complexity and longer delay before the 
>>> answer when we have the current limitation. This  is because it can 
>>> be hard for the application to take the decision on its own on the 
>>> single language to indicate in the answer, and therefore a user 
>>> interaction needed to ask the user how to answer. If support of more 
>>> than one language per media and direction is allowed (but not 
>>> simultaneously), then it is easier to make an automatic match by the 
>>> device and include all common languages in the answer.
>>>
>>>  However including more than one language per media and direction in 
>>> the answer puts the users in more uncertainty about in what language 
>>> the session will begin.
>>>
>>>  We could allow indication of multiple languages per media and 
>>> direction in the answer and let the application decide if it shall 
>>> make it easy for itself by indicating all common languages or easy 
>>> for the users by indicating one language per media and direction.
>>>
>>>  We also have the wording that the languages in the answer does not 
>>> need to be selected from what was provided in the offer by the 
>>> formulation: "(which in most cases is one of the languages in the 
>>> offer's 'hlang-recv') etc."
>>
>> This is because there may be no languages in common but the call 
>> proceeds anyway.  The usual example is an emergency call placed by a 
>> user who does not speak any language that the PSAP can support, even 
>> with language translation services. Just being able to hear what is 
>> happening may be useful to the PSAP call taker, better than not having 
>> a call at all.
> <GH> No, the parenthesis introduces an important opportunity for the 
> answerer to propose a language that was not in the offer, but may be 
> possible to use as a first try for getting some communication going 
> anyway. That can be beneficial for both sending and receiving. If it 
> does not work for the users, they are free to try other alternatives 
> during the session.
> 
> A question: Do you regard it to also be allowed for the answerer to 
> include a language in a media that had no hlang attribute in the offer? 
> Imagine a hearing caller offering only spoken languages in audio, but 
> including text media in the offer, calling a deaf person who cannot use 
> spoken language, and therefore takes a chance to include written 
> language indication in text media.  The ABNF in -20 allows it, and my 
> interpretation of the wording in 5.2 is that it is allowed. There may be 
> other views.
> The clean way is of course to accept the call without languages and make 
> a re-INVITE with languages in text media so that a complete language 
> negotiation can be performed, but that adds complexity.
> 
> RFC 4796 has specific wording to tell that the content attribute is 
> allowed in an answer even if it did not appear in the offer. Maybe we 
> should have had a similar statement.
> 
> 
>>
>>>
>>>  When there is no match, maybe the answerer want to indicate all 
>>> support it has, for example expressing in response to a request to 
>>> use Spanish:  "No, I cannot understand Spanish but I can understand 
>>> spoken Portuguese and French and Italian", in a hope to get a 
>>> conversation going.
>>>
>>>  In summary: I support Paul's proposal to relax the rules and leave 
>>> to the application to decide how to compose the answer.
>>
>> The current limitation has been agreed by the working group.  I see 
>> Paul's suggestion as a trade-off between a capability that might be 
>> nice to have but is not required, and additional complexity; I do not 
>> see it as a significant defect.  It is not a show-stopper.  It could 
>> be relaxed in a future extension or revision. Consider how many years 
>> we have been trying to get this simple feature published so it can be 
>> used.  And now, finally, after so many arguments (many of which were 
>> pointless) and so many revisions, and so much debate over simple 
>> wording, you propose that we go back to the WG and reopen debate and 
>> restart the series of last calls and discussions.  I think this is a 
>> mistake.  I object to it.
> <GH>The discussion and proposal was just a result of the difference 
> between the wording about the answer and the wording about the syntax in 
> 5.2. Selection of one of the interpretations was needed. It would be 
> less complex for the applications to allow multiple languages in the 
> attribute in the answer than deciding on one single language. That could 
> save the need for complex user interaction to make the decision. The 
> wording does not require simultaneous use during the session that is 
> said to be out of scope. It is only that the possible alternatives would 
> be indicated to the offeror in order of preference.
> It may however increase the complexity for the users to take the 
> decision instead of being told by the application which language to use, 
> so it would be best to leave it to the application to decide on how many 
> alternatives are provided in the answer.
> I do not think that the WG has been very specific about this choice 
> since both interpretations have been there for a long time in the draft.
> It is hard to relax restrictions in later revisions. Without protocol 
> preparations for extensions, interop problems are easily introduced.
> 
> /Gunnar
>>
>>>
>>>>
>>>>  This could, of course, be added in a future extension or revision.
>>>>
>>>>>
>>>>>       Thanks,
>>>>>       Paul
>>>>>
>>>>>   _______________________________________________
>>>>>   SLIM mailing list
>>>>>   SLIM@ietf.org
>>>>>   https://www.ietf.org/mailman/listinfo/slim
>>>>
>>>>
>>>
>>>  --
>>>  -----------------------------------------
>>>  Gunnar Hellström
>>>  Omnitor
>>>  gunnar.hellstrom@omnitor.se
>>>  +46 708 204 288
>>>
>>>  _______________________________________________
>>>  SLIM mailing list
>>>  SLIM@ietf.org
>>>  https://www.ietf.org/mailman/listinfo/slim
>>
>>
>