cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
63
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: null on 23-05-2003 06:35:15 AM
Hello.
I have a question about using the time element's disambiguation prompts. I can see that one of them will be chosen, depending on the time captured from the user. Why is it that during this diambiguation prompt, I am not able to say AM or PM?

This is the way I wanted to work. If the user forgets to say AM or PM after the time, I just want a message that asks for just AM or PM, nothing else.

I tried looking at time.grammar, but I wasn't able to figure it out. How can I get around this problem?

Thank You,
Daniel Yoon

Subject: RE: time element
Replied by: null on 23-05-2003 10:14:21 PM
Hi Daniel,

The Time voice element does support disambiguation if there is only a partial match for the initial time input. Depending on what the builtin time grammar returns, the caller may be prompted for more information. For example, if the caller says "2:30" and the builtin grammar returns 0230?, then the element will then prompt the configured Morning Afternoon audio groups. Valid caller input will then store the appropriate AM/PM value in the element data variable. There are a number of other disambiguation prompts that are used depending on the inputted time value. Please check the Audium Element Specifications document for more details. One quick way to try this out is to configure a Time element with one of the shipped preset configurations. The disambiguation will work for both speech and DTMF inputs depending on which configuration you use.

Regards,

Joe

Subject: time and date disambiguations
Replied by: null on 02-06-2003 06:14:27 AM
Hi. Thank You for your help so far.
I have two things that I ran into regarding disamiguation.

1)Everything works perfectly, but when I say "twelve 'O clock" without "am or pm", it assumes that it's 12:00 p.m. The variable returned from the time element is 1200.

I wanted to play the message "Is it noon or midnight?" and give a choice to the user.

2)For the Date, when I say the month without the day, I will get an error. I do not know why. It wouldn't play the day disambiguation clip.

Any ideas?

Thank You very much,
Daniel Yoon

Subject: time and date disambiguations
Replied by: null on 02-06-2003 06:14:49 AM
Hi. Thank You for your help so far.
I have two things that I ran into regarding disamiguation.

1)Everything works perfectly, but when I say "twelve 'O clock" without "am or pm", it assumes that it's 12:00 p.m. The variable returned from the time element is 1200.

I wanted to play the message "Is it noon or midnight?" and give a choice to the user.

2)For the Date, when I say the month without the day, I will get an error. I do not know why. It wouldn't play the day disambiguation clip.

Any ideas?

Thank You very much,
Daniel Yoon

Subject: RE: time and date disambiguations
Replied by: null on 03-06-2003 09:09:43 PM
Hi Daniel,

The time element stores the captured time value in 24 hour format. Therefore, if the element is returning a 1200 value when you say "twelve 'o clock", most likely the voice browser you are using is returning 1200p for that utterance. If this is the case, then you will have to change the builtin time grammar on your vxml platform if you want the element to disambiguate this particular utterance - you should check with your vxml platform provider.

In regards to the Date element error, can you tell me what voice vxml platform you are running Audium on? If for some reason, the vxml platform is not returning a value that is expected from the builtin grammars, the Audium application may throw some errors.

Regards,

Joe
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links