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
Recognizing user name
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?
IVR system cannot recognize open-ended utterances
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
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