Re: [rtcweb] Support DTMF "codec" or expose DTMF in signaling? (Re: DTMF usecase before DTMF API)

Iñaki Baz Castillo <ibc@aliax.net> Fri, 18 November 2011 11:53 UTC

Return-Path: <ibc@aliax.net>
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 418BE21F89BA for <rtcweb@ietfa.amsl.com>; Fri, 18 Nov 2011 03:53:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.64
X-Spam-Level:
X-Spam-Status: No, score=-2.64 tagged_above=-999 required=5 tests=[AWL=0.037, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
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 9peGKasy0lds for <rtcweb@ietfa.amsl.com>; Fri, 18 Nov 2011 03:53:49 -0800 (PST)
Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) by ietfa.amsl.com (Postfix) with ESMTP id 9B5EE21F89B8 for <rtcweb@ietf.org>; Fri, 18 Nov 2011 03:53:49 -0800 (PST)
Received: by vcbfy13 with SMTP id fy13so22652vcb.31 for <rtcweb@ietf.org>; Fri, 18 Nov 2011 03:53:49 -0800 (PST)
Received: by 10.52.100.74 with SMTP id ew10mr3141946vdb.7.1321617229075; Fri, 18 Nov 2011 03:53:49 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.107.206 with HTTP; Fri, 18 Nov 2011 03:53:28 -0800 (PST)
In-Reply-To: <4EC63561.10909@skype.net>
References: <CAOJ7v-18cNX8xussOPXSEoFxAARu8WriL8XgxPVUXBrWhz=FFg@mail.gmail.com> <4EC28CF5.6000109@jesup.org> <D666B5A5-BF2E-46B7-B97F-06C3736E8357@acmepacket.com> <CAOJ7v-3v5Zu9ZOuL3Qqu+aEDJ4a3cqH+oJ2yj_ewOpxKe=jA_g@mail.gmail.com> <733D6CE2-2360-4688-8268-3503F7E2460C@acmepacket.com> <9A05449A-C0FB-4548-AA80-728EC82218BB@acmepacket.com> <387F9047F55E8C42850AD6B3A7A03C6C01CE9B22@inba-mail01.sonusnet.com> <4EC5C6FB.4040804@alvestrand.no> <6725A83E-0BB0-4F86-AB27-75027E317710@acmepacket.com> <4EC60963.8060508@alvestrand.no> <CALiegfmFizZ7zC55MCHVs_w6EO-FHfn2fSH4+yqCD5O82T3MTw@mail.gmail.com> <4EC63561.10909@skype.net>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Fri, 18 Nov 2011 12:53:28 +0100
Message-ID: <CALiegfnraby3e_TKMj95VUvaEyg3deomL=yciw0EW13O5q9w5w@mail.gmail.com>
To: Matthew Kaufman <matthew.kaufman@skype.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: "<rtcweb@ietf.org>" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Support DTMF "codec" or expose DTMF in signaling? (Re: DTMF usecase before DTMF API)
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: Fri, 18 Nov 2011 11:53:50 -0000

2011/11/18 Matthew Kaufman <matthew.kaufman@skype.net>:
>> In case
>> http://tools.ietf.org/html/draft-kaplan-dispatch-info-dtmf-package-00
>> becomes a standard, there is no need to send DTMF over the media
>> stream (when interoperating with SIP networks). Since this just
>> concerns the in-the-wire signaling it becomes up to the application
>> developer.
>>
>>
> Are you advocating that we not put DTMF-in-media support in browsers (in
> which case I have a good argument against), or are you simply making an
> observation about an alternative that may also become available?


I'd would like not to make the WebRTC API ugly just due to
interoperability with legacy networks, and DTMF is something that, for
sure, is so far from the concept of "Web innovation".

So if such DTMF can be emulated via the free in-the-wire signaling we
avoid adding it to the WebRTC API and also avoid browsers vendors
having to deal with DTMF duration, volume and other pure legacy
telephony stuff.

Even in modern SIP networks, sending DTMF's over RTP is undesired in
many cases and forces some non optimal architectural designs. For
example, it's very common the use case in which a SIP PBX system
brigdes a call between two phones/endpoints and offers "on-demand"
recording service. For this, the user (which just has a common/legacy
SIP phone) must enter some specific DTMF tones during the call. In
order the PBX to intercept these DTMF codes, the RTP must pass through
the PBX. If not, DTMF's must be sent over the signaling path so the
PBX is aware of them and can react.

So sending DTMF's over the signaling path is just better than sending
them over the media stream, IMHO for all the possible cases. This is
the reason of the use of INFO for carrying DTMFs (even if it has never
been standarized and its usage has real drawbacks).

Said that, I would strongly propose the above if
http://tools.ietf.org/html/draft-kaplan-dispatch-info-dtmf-package-00
was already a standard, unfortunatelly it's not the case.


-- 
Iñaki Baz Castillo
<ibc@aliax.net>