Re: [V3] Thoughts on scope for ript

Anthony Minessale <anthm@signalwire.com> Mon, 23 March 2020 22:22 UTC

Return-Path: <anthm@signalwire.com>
X-Original-To: v3@ietfa.amsl.com
Delivered-To: v3@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A4693A0E87 for <v3@ietfa.amsl.com>; Mon, 23 Mar 2020 15:22:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.988
X-Spam-Level:
X-Spam-Status: No, score=-1.988 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=signalwire.com
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 ZDv0NLVStdSc for <v3@ietfa.amsl.com>; Mon, 23 Mar 2020 15:22:48 -0700 (PDT)
Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 00DB83A0E7C for <v3@ietf.org>; Mon, 23 Mar 2020 15:22:44 -0700 (PDT)
Received: by mail-ua1-x92a.google.com with SMTP id v24so111478uak.0 for <v3@ietf.org>; Mon, 23 Mar 2020 15:22:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=signalwire.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=p2R65nWdH1q4cp0PyoMkhWzckrjWGedYmhDJpOt5G3I=; b=MyabwxgK6IFN950qGZMamrRAC7oSaRqZ0q4HenRRtEBLOlfGw7Qr1rwrs0033UCckj Fx0y5etN5OMQMP3AoLqQ32v6cRz+73ohNyfwy0xhBoQHbtXHV5NVBvOzfa1ijf22fQn6 ZG8TQjHAkdkz4cuWnHLB0kNLB66RfgTrcc1Uk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=p2R65nWdH1q4cp0PyoMkhWzckrjWGedYmhDJpOt5G3I=; b=A12457+dfag52J8azvRqJynKcOoAIPpjpC1HB1diwXLe/ZCMCf8P8ZdP7mPMoX3ipi uNMWqFrP2fB3ZqzswCNWIr7xjYWDIGXUKouUkRRAxZbDEzcGXcJubGFbmWEqLHu1nBx5 mcR7EOS5Fn/VPLtMKV9GYLr5WZmmr//iEkgCNL+dMi6NM9lAPcZf9XbQKWGDR7CJOX/N ABl/c7V/miCkk9Nlb92B8uGbXiXfE0ZO0I8Jox8Q1jKWUU6Tz9xb7fm5G6IVqQZ+TofB WZkjob4BDned3iRqPeqfWo4ETYTGw8UsmpqZ/zSuaWcyfoimCtRM7HoZFdpi6xypuQb2 l/6Q==
X-Gm-Message-State: ANhLgQ1Tl/TFmwliwecETg3X6U5PTt7CDTu1FuGlJlPah2pquBs17XmX XoqrxS+HQ9jh+ytknVT3s9kOB/DAJGsPVD/aDmQi8w==
X-Google-Smtp-Source: ADFU+vuftilL6ecWJuH/ZelmC71Bl09r3UUcPmRVTnrWu+TFH9Cv4bESS2kzrkvlTum+TuSMhUUu2R814bgWTvH8tBs=
X-Received: by 2002:ab0:2a1a:: with SMTP id o26mr15648234uar.62.1585002163523; Mon, 23 Mar 2020 15:22:43 -0700 (PDT)
MIME-Version: 1.0
References: <BYAPR06MB4391FBC64E195E87003061B8FBF00@BYAPR06MB4391.namprd06.prod.outlook.com> <CAOJ7v-0MP4p=tpzgNJu1Mxgt8cv4PL01PbQWhTzN6bYSQR9Yuw@mail.gmail.com>
In-Reply-To: <CAOJ7v-0MP4p=tpzgNJu1Mxgt8cv4PL01PbQWhTzN6bYSQR9Yuw@mail.gmail.com>
From: Anthony Minessale <anthm@signalwire.com>
Date: Mon, 23 Mar 2020 17:22:31 -0500
Message-ID: <CAMcSUfGZcTPLNQvFC9YRViPqa=VWM4Ba9XOWTZCpia9MT8K-Fg@mail.gmail.com>
To: Justin Uberti <juberti=40google.com@dmarc.ietf.org>
Cc: Jonathan Rosenberg <jdrosen@five9.com>, "v3@ietf.org" <v3@ietf.org>
Content-Type: multipart/related; boundary="000000000000ed4f8805a18d1217"
Archived-At: <https://mailarchive.ietf.org/arch/msg/v3/_i9BfMZNnh2zV0KLBumOGJYUkcc>
Subject: Re: [V3] Thoughts on scope for ript
X-BeenThere: v3@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <v3.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v3>, <mailto:v3-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v3/>
List-Post: <mailto:v3@ietf.org>
List-Help: <mailto:v3-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v3>, <mailto:v3-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Mar 2020 22:23:14 -0000

Also more consideration for live translation to sip/rtp/webrtc and
back-to-back scenarios.

If calls are being loaded balanced to many servers you still probably will
want a way to keep track of what calls are on what server in a way that
goes out of scope of HTTP so the application doing the clustering will bear
a pretty big burden of solving that problem from behind the cluster.

I read the memo about replacing SIP and was slightly disturbed that RFC2833
(4733/4734) is the one thing salvaged ;)
That would be the first to go IMHO, its the leading cause of interop issues
in all of telephony and very rarely implemented to its full potential not
to mention there are some timestamp translation issues I pointed out on the
github discussion so that is it's own can of worms.

Also, the description seems to be evolving more towards considerations
about making calls behave like a web app which is fine because that's the
GOAL but there is little consideration of actual trunking so far.  SIP
trunking is just a made-up marketing term to mirror original TDM trunking
which was actual trunking (bundling many calls into one stream to reduce
overhead) In reality SIP trunking is often just (a lot of SIP calls) We
have our SIP setup so you can send many calls to many different phone
numbers over a single registration and that causes introp issues because
most people don't comprehend this lol.

So it seems like there could be some improvements that could clean up
issues with WebRTC and how web-app type environments can bust through nat
etc.
WebRTC is still compatible with SIP in the sense that you can carry a
WebRTC SDP over sip and set up calls but most of the time its SIP over
WebSockets (though FS and Kamailio can translate and negotiate WebRTC
sessions to other SIP transports)

>From a server perspective with density being a major concern, removing all
the need for dialogs and route headers is a good thing. What I also think
is critical to preserve is the server's ability to limit the media formats
etc sent by the sender.  Killing Offer/Answer is ok but the replacement
should at least preserve the notions that a client can offer what it can
do, the server can narrow that scope with its own requirements and the
client must work within those shared formats.  The server is the one who
has to create thousands of connections etc and must not be treated as a
simple peer-to-peer agent.

Removing SRTP is another concern because it's pretty widely used now, it's
required in WebRTC and decryption in the middle was something I was hoping
we would go the other direction on and find ways to route encrypted packets
without needing to decode them.

I think if you want to replace SIP trunking more considerations have to be
made for the mass translation of TDM/SIP/SS7 and how that works with
routing and clustering.  I think some of that is how we got into that boat
with SIP because it was only later that this was tried and then workarounds
abounded for years.

On Mon, Mar 23, 2020 at 12:09 PM Justin Uberti <juberti=
40google.com@dmarc.ietf.org> wrote:

> In addition to Eric's comments, I think the biggest question regarding
> goals and scope is whether we focus on both client-to-server and
> server-to-server.
>
> If we are taking a fresh look at how all of IP calling works, we could
> find ourselves looking at:
> a) a replacement for SIP "RPCs" (i.e, how are commands reliably exchanged)
> b) a replacement for SIP operations and routing (i.e., the specific
> commands and routing mechanisms)
> c) a replacement for offer-answer (i.e., how do both sides agree on media
> formats)
> d) a replacement for SDP (i.e., the details of how media formats are
> described)
> e) a replacement for SRTP (i.e., how media is transmitted from point A to
> B)
> f) a replacement for RTP packetization (i.e., how media is encapsulated
> when transmitted)
>
> I think that server-to-server, essentially a NNI, requires us to consider
> all of these items, and that may ultimately make sense. However, if we
> focus initially on client-to-server, we can get by by only focusing on e)
> and f), as a-d) are under application control
>
> This could still provide a lot of value, since moving to a world where
> even private RTC services can be built atop HTTP would still be quite an
> accomplishment. (Compared to the current state of the world, where people
> deploying cloud RTC services need to source and deploy their own
> ICE/DTLS/SCTP/SRTP stacks and all the load
> balancing/authentication/failover tech that Jonathan mentions). It would
> also be complementary to WebRTC, which works pretty well for p2p
> applications, but struggles in c2s environments for the aforementioned
> reasons.
>
>
> On Mon, Mar 23, 2020 at 7:21 AM Jonathan Rosenberg <jdrosen@five9.com>
> wrote:
>
>> With our BoF coming up this Thursday, I thought the time is right to
>> restart discussions with a focus in particular on SCOPE of the effort.
>>
>> For me its defined entirely by the GOAL. The goal is:
>>
>> It is possible to implement a ript server in public cloud, such that it
>> is nothing more than a web application as far as public cloud is concerned,
>> and therefore works with web-centric features such as Kubernetes, global
>> http load balancers, and service meshes - to name a few. The server
>> implements everything needed to make and receive voice and video calls.
>>
>> I do think the scope needs to be inclusive of server to server peering,
>> not just client to server. The client-to-server stuff defines the core, but
>> for me I'm really interested in building an alternative to sip trunking and
>> that requires solving for additional things (inbound load balancing,
>> inbound authentication, number routing). I think those can easily be in a
>> separate draft but I think they should be in scope.
>>
>> Thx,
>> Jonathan R.
>>
>> --
>> Jonathan Rosenberg
>> CTO and Head of AI, Five9
>>
>>
>> ________________________________
>>
>> CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain
>> confidential information of Five9 and/or its affiliated entities. Access by
>> the intended recipient only is authorized. Any liability arising from any
>> party acting, or refraining from acting, on any information contained in
>> this e-mail is hereby excluded. If you are not the intended recipient,
>> please notify the sender immediately, destroy the original transmission and
>> its attachments and do not disclose the contents to any other person, use
>> it for any purpose, or store or copy the information in any medium.
>> Copyright in this e-mail and any attachments belongs to Five9 and/or its
>> affiliated entities..
>>
>> --
>> V3 mailing list
>> V3@ietf.org
>> https://www.ietf.org/mailman/listinfo/v3
>>
> --
> V3 mailing list
> V3@ietf.org
> https://www.ietf.org/mailman/listinfo/v3
>


-- 


Anthony Minessale  | Founder and CEO

SignalWire: *228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303
<https://maps.google.com/?q=228+Hamilton+Ave+3rd+Floor,+Palo+Alto,+CA+94303&entry=gmail&source=g>*

*https://youtu.be/WKjZkzgK4pc <https://youtu.be/WKjZkzgK4pc>*

https://youtu.be/MwqpSl7luSM

https://youtu.be/l82JtCECkog <https://www.youtube.com/watch?v=l82JtCECkog>

Email: anthm@signalwire.com

Phone: 262-309-8501

Website: <https://www.freeswitch.com/>https://www.signalwire.com
<https://www.facebook.com/search/top/?q=signalwire>
<https://twitter.com/SignalWire>