- From: Karthik <karthik_m@huawei.com>
- Date: Tue, 18 Jun 2002 23:14:51 +0530
- To: 'Deepa R' <deepar_iyer@yahoo.com>
- Cc: www-voice@w3.org
- Message-id: <002e01c216ef$d9d25430$5903120a@in.huawei.com>
No its not FDT. That's our business scenario. Assume something like this. I want to say "you have enterd wrong digit" for invalid character and "A input timeout happened and the call is getting released" for IDT. How can I do this in vxml? I am sending this to mailing list because I wonder y there is a different handling for FDT and IDT. Wont it be better if I get noinput for both and the data entered till is in the shadow variable. -----Original Message----- From: Deepa R [mailto:deepar_iyer@yahoo.com] Sent: Friday, June 18, 2004 2:47 PM To: karthik_m@huawei.com Subject: RE: differentiate between InterdigitTimeOut and invalidcharacter I didnt get as to why you'd terminate a session on getting IDT. Take this case - You're expecting use rto dial say 10 digits, but user dials just 9 digits, upon IDT you come out of the loop wherein you're waiting for input collection. Do you want to terminate session because of this? Or is it that you're referring to FDT? In which case a noinput event is to be thrown. (here the timeout occurs before the user has dialed any digits) As for fixed length grammers, I actually meant grammars such as builtin grammars wherein you might know the size of the expected input. Like say - boolean - in this case only 1 digit is expected. Or say date - here you'll expect only a fixed number of digits. Or maybe some SRGS ones wherein you know the length of the input you're expecting. Karthik <karthik_m@huawei.com> wrote: 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. _____ Do you Yahoo!? Yahoo! <http://us.rd.yahoo.com/mail/taglines/*http:/promotions.yahoo.com/new_ma il/static/protection.html> Mail - You care about security. So do we.
Received on Friday, 18 June 2004 13:47:14 UTC