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

Using <tag>

Questions and answers about Plum Fuse+

Moderators: admin, support

Post Reply
clydewallace
Posts: 2
Joined: Fri Mar 31, 2017 3:21 pm

Using <tag>

Post by clydewallace »

I want to be able to set variable names based on inputs, and I wanted to know the format using fuse...

Here is how I am trying to use it now:

https://www.screencast.com/t/KJ2yhVhX2bv

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

Re: Using <tag>

Post by support »

Your grammar should be like this

Code: Select all

<grammar type="application/srgs+xml" root="ROOT" mode="voice">
        <rule id="ROOT">
          <one-of>
            <item>Mister Ahmed<tag>providername="Fawad Ahmed"</tag></item>
            <item>Doctor Ahmed<tag>providername="Fawad Ahmed"</tag></item>
          </one-of>
        </rule>
      </grammar>
providername will be "Fawad Ahmed" if the caller says "Mister Ahmed" or "Doctor Ahmed"

Post Reply