Re: [rtcweb] DTMF usecase before DTMF API [was RE: The DTMF API]

Harald Alvestrand <harald@alvestrand.no> Fri, 18 November 2011 02:46 UTC

Return-Path: <harald@alvestrand.no>
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 4D77F1F0C61 for <rtcweb@ietfa.amsl.com>; Thu, 17 Nov 2011 18:46:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.479
X-Spam-Level:
X-Spam-Status: No, score=-110.479 tagged_above=-999 required=5 tests=[AWL=0.120, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, 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 EwwG1Sfcujzm for <rtcweb@ietfa.amsl.com>; Thu, 17 Nov 2011 18:46:25 -0800 (PST)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by ietfa.amsl.com (Postfix) with ESMTP id 9B1391F0C34 for <rtcweb@ietf.org>; Thu, 17 Nov 2011 18:46:24 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id E142839E176; Fri, 18 Nov 2011 03:46:23 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GLjl2xBcpIjm; Fri, 18 Nov 2011 03:46:22 +0100 (CET)
Received: from [130.129.85.52] (dhcp-5534.meeting.ietf.org [130.129.85.52]) by eikenes.alvestrand.no (Postfix) with ESMTPS id 9018439E0D4; Fri, 18 Nov 2011 03:46:21 +0100 (CET)
Message-ID: <4EC5C6FB.4040804@alvestrand.no>
Date: Fri, 18 Nov 2011 10:46:19 +0800
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15
MIME-Version: 1.0
To: "Ravindran, Parthasarathi" <pravindran@sonusnet.com>
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>
In-Reply-To: <387F9047F55E8C42850AD6B3A7A03C6C01CE9B22@inba-mail01.sonusnet.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: "<rtcweb@ietf.org>" <rtcweb@ietf.org>
Subject: Re: [rtcweb] DTMF usecase before DTMF API [was RE: The 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 02:46:26 -0000

On 11/18/2011 09:53 AM, Ravindran, Parthasarathi wrote:
> It will be great in case usecase are added before going into DTMF API.
4.3.2.  Fedex Call

4.3.2.1.  Description

    Alice uses her web browser with a service something like Skype to be
    able to phone PSTN numbers.  Alice calls 1-800-gofedex.  Alice should
    be able to hear the initial prompts from the fedex IVR and when the
    IVR says press 1, there should be a way for Alice to navigate the
    IVR.

4.3.2.2.  Derived Requirements

    F1, F2, F3, F4, F5, F6, F8, F9, F10, F21, F22

    A1, A2, A3, A4, A7, A8, A9, A10, A11, A12

>   AFAIK, DTMF is not directly going to useful in browser-browser scenario and it is possible to pass DTMF in the signaling layer for H.323, SIP in the standard manner.
What do you mean by "the standard manner"?

> IMO, There are way to solve DTMF in WebRTC without including media level API.
How do you propose to allow Alice in the use case to navigate the IVR 
without having some API that allows injecting DTMF?

Whether the API is media level or not, it seems clear to me that there 
needs to be an API. (The alternative would be to claim that the dialpad, 
too, is part of the browser chrome - that seems to me like the wrong 
solution in this case.)

(and - sounding like a broken record - the API aspects REALLY need to be 
in the W3C list.)
> Thanks
> Partha
>
>> -----Original Message-----
>> From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On Behalf
>> Of Hadriel Kaplan
>> Sent: Thursday, November 17, 2011 6:18 PM
>> To: Justin Uberti
>> Cc: Randell Jesup;<rtcweb@ietf.org>
>> Subject: Re: [rtcweb] The DTMF API [Was: Traffic should be encrypted.
>> (Re: Let's define the purpose of WebRTC)]
>>
>>
>> FYI - I asked an expert and he said that for the default DTMF duration
>> that although 50ms is the official minimum, in practice it's safer to
>> use 100ms and people often do that (or even longer but we don't need
>> to).  We also need to have a 50ms gap minimum.
>> So basically confirming what was already stated in other emails in this
>> thread.
>>
>> -hadriel
>>
>>
>> On Nov 16, 2011, at 1:38 AM, Hadriel Kaplan wrote:
>>
>>> On Nov 16, 2011, at 1:13 AM, Justin Uberti wrote:
>>>
>>>> [Local]MediaStreamTrack.sendDTMF(in DOMString tones, in optional long
>>>> duration)
>>>>
>>>> ex:
>>>> sendDTMF("1")  // plays tone 1 for 50 ms sendDTMF("2", 200)  // plays
>>>> tone 2 for 200 ms
>>>> sendDTMF("123")  // plays tones 1, 2, 3 in succession, each for 50 ms
>>>> sendDTMF("456", 200)  // plays tones 4, 5, 6 in succession, each for
>>>> 200 ms
>>> Sounds good to me, but supporting a multi-digit-string as you did
>>> above reminds me that I'll have to check with some experts if this is
>> ok - it reminded me there have been issues with DTMFs being too close to
>> each other in time, but I am not an expert in that and it may not be an
>> issue at all.  (there were issues in PSTN when multiple DTMFs were
>> generated back-to-back from a saved address-book contact-entry type
>> thing, but it may have only been a problem for using in-band DTMF which
>> won't be an issue here) I'll ask.
>>> -hadriel
>>>
>>> _______________________________________________
>>> rtcweb mailing list
>>> rtcweb@ietf.org
>>> https://www.ietf.org/mailman/listinfo/rtcweb
>> _______________________________________________
>> rtcweb mailing list
>> rtcweb@ietf.org
>> https://www.ietf.org/mailman/listinfo/rtcweb
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb
>