W3C home > Mailing lists > Public > www-voice@w3.org > October to December 2011

nothing on the spec to clear dtmf buffer ?

From: Stephane Boyera <boyera@w3.org>
Date: Thu, 20 Oct 2011 16:11:35 +0200
Message-ID: <4EA02C17.2050708@w3.org>
To: www-voice@w3.org
Hi
I've been trying to find a way to clear dtmf buffer before entering a form.
The typical case is very simple:

*playing a prompt with barge-in authorized
*then having a form with a menu which plays a prompt (with still 
barge-in authorized) and capture the input

what's happening is that because the first prompt is not consuming any 
dtmf, then any key pressed is passed to the second form and interrupt 
directly the second prompt and evaluate the key press.

So in practice, the barge-in in the first prompt skip the second one.

I've been trying to find a way to clear the dtmf buffer.
so one (ugly) way to do that is to insert between the two part a fake 
form that consume all dtmf. that works but this is not really art 
programming.
I see also that some platform added an attribute for form
See e.g. voicegenie and cleardtmf attribute: 
http://developer.voicegenie.com/voicexml2tagref.php?tag=st_form&display=standardtags 


This does not look very standard compliant. I dind't find anything in 
the spec for that.
Did i miss something and is there a declarative way to clear the buffer 
without going through a hack ?

Cheers
Steph
-- 
Stephane Boyera		stephane@w3.org
W3C				+33 (0)6 73 84 87 27
BP 93				fax: +33 (0) 4 92 38 78 22
F-06902 Sophia Antipolis Cedex,		
France
Received on Thursday, 20 October 2011 14:11:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 October 2011 14:11:49 GMT