Re: [rtcweb] SDP_PRANSWER followed by SDP_OFFER scenario in JSEP

Justin Uberti <juberti@google.com> Tue, 01 May 2012 02:51 UTC

Return-Path: <juberti@google.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EDBB421E814B for <rtcweb@ietfa.amsl.com>; Mon, 30 Apr 2012 19:51:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.783
X-Spam-Level:
X-Spam-Status: No, score=-101.783 tagged_above=-999 required=5 tests=[AWL=0.309, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_FONT_FACE_BAD=0.884, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sJBOsZMsBDRf for <rtcweb@ietfa.amsl.com>; Mon, 30 Apr 2012 19:51:19 -0700 (PDT)
Received: from mail-qa0-f44.google.com (mail-qa0-f44.google.com [209.85.216.44]) by ietfa.amsl.com (Postfix) with ESMTP id 2BCC521E80BA for <rtcweb@ietf.org>; Mon, 30 Apr 2012 19:51:19 -0700 (PDT)
Received: by qadz3 with SMTP id z3so1901182qad.10 for <rtcweb@ietf.org>; Mon, 30 Apr 2012 19:51:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record; bh=/olfd8+4Wr+IOZO/FyFW7BKVwAJFtbAS47+IM4saRPw=; b=BTayv98RMf8GCRrp2QwzPZdh71W19RbKvW3WT+HabPs0NRBCsfoyXKbtMkTVf4PMet mQa+oTDpHDtVrHmHxOM/u8OOMZF8oXFGO9/PiLgh9XDfELDmR1goa0s9rREgPq9oA5xW ik0M0LpiIq1Cew18tnCZz4BIVIWUV4Pq+fZCan2Lm7cMF56iS4+jESMh3WSD6pK3MSsh AIVdoDlzWfGY9qgO+S/zyG8q3BCj5apqx2ocGp/GJ+XKOU775EnP4Q1pmnw2tCY0cm2K z0qFikWFkl2B49aHk+eAhgyhm2PWKvUu4TZZg/a1NnBQ4Vau8PFEvP71fSohFQd/DDy2 7dsg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record:x-gm-message-state; bh=/olfd8+4Wr+IOZO/FyFW7BKVwAJFtbAS47+IM4saRPw=; b=nmZkMOE8d8xouH36ZUa9V2FhweD/7Ys/Sg3iDVXkX3/+LXs4pCFL0vCTs7obhbG4oY aPVt1ecApLnv5KSCIO+iYmxcVpBlgTZGJgyewv3fOXlGw136S0V19s/2w/1y1vP8rav8 Rn8qQGhJomkBZ//lfSqYeApfPApU08UnvsUhno6+tyABCZK5rzMYpFWPlTXjp0jCJmTQ m+nF5hLexUA8+hP6taxnw8T6vjUx0dku9O7ZCCXsB+UZUaHGAXZon8oEu6ujalYt476l Hv8+008a2UZd9G8IXmLF7JnoA08vH89HysCqbOHI053JJztzL7ZADkUUsb2ZpjHm1jzE oE4A==
Received: by 10.224.105.202 with SMTP id u10mr3002361qao.54.1335840676547; Mon, 30 Apr 2012 19:51:16 -0700 (PDT)
Received: by 10.224.105.202 with SMTP id u10mr3002353qao.54.1335840676381; Mon, 30 Apr 2012 19:51:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.217.129 with HTTP; Mon, 30 Apr 2012 19:50:56 -0700 (PDT)
In-Reply-To: <CA+rAfUMfZBHxAjR0zmwhSxftQbPK0X3sNuxu4UV6bnMvnJ_9xA@mail.gmail.com>
References: <387F9047F55E8C42850AD6B3A7A03C6C0E23B102@inba-mail01.sonusnet.com> <CA+rAfUMfZBHxAjR0zmwhSxftQbPK0X3sNuxu4UV6bnMvnJ_9xA@mail.gmail.com>
From: Justin Uberti <juberti@google.com>
Date: Mon, 30 Apr 2012 19:50:56 -0700
Message-ID: <CAOJ7v-3K=NK6zCLr-E-aSHDKVv2hMqnUhZKroX0YoBTo6-nQ+Q@mail.gmail.com>
To: "Nataraju A.B" <nataraju.sip@gmail.com>
Content-Type: multipart/alternative; boundary="20cf306677dbfe043e04bef0a443"
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQlMTxcpUZ5ugsPyLrWG0GbGo4jPMWOgmCVBp6oCsDbF4hz6ybA732tFbXyHqh1Obc3aFP991TcAtDXA8S5oMqsMc/StTtiD6AbcAKZl6vHvJnz++MDJDHA2oG5NacHVlNWaP0Ny
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] SDP_PRANSWER followed by SDP_OFFER scenario in JSEP
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 May 2012 02:51:20 -0000

Yes, I was under the impression that SIP enforced this requirement,
although I am probably not aware of all the corner cases. Is there a
real-world scenario where this flow is required?

On Mon, Apr 30, 2012 at 10:55 AM, Nataraju A.B <nataraju.sip@gmail.com>wrote:

> If the scenario considered is without reliable provisional responses. Then
> the first ANSWER must be in 200-INV and no more O/A allowed during
> INVITE(initial) transaction.
>
> Basic requirement for reliable and unambiguous O/A is -* At any point in
> time there could be only one O/A open. *
>
> Also only one O/A suggested during INVITE(initial) transaction.
>
> For reference, rfc6337, list outs different O/A models...
>
> <rfc6337>
>
>
>             Offer                Answer             RFC    Ini Est Early
>      -------------------------------------------------------------------
>      1. INVITE Req.          2xx INVITE Resp.     RFC 3261  Y   Y    N
>      2. 2xx INVITE Resp.     ACK Req.             RFC 3261  Y   Y    N
>      3. INVITE Req.          1xx-rel INVITE Resp. RFC 3262  Y   Y    N
>      4. 1xx-rel INVITE Resp. PRACK Req.           RFC 3262  Y   Y    N
>      5. PRACK Req.           200 PRACK Resp.      RFC 3262  N   Y    Y
>      6. UPDATE Req.          2xx UPDATE Resp.     RFC 3311  N   Y    Y
>
>           Table 1: Summary of SIP Usage of the Offer/Answer Model
>
> </rfc6337>
>
> Thanks,
> Nataraju A B
>
> On Mon, Apr 30, 2012 at 12:31 PM, Ravindran, Parthasarathi <
> pravindran@sonusnet.com> wrote:
>
>> Justin/Cullen,
>>
>> Could you please explain in case for an SDP_OFFER(1), the remote entity
>> replies with SDP_PRANSWER followed by new SDP_OFFER (2) what is the
>> expected behavior. The exact callflow is as follows:
>>
>>
>> Browser1-------------------------Browser2(SIP-JSEP gateway)
>>    |        SDP_OFFER(1)            |  INV with offer1
>>    |------------------------------->|--->
>>    |       SDP_PRANSWER(1)          |  183 with answer1
>>    |<-------------------------------|<---
>>    |       SDP_OFFER(2)             |   UPDATE with offer2
>>    |<-------------------------------|<---
>>    |       SDP_ANSWER(2?)           |
>>    |--------------------->?
>>
>> The reason for this O/A callflow is due to UPDATE method (RFC 3311)
>> mapping in Browser 2 (SIP-JSEP gateway).
>>
>> Thanks
>> Partha
>>
>> PS: For simplicity, PRACK message exchange is not chosen in SIP side.
>>
>>
>>
>>
>>
>> _______________________________________________
>> rtcweb mailing list
>> rtcweb@ietf.org
>> https://www.ietf.org/mailman/listinfo/rtcweb
>>
>
>
>
> --
> Thanks,
> Nataraju A.B.
>
>