Link grammars do not seem to work to set the lastresult variable on the Plum Platform. The follow code works fine on a number of other platforms.
<link event="main_menu">
<grammar type="application/srgs+xml" root="mm">
<rule id="mm" scope="public">
<one-of>
<item> help </item>
<item> news </item>
<item> email </item>
</one-of>
</rule>
</grammar>
</link>
<catch event="main_menu">
<prompt>
Please wait, be right with you.
</prompt>
<var name="cmd" expr="application.lastresult$[0].utterance"/>
<submit next="ibp-ctrl.php" namelist="cmd "/>
</catch>
The above code was simplified a bit. I have tried lastresult$.utterance and also lastresult$[0].utterance. If I say the word "menu" this variable has the value of "yes" which is the value of a previous field instead of the last uttarance.
Thanks for your help.
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Link grammar does not set
IVR platform issue with link grammars has been resolved
Hello,
The IVR issue with <link> grammars not working to set the lastresult variable on our IVR Platform has been fixed and will be part of our upcoming VoiceXML 2.1 release. Expect a formal announcement in the next few days.
Regards,
Plum Support
The IVR issue with <link> grammars not working to set the lastresult variable on our IVR Platform has been fixed and will be part of our upcoming VoiceXML 2.1 release. Expect a formal announcement in the next few days.
Regards,
Plum Support