[MMUSIC] Text proposal resolving the ICE-"unexpected answer" issue

"Stach, Thomas" <thomas.stach@unify.com> Tue, 07 October 2014 13:26 UTC

Return-Path: <thomas.stach@unify.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 691431A3BA9 for <mmusic@ietfa.amsl.com>; Tue, 7 Oct 2014 06:26:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.685
X-Spam-Level:
X-Spam-Status: No, score=-2.685 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.786] autolearn=ham
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 WTZwDR8h8dIS for <mmusic@ietfa.amsl.com>; Tue, 7 Oct 2014 06:26:27 -0700 (PDT)
Received: from mx12.unify.com (mx12.unify.com [62.134.46.10]) by ietfa.amsl.com (Postfix) with ESMTP id 681651A6EE0 for <mmusic@ietf.org>; Tue, 7 Oct 2014 06:26:26 -0700 (PDT)
Received: from MCHP02HTC.global-ad.net (unknown [172.29.42.235]) by mx12.unify.com (Server) with ESMTP id 6B63D23F044F for <mmusic@ietf.org>; Tue, 7 Oct 2014 15:26:25 +0200 (CEST)
Received: from MCHP04MSX.global-ad.net ([169.254.1.241]) by MCHP02HTC.global-ad.net ([172.29.42.235]) with mapi id 14.03.0195.001; Tue, 7 Oct 2014 15:26:25 +0200
From: "Stach, Thomas" <thomas.stach@unify.com>
To: mmusic <mmusic@ietf.org>
Thread-Topic: Text proposal resolving the ICE-"unexpected answer" issue
Thread-Index: Ac/iMkpAw0V28GsDRgSeT8v4f4fMBA==
Date: Tue, 07 Oct 2014 13:26:24 +0000
Message-ID: <F81CEE99482EFE438DAE2A652361EE121E224DF2@MCHP04MSX.global-ad.net>
Accept-Language: de-AT, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.29.42.225]
Content-Type: multipart/alternative; boundary="_000_F81CEE99482EFE438DAE2A652361EE121E224DF2MCHP04MSXglobal_"
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/sryoZxZfbPiRXGpE_5mraDdrpj0
Subject: [MMUSIC] Text proposal resolving the ICE-"unexpected answer" issue
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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>
X-List-Received-Date: Tue, 07 Oct 2014 13:26:29 -0000

All,

at the last MMUSIC session I was asked to provide some text resolving the "unexpected answer" issue that I brought up on the MMUSIC list.
It took a while, but below is what I propose to include in draft-ietf-mmusic-ice-sip-sdp.

Currently there thee section dealing with the initial SDP offer/answer exchange.
3.  Sending the Initial Offer
4.  Receiving the Initial Offer
5.  Receipt of the Initial Answer
Now, section 9 deals with  subsequent SDP offer/answer exchanges, where the new text needs to go in.
It has subsections (9.1, 9.2) equivalent to 3 and 4 above, however, nothing equivalent to 5.
Thus, I think the existing 9.3 should be moved in new subsection 9.4 and the following text should be introduced:

9.3.  Receiving the answer for a subsequent offer

Some deployments of ICE include e.g. SDP-Modifying Signaling-only B2BUAs [RFC7092] that modify the SDP body during the subsequent offer/answer exchange. With the B2BUA being ICE-unaware a subsequent answer might be manipulated and might not include SDP candidates although the initial answer did.

An example of a situation where such an "unexpected" answer might be experienced appears when such aB2BUA introduces a media server during call hold using 3rd party call-control procedures. Omitting further details how this is done this could result in an answer being received at the holding UA that was constructed by the B2BUA. With the B2BUA being ICE-unaware that answer would not include SDP candidates.
Receiving an answer without ICE attributes in this situation might be unexpected, but would not necessarily impair the user experience.
In addition to procedures for the expected answer, the following sections give also some advice how to recover from the unexpected situation.


9.3.1 Procedures for All Implementations
When receiving an answer within an existing session for a subsequent offer as specified in 9.1.2.2, an agent MUST verify ICE support as specified in Section 5.1.

9.3.1.1 ICE restarts

If ICE support is indicated in the SDP answer, the agent MUST perform ICE restart procedures as specified in section 9.4 (the existing section 9.3) below.

If ICE support is no longer indicated in the SDP answer, the agent MUST fall-back to RFC 3264 procedures and SHOULD NOT drop the dialog just because of missing ICE support. If the agent sends a new offer later on it SHOULD perform an ICE restart as specified in 9.1.1.1.

9.3.1.2 Existing Media Streams with ICE Running

If ICE support is indicated in the SDP answer, the agent MUST continue ICE procedures as specified in section 9.4.1.4 (the existing section 9.3.1.4) below.
If ICE support is no longer indicated in the SDP answer, the agent MUST abort the ongoing ICE processing and fall-back to RFC 3264 procedures. The agent SHOULD NOT drop the dialog just because of missing ICE support. If the agent sends a new offer later on, it SHOULD perform an ICE restart as specified in 9.1.1.1.

9.3.1.3 Existing Media Streams with ICE Completed

If ICE support is indicated in the SDP answer and if the answer conforms to 9.2.2.3, the agent MUST remain in the ICE Completed state.

If ICE support is no longer indicated in the SDP answer, the agent MUST fall-back to RFC 3264 procedures and SHOULD NOT drop the dialog just because of this unexpected answer. Once the agent sends a new offer later on it MUST perform an ICE restart.


Existing 9.3 --> 9.4.  Updating the Check and Valid Lists
....

I'd like to get your feedback, if  that proposal is reasonable.

Regards
Thomas