Page 1 of 1

Date input recognition issue

Posted: Thu Nov 30, 2006 10:57 pm
by awaneeshp
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

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.
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
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: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
Please help & suugest what to do.

Also, please let me know if this information is sufficient else ill post the entire log for your reference.

Thanks,
-Awaneesh

actual IVR code needed to clarify issue

Posted: Fri Dec 01, 2006 12:41 pm
by support
Hi,

Did you enter the date with the keypad, or did you speak it?

If the latter, what exact did you say?

Are you still using a VOIP/Skype phone? If so, it's very likely that there will be many speech recognition failures.

It would also be helpful to see the actual IVR code you're running; a bunch of IVR log data with no other IVR context isn't very helpful.


Regards,

Plum Support

Posted: Tue Dec 05, 2006 4:34 am
by awaneeshp
We are only using DTMF mode & about to change the voice prompts to accept only DTMF values.

Here is the VXML we are using for the accepting the user input ...


Code: Select all

<?xml version="1.0"?>
<vxml version="2.0">
<var name="ssn_number" />  
<var name="dobset" />
<var name="submitcount" expr="1" />

<form id="prompt_dob">
    <field name="dob" type="digits?length=8">
     <prompt><voice name="crystal">
        <break size="medium" />Please Enter your four digit year of birth followed by your two digit month of birth followed by your two digit day of birth
      </voice></prompt>      

    <filled>
     <assign name="dobset" expr="dob.substr(4,2)+'/'+dob.substr(6,2)+'/'+dob.substr(0,4)"/>
     <goto next="#confirm_dob" />
      </filled>
    </field>
  </form>

<form id="confirm_dob">
    <block>
     <prompt><voice name="crystal">
        <break size="medium" />The Date of Birth you entered is <break size="medium" />
         <say-as type="date"><value expr="dobset" /></say-as>
      </voice></prompt>      
    </block>

    <field name="dobcheck" type="digits?length=1">
     <prompt><voice name="crystal">
        <break size="medium" />Press or Say 1 if this is Correct? <break size="medium" />Press or Say 2 to Re Enter
       </voice></prompt>

      <filled>
        <if cond="dobcheck=='1'">
          <submit next="http://66.109.47.37/Captira.ADI.UI/AuthenticationPage.aspx" method="post" namelist="ssn_number dobset submitcount session.id" />
          <exit />
          <elseif cond="dobcheck=='2'" />
          <goto next="#prompt_dob" />
        </if>
      </filled>
    </field>
  </form>

 </vxml>

IVR code experienced no nomatch errors

Posted: Tue Dec 05, 2006 11:33 am
by support
Hi,

We ran this snippet of IVR code and did not experience any nomatch errors over the course of 8 attempts (4 using keypad, 4 using voice).

As we've mentioned previously, if you are dialing internationally and/or using a VOIP phone, you are simply going to experience problems with both speech and dtmf input.



Regards,

Plum Support