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

Recognizing user name

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
jtmerch
Posts: 27
Joined: Thu Jul 27, 2006 3:05 pm

Recognizing user name

Post by jtmerch »

Hello, I'm looking to setup a prompt that recognizes a user's name as part of a form that will require user input. First I'd ask the user to say their name, then I'd like for the name to be stored in a variable as text before I post it along with the other values in a form. Is there something or some example that shows me how something like this could be accomplished?

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

IVR system cannot recognize open-ended utterances

Post by support »

Hi,

First, the list of all possible names to match/recognize must be built into an IVR grammar. The IVR system cannot recognize open-ended utterances.

A very basic IVR example (this is intended to be illustrative and has not been debugged... caveat emptor):

<var name="callerName" /> <!-- store the name at document level scope here so that it is accessible in other forms -->

<form id="getCallerName">
<property name="inputmodes" value="voice" />
<field name="matchName">
<grammar mode="voice">Peter | Paul | Mary </grammar>
<prompt>
Please say your first name.
</prompt>
<filled>
<assign name="callerName" expr="matchName" />
your name is <value expr="callerName" />
<!-- and now do something else interesting... -->
</filled>
</field>
</form>


Hope this helps,

Plum Support

Post Reply