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

Re: nothing on the spec to clear dtmf buffer ?

From: Stephane Boyera <boyera@w3.org>
Date: Thu, 20 Oct 2011 16:51:56 +0200
Message-ID: <4EA0358C.9090303@w3.org>
To: Michael Glover <GloverM@iivip.com>
CC: www-voice@w3.org
Hi Michael, and Shane

Thank you very much for your answers.

first of all, i'm not happy with a platform specific attribute, so 
that's why i sent this email. (if W3C staff write non-standard code 
where do we go ? :) )

Then, i don't want to turn barge-in to false for my second prompt. I 
just want to let the user know that he is entering a new prompt. He may 
decide or not to skip it, but he should be aware of it.

If i understand correctly what you are saying, just adding something like

<form id="eat">
<block>
<prompt bargein="false" cond="true">
           <audio src="silence.wav" />
</prompt>
          <goto next="#form2" />
</block>
</form>

which would play a 1s silence is enough to clear the dtmf buffer ?

I will try.

For now, my solution was not that different

<form id="eat">
<field name="barge" type="digits">
<property name="interdigittimeout" value="1s"/>
<prompt bargein="true" cond="true" timeout="0s">
</prompt>
	<noinput>
         	<goto next="#form2" />
	</noinput>
	<filled>
         	<goto next="#form2" />
	</filled>
</field>
</form>

even if a bit more complex.

In all case, it seems a bit ugly to me to have to add specific piece of 
codes to do something which seems quite natural.

Anyway, i've all the info i needed: a nicer solution, and the 
confirmation that there is no other option.

thanks again !
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:52:03 GMT

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