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

Accepting calues other than mentioned in IF-ELSEIF condition

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

Accepting calues other than mentioned in IF-ELSEIF condition

Post by awaneeshp »

Hi,

I have a problem while accepting an input other than mentioned in the IF-ELSEIF condition.The VXML is as follows...

Code: Select all

<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" />
        <else/>
          <prompt>
             <voice name="crystal">
               <break size="medium" />I did not understand your entry.
             </voice>
          </prompt>
          <reprompt/>
        </if>
    </filled>
  </form>

In the above code when we enter any value other than 1 or 2 then the IVR speaks out "I did not understand your entry" & gets discconected.

Instead of getting disconnected it should repromt the message "Press or Say 1 if this is correct?<break size="medium" />Press or Say 2 to Re enter", so that the caller enters the correct values 1 or 2.

Please let me know whats wrong with this VXML & how to get it corrected.

Thanks,
-Awaneesh

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

IVR question posted twice to forum

Post by support »

Hi,

It looks like this IVR question was posted twice to the IVR forum. See here for a response.

Plum Support

Post Reply