W3C home > Mailing lists > Public > www-voice@w3.org > July to September 2008

RE: Vxml grammar with termtimeout=0s. How should the intrepeter react?

From: Michel Brabants <Michel.Brabants@telindus.be>
Date: Tue, 23 Sep 2008 11:16:22 +0200
Message-ID: <4C95A2806C1B5C42BBC5801B08691501027C4022@TBE1MXCV1.telindus.intra>
To: <www-voice@w3.org>
I just noticed that the example-input for the first problem isn't clear
maybe. I'm talking about only entering "#".
Thank you and kind regards,


From: www-voice-request@w3.org [mailto:www-voice-request@w3.org] On
Behalf Of Michel Brabants
Sent: 22 September 2008 11:33
To: www-voice@w3.org
Subject: Vxml grammar with termtimeout=0s. How should the intrepeter


I've written a small vxml-grammar and the product on which we use it is
not reacting like I think it should. Could someone confirm or correct
what the expected behaviour should be according to vxml 2.1?

This is the grammar (I know it could be written better :)): 

<?xml version="1.0" encoding="UTF-8"?> 

<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US" 
<http://www.w3.org/TR/speech-grammar/grammar.xsd> " 
         version="1.0" mode="dtmf" root="NatRegNumber"> 

<rule id="digit" scope="public"> 

<rule id="NatRegNumber" scope="public"> 
<!--A National registry number is permitted, or not input.--> 
                <item repeat="1-11"> 
                        <ruleref uri="#digit"/> 
                <item repeat="0-1"> 


Termtimeout=0s and there is no termchar. Interdigittimeout and timeout
are 3s. The interpreter doesn't end immediately after the '#', but waits
the interdigittimeout. Shouldn't it end immediately?

Another one. I've written the following grammar: 


Termchar is '#' and termtimeout > 0s. If I only enter '#' on the phone,
shouldn't it pass as a valid input because I've entered dtmf input, so
that the no-input can't be thrown (according to the examples in the
specification). The input actually passes the grammar as I allow empty
input. Am I correct or wrong?

Thank you for your help and kind regards, 


Michel Brabants
Telindus NV
Geldenaaksebaan 335, B-3001 Heverlee, Belgium
Mailto:michel.brabants@telindus.be <Mailto:michel.brabants@telindus.be> 

Telindus. Change things your way.
http://www.telindus.be <http://www.telindus.be>  
Received on Tuesday, 23 September 2008 09:17:20 UTC

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