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

Re: nothing on the spec to clear dtmf buffer ?

From: Michael Glover <GloverM@iivip.com>
Date: Thu, 20 Oct 2011 10:18:14 -0500
To: www-voice@w3.org
Message-ID: <WC20111020151814.530030@iivip.com>
I agree. It seems like a simple thing that should be easy to do.

Perhaps the spirit of the specification expects that if you didn't want to
interrupt the form with previous digits, you would play one of those
non-bargeable "please listen to the menu, as our options have recently
changed" prompts that we all love to hear. 

My personal opinion of the best way to do it would be with a <property>
specified within the specification. Something like "cleardtmfbuffer".
Perhaps in VXML 3.0 something like this will be available.


Michael Glover
Software Engineer
Interact, Inc.


-----Original Message-----
From: Stephane Boyera <boyera@w3.org>
To: Michael Glover <GloverM@iivip.com>
Cc: www-voice@w3.org
Date: Thu, 20 Oct 2011 16:51:56 +0200
Subject: Re: nothing on the spec to clear dtmf buffer ?

> 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 20:29:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 October 2011 20:30:00 GMT