Re: [MMUSIC] SDPCapNeg, modified m-line issue

Flemming Andreasen <fandreas@cisco.com> Mon, 19 May 2008 21:00 UTC

Return-Path: <mmusic-bounces@ietf.org>
X-Original-To: mmusic-archive@megatron.ietf.org
Delivered-To: ietfarch-mmusic-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8ADFF28C170; Mon, 19 May 2008 14:00:32 -0700 (PDT)
X-Original-To: mmusic@core3.amsl.com
Delivered-To: mmusic@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7B3F33A69E0 for <mmusic@core3.amsl.com>; Mon, 19 May 2008 14:00:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.099
X-Spam-Level:
X-Spam-Status: No, score=-4.099 tagged_above=-999 required=5 tests=[AWL=1.299, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_14=0.6, J_CHICKENPOX_15=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dBnRMjgW0fA9 for <mmusic@core3.amsl.com>; Mon, 19 May 2008 14:00:17 -0700 (PDT)
Received: from rtp-iport-1.cisco.com (rtp-iport-1.cisco.com [64.102.122.148]) by core3.amsl.com (Postfix) with ESMTP id 9D6F53A6B92 for <mmusic@ietf.org>; Mon, 19 May 2008 14:00:15 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.27,511,1204520400"; d="scan'208,217";a="8694422"
Received: from rtp-dkim-2.cisco.com ([64.102.121.159]) by rtp-iport-1.cisco.com with ESMTP; 19 May 2008 17:00:16 -0400
Received: from rtp-core-1.cisco.com (rtp-core-1.cisco.com [64.102.124.12]) by rtp-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id m4JL0FUM027184; Mon, 19 May 2008 17:00:15 -0400
Received: from xbh-rtp-201.amer.cisco.com (xbh-rtp-201.cisco.com [64.102.31.12]) by rtp-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id m4JL0F6f024659; Mon, 19 May 2008 21:00:15 GMT
Received: from xmb-rtp-212.amer.cisco.com ([64.102.31.111]) by xbh-rtp-201.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 May 2008 17:00:15 -0400
Received: from [10.21.70.152] ([10.21.70.152]) by xmb-rtp-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 May 2008 17:00:15 -0400
Message-ID: <4831EA52.3090103@cisco.com>
Date: Mon, 19 May 2008 17:00:02 -0400
From: Flemming Andreasen <fandreas@cisco.com>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
References: <026F8EEDAD2C4342A993203088C1FC050783A41E@esealmw109.eemea.ericsson.se> <48308F28.3050107@cisco.com> <026F8EEDAD2C4342A993203088C1FC050796C921@esealmw109.eemea.ericsson.se>
In-Reply-To: <026F8EEDAD2C4342A993203088C1FC050796C921@esealmw109.eemea.ericsson.se>
X-OriginalArrivalTime: 19 May 2008 21:00:15.0320 (UTC) FILETIME=[56202D80:01C8B9F3]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=21402; t=1211230815; x=1212094815; c=relaxed/simple; s=rtpdkim2001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=fandreas@cisco.com; z=From:=20Flemming=20Andreasen=20<fandreas@cisco.com> |Subject:=20Re=3A=20[MMUSIC]=20SDPCapNeg,=20modified=20m-li ne=20issue |Sender:=20 |To:=20Ingemar=20Johansson=20S=20<ingemar.s.johansson@erics son.com>; bh=l6kN4n3PWXK4d/VpOH3yWT35L+HmjkQETJcfKEQmA1Q=; b=QnvGE/BSoyC9WA0f+u/MMR/pMbBKbP8/WYRXoro4ReSQtuknc2CksTCb9G roIro3h1DeWwIVqDVGg6S4+vkdMH9dEs1oE7qJB1Tg5oD4pe+4FN44Cx+UGJ XCFi16x8F0;
Authentication-Results: rtp-dkim-2; header.From=fandreas@cisco.com; dkim=pass ( sig from cisco.com/rtpdkim2001 verified; );
Cc: mmusic@ietf.org
Subject: Re: [MMUSIC] SDPCapNeg, modified m-line issue
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/mmusic>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1914577482=="
Sender: mmusic-bounces@ietf.org
Errors-To: mmusic-bounces@ietf.org


Ingemar Johansson S wrote:
> Hi
>
> Thanks for the comments. To your questions/comments.
>
> Sofar e.g CSCF's are identified as nodes that may be problematic. In many cases it is likely that a B2BUA (e.g an SBC) may act as a "translator" (between e.g IMS and non-IMS) as it may anyway need to handle things such as encryption and transcoding but still a P-CSCF in the path may cause problems for different scenarios and may increase the number of interop scenarios and issues that must be dealt with. It is really difficult to say what might happen ( http://tools.ietf.org/html/draft-ietf-sipping-sip-offeranswer-08 does not consider unacceptable answers).
>
> It is true that some kind of a mandate for a 2nd offer/answer will very likely in the end lead to that media will not flow until the 2nd offer the earliest. Currently it is unclear if it will lead to increased setup times or if it is hidden by other signaling (e.g precondition)
>
> I tried to find some info about the modified "m=" line in the SDPCapNeg draft, more specifically if it is connected to a MUST. Sofar I have not found any such requirement. I may have missed it, please correct me.
>   
It follows from the description in Section 3.6.2 (Generating the 
answer), and in particular the following excerpt:

Once the answerer has selected a valid and supported offered
   potential configuration for all of the media streams (or has fallen
   back to the actual configuration plus any added session attributes),
   the answerer MUST generate a valid answer SDP based on the selected
   potential configuration SDP, as "seen" by the answerer (see Section
   3.6.2.1. for examples).

> The only more specific info I found is in section 3.4.2 that says that the receiver of the answer must be able to handle the case that an intermediary may rewrite the "m=" line. 
>   
I'm not sure where in Section 3.4.2 you see that. Answers are supposed 
to follow the rules in Section 3.6.2. and if an intermediary changes 
that, then things may or may not work (if it's a B2BUA, then obviously 
we are in a different situation).

> This would then mean that the answer may leave the "m=" line unaltered ?. 
No - see Section 3.6.2
> The offer when it receives the answer will then see that the "a=acfg" and the "m=" line does not correlate well and will issue another offer/answer round (probably as an UPDATE). There may occur some transmission of "faulty" media but as the receivers MAY discard this media this should be a minor issue (could be some early media security issues though).
>   
Again, this is not what the draft specifies (see Section 3.6.3 as well)

-- Flemming

> Regards
> Ingemar
>
>
>
>   
>> -----Original Message-----
>> From: Flemming Andreasen [mailto:fandreas@cisco.com] 
>> Sent: den 18 maj 2008 22:19
>> To: Ingemar Johansson S
>> Cc: mmusic@ietf.org
>> Subject: Re: [MMUSIC] SDPCapNeg, modified m-line issue
>>
>> Hi Ingemar
>>
>> Sorry for the delayed response - please see below.
>>
>> Ingemar Johansson S wrote:
>>     
>>> Hi
>>>
>>> As you may know, SDP Capability Negotiation Framework 
>>>       
>> (SDPCapNeg) is gaining interest in the 3GPP community 
>> especially in the SA4 and CT1 working groups. 
>>     
>>> The current plan is to propose SDPCapNeg to be included as 
>>>       
>> a part of the 3GPP standard.
>>     
>>> There are however concerns about a potential 
>>>       
>> interoperability issue with SDPCapNeg. 
>>     
>>> Namely that e.g. the m= line in the (first) SDP answer is 
>>>       
>> modified in such a way that intermediaries may reject the SDP 
>> with unpredictable/unknown consequences (also mentioned in 
>> 3.12 in the SDPCapNeg draft).
>>     
>>> An example is the SDP
>>> Offer:
>>>    m=audio 1234 RTP/AVP 97
>>>    a=fmtp..
>>>    a=rtpmap..
>>>    a=tcap:1 RTP/AVPF RTP/AVP
>>>    a=pcfg:1 t=1|2
>>>
>>> The answerer supports AVPF and returns
>>> Answer:
>>>    m=audio 5678 RTP/AVPF 97
>>>    a=fmtp..
>>>    a=rtpmap..
>>>    a=acfg:1 t=1
>>>
>>> An intermediate may accept the offer but reject the answer 
>>>       
>> for some reason and as it is the answer that is rejected the 
>> consequences are worse than if the offer would be rejected.
>>     
>>>   
>>>       
>> Is this a general concern or are you looking at a specific 
>> intermediary (e.g. the P-CSCF) ?
>>
>>     
>>> So far this is only a problem related to the m= line but as 
>>>       
>> the framework allows for extensions that may elevate this 
>> problem even more.
>>     
>>>   
>>>       
>> Agreed.
>>     
>>> Our proposal is therefore that the SDPCapNeg answer is only 
>>>       
>> allowed to do modifications to lines in the "conventional" 
>> SDP parts that are well known to work or supported by 
>> "conventional" SDP offer/answer exchange (the definition here 
>> is yet unclear). The answer SDP above would then look like 
>>     
>>>    m=audio 5678 RTP/AVP 97
>>>    a=fmtp..
>>>    a=rtpmap..
>>>    a=acfg:1 t=1
>>> In this example the preferred configuration is only 
>>>       
>> indicated by the a=acfg line.
>>     
>>>   
>>>       
>> Would the media stream(s) have been established with the 
>> indicated answer at this point in time (A) or would you now 
>> require a subsequent offer/answer exchange before the media 
>> stream(s) can be considered functional (B) ?
>>     
>>> This could of course make it more necessary to do a 2nd 
>>>       
>> offer/answer exchange, but we believe that mandating a 2nd 
>> offer answer will be needed even with the current solution to 
>> make sure things will work.
>>     
>>> One could rightly argue, as is also hinted in the SDPCapNeg 
>>>       
>> draft, that intermediaries should be upgraded. Problem is 
>> however that depending on product cycles and other issues 
>> among vendors and operators, this may take time. Also it is 
>> worth notice that 3GPP works based on the principle that 
>> things should be backward compatible. Furthermore we believe 
>> that solutions based on the "products should be upgraded" 
>> principle would cause problems even in non-3GPP networks 
>> since intermediaries may be found in many network deployments.
>>     
>>> Comments and suggestions on this issue are welcome.
>>>   
>>>       
>> Taking a step back, I believe the essence of your comments 
>> are, that if we want to use SDP Capability Negotiation to 
>> establish media streams, then we cannot do that in a single 
>> offer/answer exchange. Instead, you want to have a mechanism 
>> whereby we first exchange capabilities between the offerer 
>> and the answerer (without establishing a stream) followed by 
>> another exchange where we actually negotiate the media stream 
>> parameters. In other words, the current single-roundtrip O/A 
>> exchange provided by RFC 3264 and supported by SDPCapNeg is 
>> replaced by a two-roundtrip solution.
>>
>> While I understand the concern you are trying to address, we 
>> have been around this issue several times and the sdpcapneg 
>> document reflects the consensus solution. To recap, the 
>> requirements document
>> (draft-ietf-mmusic-sdp-capability-negotiation-reqts-01) has 
>> the following requirement:
>>
>>    REQ-100: The mechanism MUST work within the context of the
>>    offer/answer model [RFC3264]. Specifically, it MUST be possible to
>>    negotiate alternatives within a single offer/answer exchange.
>>
>> That particular requirement was discussed in the design team, 
>> in the Prague IETF, and subsequently on the MMUSIC mailing 
>> list (see "SDPCapNeg Issue #2: Answer not getting through 
>> middle-boxes if transport protocol in answer differs from 
>> offer" on 6/25/07) and consensus was for the mechanism 
>> specified currently.
>>
>> Note however, that the SDPCapNeg framework as currently 
>> defined can be used more or less the way you seem to prefer 
>> by merely including capabilities in the offer without the 
>> actual potential configuration attributes (which are used to 
>> trigger the extended O/A exchange). The thing that would be 
>> missing is expressing valid combinations of capabilites as 
>> well as preferences, however this is part of what the media 
>> capabilities extension document is addressing by introducing 
>> the "latent configuration" attribute, which you could then use.
>>
>> In lieu of the above, past history on requiring multiple O/A 
>> exchanges, the significant changes to the overall scheme your 
>> suggestion implies, and the fact that we completed WGLC a 
>> while ago, I don't think we should make this change.
>>
>> Regards
>>
>> -- Flemming
>>
>>     
>>> Regards
>>> Ingemar
>>> *******************************************
>>> Ingemar Johansson
>>> Senior Research Engineer, IETF "nethead" 
>>> EAB/TVP - Multimedia Technologies
>>> Ericsson Research Ericsson AB
>>> Box 920 S-971 28 Luleå, Sweden
>>> Tel: +46 (0)8 4043042
>>> ECN: 850-43042
>>> ECC: 850-43074
>>> Mobile: +46 (0)730 783289
>>> *******************************************
>>> _______________________________________________
>>> mmusic mailing list
>>> mmusic@ietf.org
>>> https://www.ietf.org/mailman/listinfo/mmusic
>>>
>>>   
>>>       
>
>   
_______________________________________________
mmusic mailing list
mmusic@ietf.org
https://www.ietf.org/mailman/listinfo/mmusic