We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

Problem in accepting a 9 digit number

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
awaneeshp
Posts: 29
Joined: Fri Nov 17, 2006 1:48 am

Problem in accepting a 9 digit number

Post by awaneeshp »

Hi,

i have a situation in my application to accept a 9 digit SSN number from the caller. But the VXML behavior is inconsistent meaning first time entry fails, second time entry also fails to understand the & then after retrying for the third time on entering the same number it accepts. The scenario with the PLUM generated log file is as below:

For your reference, the DNIS number is - 9308

The IVR asks to enter a 9 digit SSN number & on entering the 9 digit number for the 2 consecutive times the behavior in the log file is as follows:
Fri 01 Dec 2006 04:37:39 AM EST:

Loading Builtin grammar: builtin:dtmf/digits?length=9
Loading Builtin grammar: builtin:grammar/digits?length=1
Loading Builtin grammar: builtin:dtmf/digits?length=1
Loading Builtin grammar: builtin:grammar/date
Loading Builtin grammar: builtin:dtmf/date
Loading Builtin grammar: builtin:grammar/digits?length=1
Loading Builtin grammar: builtin:dtmf/digits?length=1
VXI::var_element(name="ssn_number" expr = "")
VXI::var_element(name="dobset" expr = "")
VXI::var_element(name="submitcount" expr = "1")
VXI::var_element(name="namelistdob" expr = "")
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"/> Welcome to the Inquestar Development Account</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"/> Please key in your social security number now</speak></voice></speak>
---------
VXI::field_element - activating grammars for form = 'prompt_ssn_number' formitem = 'MyField'
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


Fri 01 Dec 2006 04:37:52 AM EST:

received event: nomatch
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"/> I did not understand your entry</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"/> Please key in your social security number now</speak></voice></speak>
---------
VXI::field_element - activating grammars for form = 'prompt_ssn_number' formitem = 'MyField'
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


Fri 01 Dec 2006 04:37:55 AM EST:

received event: nomatch
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"/> I did not understand your entry</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"/> Please key in your social security number now</speak></voice></speak>
---------
VXI::field_element - activating grammars for form = 'prompt_ssn_number' formitem = 'MyField'
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

On entering the third time the same 9 digit number it accepts. The log for this scenario is as follows:
Fri 01 Dec 2006 04:38:08 AM EST:

Found grammar match
hypothesis #0: 678547878 (0.9990)
VXI::assign_element(name="document.ssn_number" expr = "MyField"
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 Number you entered is<break size="medium"/><say-as type="acronym"> 678547878</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_ssn_number' formitem = 'ssn'
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

I m confused with this behavior of PLUM. Please help me.

Hoping to get some positive response to resolve my problem.

Thanks,
-Awaneesh

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR grammar scoping/precedence problem

Post by support »

Hi,

The long list of "Loading Builtin grammar" messages makes us think you probably have some sort of IVR grammar scoping/precedence problem, but we can't help without seeing the actual VXML script.

Regards,

Plum Support
Last edited by support on Fri Jan 01, 2010 2:12 pm, edited 1 time in total.

awaneeshp
Posts: 29
Joined: Fri Nov 17, 2006 1:48 am

Post by awaneeshp »

Here is the VXML we are using...

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_ssn_number">
    <field name="MyField" type="digits?length=9">

      <prompt><voice name="crystal">        
         <break size="medium" /> 
Please Speak or Key your Social Security Number Now</voice></prompt>
      
      <filled>
        <assign name="document.ssn_number" expr="MyField" />
        <goto next="#confirm_ssn_number" />
      </filled>

    </field>
  </form>

  <form id="confirm_ssn_number">
    
    <block>
     <prompt><voice name="crystal">
        <break size="medium" />The Number you entered is<break size="medium" />
         <say-as type="acronym"><value expr="ssn_number" /></say-as>
     </voice></prompt>
    </block>
    
    <field name="ssn" 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>
    </field>
    
    <filled>
      <if cond="ssn=='1'">
        <goto next="#prompt_dob" />
        <elseif cond="ssn=='2'" />
        <goto next="#prompt_ssn_number" />
      </if>
    </filled>
 
   </form>
 </vxml>

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR code did not experience any nomatch errors

Post 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

hurijaam
Posts: 1
Joined: Tue Oct 05, 2010 10:05 pm

Re: Problem in accepting a 9 digit number

Post by hurijaam »

Doubt on availability of DTMF IC's? guys do u think DTMF Ic's are manufactured even now,is it available in market? please help me out. And if it is not manufactured anymore,please tell me the correct reason..

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

Re: Problem in accepting a 9 digit number

Post by support »

Hi,

We are unsure about the availability of DTMF IC's being manufactured, but I'm sure if you Google searched on this topic, you could find some information such as this:

http://www.electro-tech-online.com/micr ... er-ic.html

Regards,
Plum Support

Post Reply