[Sip] RE: draft-olson-sip-content-indirect-mech-00

"Sriram Parameswar" <sriramp@nortelnetworks.com> Tue, 09 July 2002 19:19 UTC

Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA11812 for <sip-archive@odin.ietf.org>; Tue, 9 Jul 2002 15:19:10 -0400 (EDT)
Received: (from daemon@localhost) by optimus.ietf.org (8.9.1a/8.9.1) id PAA01122 for sip-archive@odin.ietf.org; Tue, 9 Jul 2002 15:20:03 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA28448; Tue, 9 Jul 2002 14:41:58 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id OAA28351 for <sip@optimus.ietf.org>; Tue, 9 Jul 2002 14:41:51 -0400 (EDT)
Received: from zrc2s0jx.nortelnetworks.com (zrc2s0jx.nortelnetworks.com [47.103.122.112]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA06961 for <sip@ietf.org>; Tue, 9 Jul 2002 14:40:57 -0400 (EDT)
Received: from zrc2c011.us.nortel.com (zrc2c011.us.nortel.com [47.103.120.51]) by zrc2s0jx.nortelnetworks.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g69IfV409530; Tue, 9 Jul 2002 13:41:32 -0500 (CDT)
Received: by zrc2c011.us.nortel.com with Internet Mail Service (5.5.2653.19) id <KKXY1QDG>; Tue, 9 Jul 2002 13:41:17 -0500
Message-ID: <EF1056F8EB4ED511B8FB0002A56079D401E5B10A@zrc2c014.us.nortel.com>
From: Sriram Parameswar <sriramp@nortelnetworks.com>
To: 'Sean Olson' <seanol@windows.microsoft.com>
Cc: sip@ietf.org
Date: Tue, 09 Jul 2002 13:41:16 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C22778.3597BA10"
Subject: [Sip] RE: draft-olson-sip-content-indirect-mech-00
Sender: sip-admin@ietf.org
Errors-To: sip-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Session Initiation Protocol <sip.ietf.org>
X-BeenThere: sip@ietf.org

Sean,
 
One more reason for pushing for the additional Content-Type is Section 7.4.1
of RFC3261 says - "The Internet media type of the message body MUST be given
by the Content-Type header field." Otherwise how will the UAS receiving the
INVITE know how to parse the body? But maybe I should wait till the MIME
experts give us their verdict :)
 
Thanks,
 
Sriram

__________________________________________ 
Sriram Parameswar              Phone: 972-685-8540 
Interactive Multimedia Server (IMS) Fax: 972-684-3986 
Nortel Networks, Richardson USA  Email: sriramp@nortelnetworks.com 

-----Original Message-----
From: Sean Olson [mailto:seanol@windows.microsoft.com]
Sent: Tuesday, July 09, 2002 1:30 PM
To: Parameswar, Sriram [NGC:B615:EXCH]; sip@ietf.org
Subject: RE: draft-olson-sip-content-indirect-mech-00


If you are suggesting that we might want to indirectly refer to 
message/sipfrag or text/plain content, I completely agree. The
example you cite below is almost exactly what I have proposed.
I just happen to use application/sdp instead of text/html as
the (indirect) Content-Type:
 
thanks
/sean

-----Original Message-----
From: Sriram Parameswar [mailto:sriramp@nortelnetworks.com] 
Sent: Tuesday, July 09, 2002 11:22 AM
To: Sean Olson; sip@ietf.org
Subject: RE: draft-olson-sip-content-indirect-mech-00



Thanks Sean - I would definitely like to hear from the MIME experts - but
here is an example from RFC 2017 section 3 which is more along what I
suggested. I think we need to take a closer look because the current draft
does borrow heavily from RFC2017:

<quote RFC2017> 
    Content-type: message/external-body; access-type=URL; 
                  URL=" http://www.foo.com/file <http://www.foo.com/file> " 

    Content-type: text/html 
    Content-Transfer-Encoding: binary 

    THIS IS NOT REALLY THE BODY! 

</quote RFC2017> 

Regards, 

Sriram 

__________________________________________ 
Sriram Parameswar              Phone: 972-685-8540 
Interactive Multimedia Server (IMS) Fax: 972-684-3986 
Nortel Networks, Richardson USA  Email: sriramp@nortelnetworks.com 


-----Original Message----- 
From: Sean Olson [ mailto:seanol@windows.microsoft.com
<mailto:seanol@windows.microsoft.com> ] 
Sent: Tuesday, July 09, 2002 12:38 PM 
To: Parameswar, Sriram [NGC:B615:EXCH]; sip@ietf.org 
Subject: RE: draft-olson-sip-content-indirect-mech-00 


Thanks for the comments! 

I will try to dissect my original example to explain what I was 
shooting for. I've added line numbers, plus some surrounding context 
to hopefully make things a little clearer. 

1   INVITE sip:bob@acme.com SIP/2.0 
2   Via: SIP/2.0/TCP 10.0.0.2;branch=z9hG4bK83749 
3   From: <sip:alice@acme.com>;tag=abcd 
4   To: <sip:bob@acme.com> 
5   Call-ID: 1@10.0.0.2 
6   CSeq: 2343 INVITE 
7   Content-Type: message/external-body; access-type="URL"; 
8                 expiration="Mon, 24 June 2002 09:00:00 GMT"; 
9                 URL=" http://www.bogus.com/the-indirect-content
<http://www.bogus.com/the-indirect-content> " 
10  Content-Length: ... 
11  <CRLF> 
12  Content-Type: application/sdp 
13  <CRLF> 


Line 12 is the start of the payload for this INVITE. 
Lines 7-9 define the content type of this payload (indirect content 
          available at the given URL) 

Line 12 gives the content type of the indirect content. It is actually 
        an entity header inside the payload (an encapsulated entity) 

Line 13 marks the end of the entity headers for this encapsulated entity 
        and also marks the end of the message 

This is consistent with the example given in section 5.2.3 of RFC2046. 
I'm using MIME in the broadest sense defined in RFC2045/2046 to allow 
nesting or encapsulation of entities. This looks a bit strange compared 
to other SIP messages, but I believe it is perfectly valid MIME. I 
don't think we need to use message/sipfrag or even text/plain to 
accomplish 
this -- the capability to express nested entities and entity headers is 
part of MIME. 
I would be curious to hear from other MIME experts on this issue to see 
if I'm 
abusing something here. 

/sean 

-----Original Message----- 
From: Sriram Parameswar [ mailto:sriramp@nortelnetworks.com
<mailto:sriramp@nortelnetworks.com> ] 
Sent: Sunday, July 07, 2002 6:35 PM 
To: Sean Olson; 'sip@ietf.org' 
Subject: draft-olson-sip-content-indirect-mech-00 


Sean, 
Well written draft!  In Section 3.6 'Specifying the type of the indirect 
content' - 
it must be clearly noted that when including the content-type of the 
indirect content in the payload 
- there must be Content headers specifying that payload. Along with some 
textual description added to section 3.6, 
the example in that section will change to look something like: 

Content-Type: message/external-body; access-type="URL"; expiration="Mon, 
24 June 2002 09:00:00 GMT"; 
URL=" http://www.bogus.com/the-indirect-content
<http://www.bogus.com/the-indirect-content> " 
Content-Type: text/plain 
Content-Length: ... 
<CRLF> 
Content-Type: application/sdp 
<CRLF> 

You may also want to add a small section on how this mechanism satisfies 
the requirements laid down in the requirements document 
(draft-ietf-sipping-content-indirect-00). Just as an after thought, the 
additional Content-Type may also be message/sipfrag instead of 
text/plain. 

Regards, 
Sriram 
__________________________________________ 
Sriram Parameswar              Phone: 972-685-8540 
Interactive Multimedia Server (IMS) Fax: 972-684-3986 
Nortel Networks, Richardson USA  Email: sriramp@nortelnetworks.com