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

Re: nothing on the spec to clear dtmf buffer ?

From: Shane Smith <safarishane@gmail.com>
Date: Thu, 20 Oct 2011 10:25:56 -0400
Message-ID: <CABM7_zVk4DqgV+1qU1-s=p5epec0OB6aLQ-a+54D9g0yV_yhvQ@mail.gmail.com>
To: Stephane Boyera <boyera@w3.org>
Cc: www-voice@w3.org
Hi Stephane,

Actually, the way to clear dtmf is to have the caller pass through a prompt
where the bargein attribute is set false.


*"When the bargein attribute is false, input is not buffered while the
prompt is playing, and any DTMF input buffered in a transition state is
deleted from the buffer (Section
 describes input collection during transition states)."*

Hope that helps!


2011/10/20 Stephane Boyera <boyera@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<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:26:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:42 UTC