Re: [Sip] Support for Multipart/MIME - support of alternative

Paul Kyzivat <pkyzivat@cisco.com> Tue, 29 May 2007 13:53 UTC

Return-path: <sip-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1Ht297-0003IV-2Q; Tue, 29 May 2007 09:53:57 -0400
Received: from sip by megatron.ietf.org with local (Exim 4.43) id 1Ht295-0003IJ-H5 for sip-confirm+ok@megatron.ietf.org; Tue, 29 May 2007 09:53:55 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1Ht295-0003IB-7P for sip@ietf.org; Tue, 29 May 2007 09:53:55 -0400
Received: from rtp-iport-2.cisco.com ([64.102.122.149]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1Ht294-0005yZ-S6 for sip@ietf.org; Tue, 29 May 2007 09:53:55 -0400
Received: from rtp-dkim-1.cisco.com ([64.102.121.158]) by rtp-iport-2.cisco.com with ESMTP; 29 May 2007 09:53:55 -0400
X-IronPort-AV: i="4.14,588,1170651600"; d="scan'208"; a="122235954:sNHT51960480"
Received: from rtp-core-2.cisco.com (rtp-core-2.cisco.com [64.102.124.13]) by rtp-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id l4TDrsbX000846; Tue, 29 May 2007 09:53:54 -0400
Received: from xbh-rtp-211.amer.cisco.com (xbh-rtp-211.cisco.com [64.102.31.102]) by rtp-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id l4TDre5x023677; Tue, 29 May 2007 13:53:54 GMT
Received: from xfe-rtp-201.amer.cisco.com ([64.102.31.38]) by xbh-rtp-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 29 May 2007 09:53:49 -0400
Received: from [10.86.240.79] ([10.86.240.79]) by xfe-rtp-201.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 29 May 2007 09:53:49 -0400
Message-ID: <465C306C.2020805@cisco.com>
Date: Tue, 29 May 2007 09:53:48 -0400
From: Paul Kyzivat <pkyzivat@cisco.com>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: "Christer Holmberg (JO/LMF)" <christer.holmberg@ericsson.com>
Subject: Re: [Sip] Support for Multipart/MIME - support of alternative
References: <7374777208BDC7449D5620EF9423256703F85957@esealmw113.eemea.ericsson.se> <0ee901c7931e$dd43f9b0$c4a36b80@amer.cisco.com> <1ECE0EB50388174790F9694F77522CCF106564B4@zrc2hxm0.corp.nortel.com> <4643B58A.3060407@cisco.com> <464ABDD6.9000503@ericsson.com> <464AF68A.4010105@cisco.com> <1ECE0EB50388174790F9694F77522CCF10788B8C@zrc2hxm0.corp.nortel.com> <4653FA1F.7050008@ericsson.com> <46545100.5040707@cisco.com> <4659D9FA.70501@ericsson.com> <465A6313.4030304@cisco.com> <465BE553.4010500@ericsson.com> <7374777208BDC7449D5620EF9423256704805AC0@esealmw113.eemea.ericsson.se> <465C1FEF.3030409@ericsson.com> <7374777208BDC7449D5620EF9423256704805DD4@esealmw113.eemea.ericsson.se>
In-Reply-To: <7374777208BDC7449D5620EF9423256704805DD4@esealmw113.eemea.ericsson.se>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 29 May 2007 13:53:49.0110 (UTC) FILETIME=[C87F5D60:01C7A1F8]
DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=5327; t=1180446834; x=1181310834; c=relaxed/simple; s=rtpdkim1001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=pkyzivat@cisco.com; z=From:=20Paul=20Kyzivat=20<pkyzivat@cisco.com> |Subject:=20Re=3A=20[Sip]=20Support=20for=20Multipart/MIME=20-=20support= 20of=20alternative |Sender:=20 |To:=20=22Christer=20Holmberg=20(JO/LMF)=22=20<christer.holmberg@ericsson .com>; bh=rAW6yRM5e5r3tgU3/pNQlPJFc9JpzH4uxp2TabDwKYw=; b=Sx9JUNF86BeY+fNUoPONx6pNm9kkMB2BwtLYL7gpwionI6dtiQ4Uayk2m3cVjwePGO+3oeCU vawsG5quX++txPeHOyuj6FMBPywth6mkN9F2koh3pAvmwheJCTErFTM+;
Authentication-Results: rtp-dkim-1; header.From=pkyzivat@cisco.com; dkim=pass ( sig from cisco.com/rtpdkim1001 verified; );
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7da5a831c477fb6ef97f379a05fb683c
Cc: sip@ietf.org, Francois Audet <audet@nortel.com>, "Gonzalo Camarillo (JO/LMF)" <gonzalo.camarillo@ericsson.com>, Dan Wing <dwing@cisco.com>
X-BeenThere: sip@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Session Initiation Protocol <sip.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:sip@ietf.org>
List-Help: <mailto:sip-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=subscribe>
Errors-To: sip-bounces@ietf.org


Christer Holmberg (JO/LMF) wrote:
> Hi, 
> 
>> we should be ready for a transition to a new session 
>> description protocol, which includes experimental networks 
>> using their own stuff, and people seem to agree that 
>> alternative is the way to go. That is why it would be great 
>> if we could mandate its support already now.
>>
>> The more we wait, the more trouble we could have in the 
>> future to use it.
> 
> Yes.
> 
> But, at the same time we need to try to be backward compatible, and take
> into consideration existing implementations which may support mixed but
> not alternative. If those implementations reject alternative I think our
> spec should not make them "not compliant".

The MIME spec already says that if you don't understand multipart/X then 
you should treat it as if it were multipart/mixed. So at a minimum we 
should expect implementations to do that much with alternative.

If we are going to make more accommodation than that based on what is in 
the wild then I suggest we should take a survey first to find out what 
we really need to cope with. We should be able to get some good data 
from SipIT. Maybe we should be trying to come up with a list of specific 
questions, or maybe we can have an essay question on the survey to get a 
description of exactly what is/isn't supported.

I think we will have a pretty good chance of seeing support in the 
future if we can tell implementors what they must do. I did 
specifications for multipart support in a stack a few years ago (which 
is when I discovered all these open issues), and I had to make up what 
was done based on speculation about what would be used. Even hard things 
can be straightforward to implement if the requirements are clear.

	Paul

> The same thing goes for
> nested bodies.
> 
> The more we can "fit" the spec into what is already out there, the
> better.
> 
> So, I don't mind to strongly recommend people to implement alternative,
> and give examples why it may be useful in the future, but at the same
> time I think we should also say that if the receiver does not support
> alternative a error response MUST be sent - in order to avoid cases e.g.
> described by Francois, where the receiver simply discard the multipart
> and continues the call setup.
> 
> Regards,
> 
> Christer
> 
> 
> 
> 
> 
>> Christer Holmberg (JO/LMF) wrote:
>>>  
>>> Hi,
>>>
>>>>>> OPEN ISSUE 1: do we need to say something about other types?  
>>>>>> Related (rfc2387), parallel, digest, external-body.
>>>>> I don't know much about these. I quickly scanned 2387 and 
>> see that 
>>>>> it has some special rules re processing 
>> Content-Disposition of the 
>>>>> contained (related) parts. I *think* those are consistent 
>> with what 
>>>>> we are doing.
>>>> I have added the following text to Section 5:
>>>>
>>>>    "This specification recommends support for 'multipart/mixed' and
>>>>    'multipart/alternative'.  At present, there are no SIP 
>> extensions
>>>>    that use different 'multipart' subtypes such as parallel 
>>>>    [RFC2046], digest [RFC2046], or related [RFC2387].  If such 
>>>>    extensions were to be defined in the future, their authors would
>>> need to make sure
>>>>    (e.g., by using an option-tag or by other means) that entities
>>>>    receiving those 'multipart' subtypes were able to 
>> process them.  As
>>>>    stated earlier, UAs treat unknown 'multipart' subtypes as 
>>>>    'multipart/mixed'."
>>> I think the text is good.
>>>
>>> But, I wonder whether we should alternative to the list of 
>> "different 
>>> multipart subtypes". At present there are no SIP extensions using 
>>> alternative either, so...
>>>  
>>> Or, at least we could leave support of alternative open for the 
>>> moment, until we get more information about how it's supposed to be 
>>> used in the first place (regarding identical content type 
>> values etc).
>>>
>>>>>> OPEN ISSUE 2: we know that we do not want two SDPs in a 
>> 'multipart/ 
>>>>>> alternative', but is this valid generally with any content type?
>>>>>> Would it be possible to provide two alternative body parts using 
>>>>>> the same format and, thus, the same content type but in, say, 
>>>>>> different languages?
>>>>> Its my understanding that the distinction is based on 
>> which can be 
>>>>> understood, relative to Content-Type. It isn't apparent 
>> to me that 
>>>>> making this decision based on other attributes is valid.
>>>>> For one thing the parts are supposed to be ordered by increasing 
>>>>> richness. If they differed by language this wouldn't be true.
>>>>>
>>>>> So I think what you have is ok.
>>>> I double check with an email expert to make sure we get this right.
>>>
>>>>> Another thing in Section 3: You have used SHOULD in this 
>> section. I 
>>>>> thought we wanted to change this to MUST. Did we?
>>>> You refer to the following statement, right?
>>>>
>>>>    "In particular, UAs SHOULD support the 'multipart/mixed'
>>>>     and 'multipart/alternative' MIME types."
>>>>
>>>> If people agree that this should be a MUST, I will be 
>> happy to change 
>>>> it.
>>> Again, I think we should wait a little regarding alternative.
>>>
>>> Regards,
>>>
>>> Christer
>>
> 


_______________________________________________
Sip mailing list  https://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip