Date input recognition issue
Posted: Thu Nov 30, 2006 10:57 pm
I have entered a date in YYYYMMDD format & used following VXML to convert it to date input after accepting the input from the caller.
The value i entered for as date input is 20061002
Now went to log to see the result & i got two different responses for the same input. Below are the extracts from the log file.
Also, please let me know if this information is sufficient else ill post the entire log for your reference.
Thanks,
-Awaneesh
The value i entered for as date input is 20061002
Code: Select all
filled>
<assign name="document.dobset" expr="dob.substr(4,2) + '/' + dob.substr(6,2) + '/' + dob.substr(0,4)" />
<assign name="namelistdob" expr="dob" />
<goto next="#confirm_dob" />
</filled
Now went to log to see the result & i got two different responses for the same input. Below are the extracts from the log file.
Above one was the first time i entered & got wrong recognition but below is the one where in i got correct recognition when i speak it again:Thu 30 Nov 2006 01:38:36 PM EST:
Found grammar match
hypothesis #0: ????1002 (0.9990)
VXI::assign_element(name="document.dobset" expr = "dob.substr(4,2) + '/' + dob.substr(6,2) + '/' + dob.substr(0,4)"
VXI::assign_element(name="namelistdob" expr = "dob"
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="crystal"><speak><break size="medium"/> The Date of Birth you entered is <break size="medium"/><say-as type="date"> 10/02/????</say-as></speak></voice></speak>
---------
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="crystal"><speak><break size="medium"/> Press or Say 1 if this is Correct?<break size="medium"/> Press or Say 2 to Re Enter</speak></voice></speak>
---------
VXI::field_element - activating grammars for form = 'confirm_dob' formitem = 'dobcheck'
VXI::do_recognition()
PromptManager::Play()
Previously playing audio (if any) has finished
Previously playing audio (if any) has finished
Newly queued prompts are now being played
Please help & suugest what to do.Thu 30 Nov 2006 01:38:59 PM EST:
Found grammar match
hypothesis #0: 20061002 (0.9990)
VXI::assign_element(name="document.dobset" expr = "dob.substr(4,2) + '/' + dob.substr(6,2) + '/' + dob.substr(0,4)"
VXI::assign_element(name="namelistdob" expr = "dob"
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="crystal"><speak><break size="medium"/> The Date of Birth you entered is <break size="medium"/><say-as type="date"> 10/02/2006</say-as></speak></voice></speak>
---------
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak><voice name="crystal"><speak><break size="medium"/> Press or Say 1 if this is Correct?<break size="medium"/> Press or Say 2 to Re Enter</speak></voice></speak>
---------
VXI::field_element - activating grammars for form = 'confirm_dob' formitem = 'dobcheck'
VXI::do_recognition()
PromptManager::Play()
Previously playing audio (if any) has finished
Previously playing audio (if any) has finished
Newly queued prompts are now being played
Also, please let me know if this information is sufficient else ill post the entire log for your reference.
Thanks,
-Awaneesh