RE: differentiate between InterdigitTimeOut and invalidcharacter

Dear Deepa,

               Thanks for your reply. We have to differentiate because
if invalid char is pressed, I have to reprompt, or IDT then I may
terminate the session. Is there any other way to do this?

 

As part of your post processing (validating it against the active
grammars at that time, you can find out if the nomatch is because of an
invalid character (in this case the length of input collected will match
the expected length ONLY in case of fixed length grammars.) 

               >>> I cant understand this. Can you elaborate more on
this or provide me some pointers.

            

 

Thanks

Karthik M

            

 

 

-----Original Message-----
From: Deepa R [mailto:deepar_iyer@yahoo.com] 
Sent: Friday, June 18, 2004 11:21 AM
To: karthik_m@huawei.com
Subject: Re: differentiate between InterdigitTimeOut and
invalidcharacter

 

Only nomatch event gets generated. But then does it really make a
difference? 

How do you know that input collection is done and that you need not wait
for anymore input? 

Only because of IDT.

 Another way would be if you knew that you are expecting a fixed length
of input (say). This will depend upon the active grammar. If the grammar
is such that you can determine that a fixed length input is required
then you can say that input collection is over after the user enters the
input of expected length.

Suppose you have multiple grammars active, which are not of the fixed
length kind, then you don't know if input digit collection is over till
IDT. 

As part of your post processing (validating it against the active
grammars at that time, you can find out if the nomatch is because of an
invalid character (in this case the length of input collected will match
the expected length ONLY in case of fixed length grammars.) 

 



Karthik <karthik_m@huawei.com> wrote:

Hello all,

            In VXML, how can I differentiate whether nomatch event is
for IDTO or for Invalid character is entered

 

Thanks in Advance

M. Karthik

U-NICA 

 

  _____  

Do you Yahoo!?
Take
<http://us.rd.yahoo.com/mail/taglines/*http:/mobile.yahoo.com/maildemo>
Yahoo! Mail with you! Get it on your mobile phone.

Received on Friday, 18 June 2004 04:27:58 UTC