Tags in srgs grammar supported?

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

  • Author
  • Message


  • Posts: 3
  • Joined: Mon Nov 20, 2017 11:38 am

Tags in srgs grammar supported?

PostFri Jan 05, 2018 1:15 pm

So the following grammar doesn't work in plumb. All I get is unrecognized when I press a digit. I had one without tag elements -- this works -- but I would get spaces between the digits when I had grammars with more digits allowed. This grammar runs fine in the Voxeo environment. What am I missing?

Code: Select all
<grammar type="application/srgs+xml" tag-format="semantics/1.0" root="ROOT" mode="dtmf" maxdigits="1">
    <rule id="ROOT" scope="public">
            <item repeat="1-1">
                <ruleref uri="#digit"/>
                <tag>out += rules.latest();</tag>
    <rule id="digit" scope="public">


  • Posts: 3544
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Re: Tags in srgs grammar supported?

PostFri Jan 05, 2018 1:44 pm


In order to help we will need a little more information. Can you explain the desired behavior for this grammar? Are you trying to create a grammar that collects either a single digit or the star key, or are you trying to collect multiple digits?

Plum Support

Return to Plum DEV Q&A

Who is online

Users browsing this forum: No registered users and 1 guest