Re: [rtcweb] Media forking solution for SIP interoperability (without a media gateway)
Stefan Håkansson <stefan.lk.hakansson@ericsson.com> Sun, 30 October 2011 10:06 UTC
Return-Path: <stefan.lk.hakansson@ericsson.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 D4D6F21F8A55 for <rtcweb@ietfa.amsl.com>; Sun, 30 Oct 2011 03:06:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.932
X-Spam-Level:
X-Spam-Status: No, score=-5.932 tagged_above=-999 required=5 tests=[AWL=-0.233, BAYES_00=-2.599, J_CHICKENPOX_34=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4]
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 M0qli+HmBOln for <rtcweb@ietfa.amsl.com>; Sun, 30 Oct 2011 03:06:24 -0700 (PDT)
Received: from mailgw9.se.ericsson.net (mailgw9.se.ericsson.net [193.180.251.57]) by ietfa.amsl.com (Postfix) with ESMTP id D609B21F88B7 for <rtcweb@ietf.org>; Sun, 30 Oct 2011 03:06:23 -0700 (PDT)
X-AuditID: c1b4fb39-b7bfdae000005125-35-4ead219a778c
Received: from esessmw0191.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw9.se.ericsson.net (Symantec Mail Security) with SMTP id 94.4C.20773.A912DAE4; Sun, 30 Oct 2011 11:06:18 +0100 (CET)
Received: from [127.0.0.1] (153.88.115.8) by esessmw0191.eemea.ericsson.se (153.88.115.85) with Microsoft SMTP Server id 8.3.137.0; Sun, 30 Oct 2011 11:06:18 +0100
Message-ID: <4EAD2199.6050305@ericsson.com>
Date: Sun, 30 Oct 2011 11:06:17 +0100
From: Stefan Håkansson <stefan.lk.hakansson@ericsson.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <CALiegfkikmpi55ePUo=AQCQvorv4_6v2ByTCdL=V_=umcCEpUA@mail.gmail.com>
In-Reply-To: <CALiegfkikmpi55ePUo=AQCQvorv4_6v2ByTCdL=V_=umcCEpUA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [rtcweb] Media forking solution for SIP interoperability (without a media gateway)
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: Sun, 30 Oct 2011 10:06:24 -0000
I assume that part of the solution here is that the new PeerConnection's reuse the same candidates as the first one created? Br, Stefan On 10/29/2011 07:29 PM, Iñaki Baz Castillo wrote: > Hi, the next suggestion would allow media serial/parallel forking > scenarios when interoperating with a SIP network. It is just a > *suggestion*. > > > Assumtions > ------------------ > > - WebRTC specs don't allow sharing a local PeerConnection for sending > and receiving media to/from more than a single remote peer. > > - The remote pure SIP peers implement ICE+SRTP and can interoperate > with a WebRTC client in the media plane without requiring media > gateways. > > > The problem > ------------------ > > Let's assume a WebRTC client implementing SIP at JavaScript level > (although there could be a signaling gateway). > > - The WebRTC client makes an outgoing call which arrives to a SIP > proxy and forking occurs (serial or parallel). > > - The WebRTC client receives more than a single SIP 183 response with > different To-tags and different SDPs (so they are different remote SIP > peers). > > - And/or the WebRTC client receives a 200 OK with a Totag and SDP > different than the one received in the previous 183. > > In this case, given the first assumption above, the WebRTC client must > choose a single remote SIP peer and can just send and receive media to > the chosen peer (limitation 1). > If the SIP 200 OK arriving to the WebRTC client belongs to a remote > peer different than the chosen one, the WebRTC client cannot reuse the > already open local PeerConnection since it was created passing it a > different remote SDP (limitation 2). > > > Solution > ------------ > > - The WebRTC client sends the call and receives a 183 with Totag > "AAAA" and SDP "SDP_A" from SIP_PEER_A. > > - It creates a PeerConnection passing it "SDP_A", sends like a ROAP > Answer to the peer and media flow starts between client and > SIP_PEER_A. > > - Later (or very soon) another 183 with Totag "BBBB" and SDP "SDP_B" > arrives to the WebRTC client from SIP_PEER_B. > > - The client creates a *new* PeerConnection *without* passing it > "SDP_B" and sends a SIP UPDATE with the associated ROAP Offer to > SIP_PEER_B. > > - If SIP_PEER_B implements SIP UPDATE it will reply a 200 OK with a > new "SDP_B2" (it could be the same as "SDP_B"). > > - The client then passes "SDP_B2" to the second PeerConnection and > media flow starts between client and SIP_PEER_A. > > - Later a SIP 200 OK with Totag "CCCC" and SDP "SDP_C" arrives to the > client from SIP_PEER_C. > > - The client creates a *new* PeerConnection *without* passing it > "SDP_C" and sends a SIP re-INVITE with the associated ROAP Offer to > SIP_PEER_C. > > - SIP_PEER_C will reply a 200 OK with a new "SDP_C2" (it could be the > same as "SDP_C"). > > - The client then passes "SDP_C2" to the third PeerConnection and > media flow starts between client and SIP_PEER_C. At the same time the > client destroys the first and second PeerConnections. > > And we are done. Limitation solved. Of course if SIP_PEER_B does not > implement UPDATE we have a problem, but RFC 3311 (SIP UPDATE Method) > is a standard since 2002, come on! > > > Conclusion > ---------------- > > SIP media forking can be implemented in JavaScript without mandating > special requirements in WebRTC for interoperating with "legacy" SIP > (why do we call "legacy" to SIP???). And we just need tu use existing > SIP mechanisms. > > No signaling gateway is required (of course !!) nor a media gateway > (if second bullet in "Assumtions" section above is satisfied). > > We all are happy (but those who have in mind a market selling > WebRTC-SIP gateway boxes and want that the specs satisfy their > business model). > > >
- [rtcweb] Media forking solution for SIP interoper… Iñaki Baz Castillo
- Re: [rtcweb] Media forking solution for SIP inter… Stefan Håkansson
- Re: [rtcweb] Media forking solution for SIP inter… Iñaki Baz Castillo
- Re: [rtcweb] Media forking solution for SIP inter… Christer Holmberg
- Re: [rtcweb] Media forking solution for SIP inter… Iñaki Baz Castillo
- Re: [rtcweb] Media forking solution for SIP inter… Christer Holmberg
- Re: [rtcweb] Media forking solution for SIP inter… Iñaki Baz Castillo
- Re: [rtcweb] Media forking solution for SIP inter… Christer Holmberg
- Re: [rtcweb] Media forking solution for SIP inter… Iñaki Baz Castillo
- Re: [rtcweb] Media forking solution for SIP inter… Christer Holmberg
- Re: [rtcweb] Media forking solution for SIP inter… Cullen Jennings
- Re: [rtcweb] Media forking solution for SIP inter… Harald Alvestrand
- Re: [rtcweb] Media forking solution for SIP inter… Iñaki Baz Castillo
- Re: [rtcweb] Media forking solution for SIP inter… Christer Holmberg
- Re: [rtcweb] Media forking solution for SIP inter… Iñaki Baz Castillo
- Re: [rtcweb] Media forking solution for SIP inter… Christer Holmberg
- Re: [rtcweb] Media forking solution for SIP inter… Iñaki Baz Castillo
- Re: [rtcweb] Media forking solution for SIP inter… Ravindran Parthasarathi
- Re: [rtcweb] Media forking solution for SIP inter… Iñaki Baz Castillo
- Re: [rtcweb] Media forking solution for SIP inter… Christer Holmberg
- Re: [rtcweb] Media forking solution for SIP inter… Ravindran Parthasarathi
- Re: [rtcweb] Media forking solution for SIP inter… Bernard Aboba
- Re: [rtcweb] Media forking solution for SIP inter… Iñaki Baz Castillo
- Re: [rtcweb] Media forking solution for SIP inter… Hadriel Kaplan