Re: [codec] #5: Mention DTMF in requirements

"Raymond (Juin-Hwey) Chen" <rchen@broadcom.com> Mon, 05 April 2010 21:43 UTC

Return-Path: <rchen@broadcom.com>
X-Original-To: codec@core3.amsl.com
Delivered-To: codec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2D3143A689C for <codec@core3.amsl.com>; Mon, 5 Apr 2010 14:43:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.002
X-Spam-Level:
X-Spam-Status: No, score=0.002 tagged_above=-999 required=5 tests=[BAYES_50=0.001, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ytJlHL0Jn46I for <codec@core3.amsl.com>; Mon, 5 Apr 2010 14:43:39 -0700 (PDT)
Received: from mms2.broadcom.com (mms2.broadcom.com [216.31.210.18]) by core3.amsl.com (Postfix) with ESMTP id BEFDD28C108 for <codec@ietf.org>; Mon, 5 Apr 2010 14:43:38 -0700 (PDT)
Received: from [10.9.200.131] by mms2.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.2)); Mon, 05 Apr 2010 14:43:18 -0700
X-Server-Uuid: D3C04415-6FA8-4F2C-93C1-920E106A2031
Received: from IRVEXCHCCR01.corp.ad.broadcom.com ([10.252.49.30]) by IRVEXCHHUB01.corp.ad.broadcom.com ([10.9.200.131]) with mapi; Mon, 5 Apr 2010 14:43:18 -0700
From: "Raymond (Juin-Hwey) Chen" <rchen@broadcom.com>
To: Roman Shpount <roman@telurix.com>
Date: Mon, 05 Apr 2010 14:43:16 -0700
Thread-Topic: [codec] #5: Mention DTMF in requirements
Thread-Index: AcrSzJ2v+ELs5hQ7QaqcOJWi+BUS5gCOJbWQ
Message-ID: <CB68DF4CFBEF4942881AD37AE1A7E8C74AB3B87056@IRVEXCHCCR01.corp.ad.broadcom.com>
References: <05542EC42316164383B5180707A489EE1D0AA5F58E@EMBX02-HQ.jnpr.net> <003d01cad270$91acee00$b506ca00$@de> <h2i6e9223711004020749u48c533eaq720b89f374cfbe9f@mail.gmail.com> <000301cad28a$ca0c6450$5e252cf0$@de> <n2j28bf2c661004021202s507c675ek50a1a216da540f8f@mail.gmail.com> <CB68DF4CFBEF4942881AD37AE1A7E8C74AB3B86EB6@IRVEXCHCCR01.corp.ad.broadcom.com> <w2r28bf2c661004021825p4e3a6749k8888ecdc672ee427@mail.gmail.com>
In-Reply-To: <w2r28bf2c661004021825p4e3a6749k8888ecdc672ee427@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
MIME-Version: 1.0
X-WSS-ID: 67A486FC38O163909412-01-01
Content-Type: multipart/alternative; boundary="_000_CB68DF4CFBEF4942881AD37AE1A7E8C74AB3B87056IRVEXCHCCR01c_"
Cc: "codec@ietf.org" <codec@ietf.org>
Subject: Re: [codec] #5: Mention DTMF in requirements
X-BeenThere: codec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Codec WG <codec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/codec>
List-Post: <mailto:codec@ietf.org>
List-Help: <mailto:codec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 05 Apr 2010 21:43:49 -0000

Roman,

Answers to you questions in-line.

Raymond

From: Roman Shpount [mailto:roman@telurix.com]
Sent: Friday, April 02, 2010 6:26 PM
To: Raymond (Juin-Hwey) Chen
Cc: codec@ietf.org
Subject: Re: [codec] #5: Mention DTMF in requirements

I understand your points. There are few questions that I have:

1. Do we need a real world DTMF and telephone signals recording database to implement this? Correct me if I am wrong, you've done your tests for BV16 using your own DTMF generator and unspecified "commercial" DTMF detector. How would define this test in a way it is possible to replicate it by third parties and reference it in a standard?
[Raymond]: We can use real-world recorded DTMF signals if we want to, but we don't have to. Yes, in our DTMF testing of BV16 we used a DTMF generator software to generate the waveform of 20,000 random DTMF symbols for each of 24 DTMF test conditions, for a total of nearly half a million DTMF symbols. After passing through the codec, the DTMF signals were passed through a PC executable program which simulated a DTMF decoder that was widely deployed in commercial VoIP applications. The decoded DTMF symbols were then compared with the original DTMF keys used to generate the symbols to calculate the error rates. As you can see, such a test method is purely based on software and can easily be duplicated by third parties.  If the codec WG decides not to do anything with DTMF, then obviously nothing further needs to be done, but if the WG decides that the codec candidate needs to be tested for DTMF pass-through, I will try to dig up our DTMF test software package and get internal approval to donate it to IETF for this purpose.
2. Did you ever test your CODEC for other telephony signals, such as /ANSam, ANS, CED, and CI tones? These tones are needed in order to detect modems and fax machines and switch to an appropriate payload. What about progress tones?
[Raymond]: No, we didn't.  However, if these are single-frequency tones, I would expect that it should be easier for a typical codec to pass these tones than to pass the dual-frequency DTMF signals without causing significant degradation in the subsequent processing of these tones.
3. Is this criteria feasible for large frame CELP CODECs? Are we going to exclude them based on this criteria?
[Raymond]: If a CELP codec with a large frame size is designed such that it can provide high encoding fidelity for DTMF signals, then it is still feasible for such a CELP codec to pass DTMF signals without causing subsequent DTMF decoding errors, so being a large frame CELP codec does not automatically mean it will be excluded.
_____________________________
Roman Shpount - www.telurix.com<http://www.telurix.com>

On Fri, Apr 2, 2010 at 9:05 PM, Raymond (Juin-Hwey) Chen <rchen@broadcom.com<mailto:rchen@broadcom.com>> wrote:
Comments in-line.

Raymond

From: codec-bounces@ietf.org<mailto:codec-bounces@ietf.org> [mailto:codec-bounces@ietf.org<mailto:codec-bounces@ietf.org>] On Behalf Of Roman Shpount
Sent: Friday, April 02, 2010 12:03 PM
To: codec@ietf.org<mailto:codec@ietf.org>
Subject: Re: [codec] #5: Mention DTMF in requirements

This is all wonderful, but what seems to be missing here is any type of standard test for DTMF tone detection. We have a number of tests for things that should not be detected as DTMF (various talk-off tapes), but there is no test with samples of valid DTMF signals. In real world you get quite a variety of tones that different handsets or telephone devices generate when a digit is pressed. Some of those tones are almost at border line conditions for a valid DTMF tone.
[Raymond]: I commented on this earlier. ITU-T G.720 can be used for general guidelines. There were some published papers on codec DTMF pass-through testing based on G.720. Our BroadVoice16 paper is one of them (even though we relaxed some corner conditions of G.720 to get a better idea of real-world performance). If people are interested, I can share more details about the test method.
Second issue, which was already mentioned here, would be performance of DTMF tone detector in the presence of packet loss or time stretching caused by jitter buffer. Those things, even if they do not prevent DTMF detection, are almost guaranteed to split a single long tone in two.
[Raymond]: Packet loss certainly will cause problems, but if the packet loss rate is relatively low, there is still a good chance that DTMF digits can get through.
Finally, we seemed to concentrate on DTMF tones only, but in reality all the signaling/special tones are quite important. Fax Send/Receive tones come to mind almost immediately as tones that are typically detected inband (very few gateways encode those tones using RFC 4733/2833)

I think we should formulate this requirement not in terms of DTMF tone but in terms of accuracy of reproduction of  periodic signals in specified frequency ranges. To be honest, the most robust solution would be to incorporate RFC4733/4744 as a part of the codec in a manner similar to comfort noise frames.
[Raymond]: I don't think we can do it in terms of "accuracy of reproduction of periodic signals in specified frequency ranges".  That may work for some single-frequency signaling tones, but it won't work for DTMF, since DTMF signals are not periodic in any sense as the two frequencies of the sine waves are not harmonically related.
_____________________________
Roman Shpount - www.telurix.com<http://www.telurix.com>
On Fri, Apr 2, 2010 at 1:34 PM, Christian Hoene <hoene@uni-tuebingen.de<mailto:hoene@uni-tuebingen.de>> wrote:
Hi Stephan,

Comments inline:


---------------------------------------------------------------
Dr.-Ing. Christian Hoene
Interactive Communication Systems (ICS), University of Tübingen
Sand 13, 72076 Tübingen, Germany, Phone +49 7071 2970532
http://www.net.uni-tuebingen.de/
From: stephen botzko [mailto:stephen.botzko@gmail.com<mailto:stephen.botzko@gmail.com>]
Sent: Friday, April 02, 2010 4:50 PM
To: Christian Hoene
Cc: Michael Knappe; stpeter@stpeter.im<mailto:stpeter@stpeter.im>; codec@ietf.org<mailto:codec@ietf.org>
Subject: Re: [codec] #5: Mention DTMF in requirements
(a) "MUST NOT" means that it must fail.  Perhaps you meant "need not" or "might not"?
CH: Yes, I meant need not (or the German "muss nicht")

(b) SHOULD is commonly used in establishing requirements, and it certainly was used in MARTINI and other working groups at IETF77 in
requirements presentations with no confusion. It has a clear meaning in the requirements context (desirable but not essential) and I
see no reason to avoid its use at this phase.  There will certainly be other things that are "nice to have", and it is appropriate
to track them and consider them in the selection/standardization process.
CH: Better? "The codec SHOULD support the transmission DTMF at most transmission conditions."

I agree that language about DTMF might not need to be in the final RFC.  Though if DTMF quality is known to be inadequate, it
probably makes sense to tell people that.
CH: Agreed. The limits of the codec shall be clearly stated.

I also agree to the obvious comment that DTMF detection methods are out of scope.
CH: Agreed.

CH: Isn't time to include the MUST requirement for DTMF testing and SHOULD requirement for transmission support into the
requirements document.
Then, we could close issue #5 and continue with other things.

 Christian



_______________________________________________
codec mailing list
codec@ietf.org<mailto:codec@ietf.org>
https://www.ietf.org/mailman/listinfo/codec