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

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

Post Reply
ifbyphone
Posts: 3
Joined: Thu May 05, 2005 2:54 pm

Link grammar does not set

Post by ifbyphone »

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.

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

IVR platform issue with link grammars has been resolved

Post by support »

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

Post Reply