- From: Shane Smith <safarishane@gmail.com>
- Date: Thu, 20 Oct 2011 10:25:56 -0400
- To: Stephane Boyera <boyera@w3.org>
- Cc: www-voice@w3.org
- Message-ID: <CABM7_zVk4DqgV+1qU1-s=p5epec0OB6aLQ-a+54D9g0yV_yhvQ@mail.gmail.com>
Hi Stephane, Actually, the way to clear dtmf is to have the caller pass through a prompt where the bargein attribute is set false. http://www.w3.org/TR/voicexml20/#dml4.1.5 *"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 4.1.8<http://www.w3.org/TR/voicexml20/#dml4.1.8> describes input collection during transition states)."* Hope that helps! ~Shane 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