Re: [Simple] I-D Action: draft-ietf-simple-chat-17.txt

"Miguel A. Garcia" <Miguel.A.Garcia@ericsson.com> Wed, 21 November 2012 10:31 UTC

Return-Path: <miguel.a.garcia@ericsson.com>
X-Original-To: simple@ietfa.amsl.com
Delivered-To: simple@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 702B621F85E0 for <simple@ietfa.amsl.com>; Wed, 21 Nov 2012 02:31:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level:
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kT7zqdWmGNQ3 for <simple@ietfa.amsl.com>; Wed, 21 Nov 2012 02:31:55 -0800 (PST)
Received: from mailgw7.ericsson.se (mailgw7.ericsson.se [193.180.251.48]) by ietfa.amsl.com (Postfix) with ESMTP id F3EE621F85DF for <simple@ietf.org>; Wed, 21 Nov 2012 02:31:54 -0800 (PST)
X-AuditID: c1b4fb30-b7f936d0000018b3-26-50acad99be03
Received: from esessmw0191.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw7.ericsson.se (Symantec Mail Security) with SMTP id BF.35.06323.99DACA05; Wed, 21 Nov 2012 11:31:53 +0100 (CET)
Received: from [159.107.24.205] (153.88.115.8) by esessmw0191.eemea.ericsson.se (153.88.115.85) with Microsoft SMTP Server id 8.3.279.1; Wed, 21 Nov 2012 11:31:53 +0100
Message-ID: <50ACAD98.1040008@ericsson.com>
Date: Wed, 21 Nov 2012 11:31:52 +0100
From: "Miguel A. Garcia" <Miguel.A.Garcia@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Ben Campbell <ben@nostrum.com>
References: <20121117160611.10411.74381.idtracker@ietfa.amsl.com> <50A7BBA9.7040904@ericsson.com> <014CCF1E-A698-4351-9246-6CBBC8B37BAD@nostrum.com> <50AB43F5.9020803@ericsson.com> <506702ED-8447-4BBF-B0C6-1AD2AD73A244@nostrum.com>
In-Reply-To: <506702ED-8447-4BBF-B0C6-1AD2AD73A244@nostrum.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphluLIzCtJLcpLzFFi42KZGfG3Rnfm2jUBBj2HTC3md55mt1g48R+r A5PHkiU/mTxm7XzCEsAUxWWTkpqTWZZapG+XwJXx4lIrY8E5xYppp7eyNTDekepi5OSQEDCR WHVuNwuELSZx4d56NhBbSOAko8TN+wpdjFxA9hpGidMLpoAV8QpoSzTOagErYhFQlVjVf4kR xGYTMJdo3biRHcQWFfCVmHL8HztEvaDEyZlPwHpFBJQknjdvBbI5OJgFhCWe9zqAhIUF7CWO f1vCBLHrOaPE5G87wOo5gRIL9nWDzWcWsJW4MOc6C4QtL7H97RxmiEM1JSbfXMo8gVFwFpJ1 s5C0zELSsoCReRUje25iZk56ufkmRmBIHtzy22AH46b7YocYpTlYlMR59VT3+wsJpCeWpGan phakFsUXleakFh9iZOLglGpg3Gcq5KR3wGxP3NkQ7XXtPO0OfJFvunSnTp3z0pNnpsn1jpQb x/beVul12JBtceZWzs1Cu8kPzwgdtF2XyCJU4F3x9Gbs0h3/mDIWTxfoUHtsksp7/Pxx9c69 dq5hv2xXrJJkSRDxyqtw2ib4+e23ldeer5MxYY87n2vmV1G1nKdbIf1PhdlpJZbijERDLeai 4kQAW7X3DxcCAAA=
Cc: simple@ietf.org
Subject: Re: [Simple] I-D Action: draft-ietf-simple-chat-17.txt
X-BeenThere: simple@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: SIP for Instant Messaging and Presence Leveraging Extensions <simple.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/simple>, <mailto:simple-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/simple>
List-Post: <mailto:simple@ietf.org>
List-Help: <mailto:simple-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/simple>, <mailto:simple-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Nov 2012 10:31:56 -0000

Hi Ben.

See further discussion below.

On 20/11/2012 16:08, Ben Campbell wrote:
>
> On Nov 20, 2012, at 2:48 AM, "Miguel A. Garcia"
> <Miguel.A.Garcia@ericsson.com> wrote:
>
>> Hi Ben,
>>
>> thanks for your comments. See inline answers.
>>
>> On 19/11/2012 22:12, Ben Campbell wrote:
>>> Thanks Miguel. I think this version is much improved. But of
>>> course, here's a few questions and comments:
>>>
>>> Questions:
>>>
[snip]
>
>>
>>
>>> If not, what does it mean to include only message/CPIM in
>>> "accept-types" and not include "accept-wrapped-types"?
>>
>> It means that the endpoint can receive message/CPIM bodies, as
>> required by this draft, but we don't know which kind of wrapped type
>> the endpoint supports. Therefore, the MSRP server will not screen
>> supported media types, and will blindly send all the content to the
>> endpoint, independently of its media type.
>
> Again, I'm not sure how the endpoint will interpret that. (Maybe the
> switch only accepts empty message/cpim docs?). If the switch wants to
> accept anything, but only in a message/cpim wrapper, it should include
> an accept-wrapped-types with a "*".

Let's back up a bit an analyze the scenarios. We have two scenarios:

a) The endpoint declare all its supported media types in the 
accept-wrapped-types attribute in SDP. The MSRP switch will screen those 
types, and if the MSRP receives a wrapped media type that this endpoint 
does not support, it won't forward that e-mail to the endpoint.

b) The endpoint declares a few of the supported media types, but not all, 
because it adds an asterisk '*' to the accept-wrapped-types attribute in 
SDP. Or, alternatively, the endpoint does not declare any supported media 
types (there is no accept-wrapped-types at all in SDP). In this case, the 
MSRP switch will not screen the wrapped types in received messages, and 
will forward all of them to the endpoint. Therefore, the endpoint may 
receive some media types that is not able to render. This is the same 
scenario we may have with web browsers today. Some implementations will 
incorrectly render it in binary, others will point to a plug-in download, 
etc.

I don't know what else should we do from the standards point of view, 
besides what MSRP mandates and does not mandate.

>
>>
>>>
>>> The last paragraph of 5.2 says that the focus must inform the
>>> switch of the chat room capabilities of each participant, and that
>>> it does this with the SDP "chatroom" attribute. Do we assume
>>> anything about how the focus and switch communicate? I thought the
>>> chatroom attribute was more about how the focus communicates this
>>> with _endpoints_.
>>
>> The communication between the focus (SIP UA) and the MSRP switch is
>> outside the scope of the document. I suspect most implementations
>> implement a single function offering both focus and MSRP switch, in
>> which case standardization is not required. I mean, this is an
>> internal interface.
>
> I agree. But the text appears to say that it uses the SDP chatroom
> attribute to do so. Is that the intent?
>


No, that is not the intent. I will revise this paragraph to clarify that 
this interface is not SDP.

>
>>>
>>> Editorial:
>>>
>>> 6.1, 3rd paragraph: Seems like this paragraph is now redundant due
>>> to the additions in 5.2.
>>
>> Fair enough. In Section 5.2 I have added a reminder of the mandatory
>> nature of the accept-types, and have deleted that redundant
>> paragraph in Section 6.1
>>
>>>
>>> 7.1, third paragraph: "... character may be result encoded in
>>> more than one octet" do you mean ...: may be as a result
>>> encoded..."?
>>
>> I meant "may result encoded". Fixed, thanks.
>
> I'm still not clear on what "may result encoded" means. Do you mean
> "may result in encoding..."?  (Or is result-encoded  a term of art
> I've missed?)

Here I am using the term "result" as a verb, not as a noun. The 
definition of "result" in the Merriam-Webster dictionary is:

result: to proceed or arise as a consequence, effect, or conclusion. 
Example: <death resulted from the disease>

So, I believe "may result encoded" is correct, isn't it?


/Miguel

-- 
Miguel A. Garcia
+34-91-339-3608
Ericsson Spain