Hello,
I am creating a UCMA menu as a kind of self-service option for customers. I am having trouble with a GRXML file that works, but when I add a line.. it doesn't.
<?xml version="1.0" encoding="utf-8" ?><grammar version="1.0" xml:lang="en-US" mode="voice" root= "Main" xmlns="http://www.w3.org/2001/06/grammar" tag-format="semantics/1.0"><rule id="Main" scope="public"><example>Is Lync up?</example><example>Exit</example><example>RT Status</example><example>I need help</example><tag>out.Service="";out.GetHelp="no";</tag><one-of><item>exit</item><item><item>is</item><ruleref uri="#Services" type="application/srgs+xml" /><tag>out.Service=rules.latest();</tag><item>up</item></item><item><item>are tee status</item></item><!-- this section here has trouble --><item><one-of><item>i need help with</item><item>get help</item><!-- if i remove this ruleref and tag, it works fine --><ruleref uri="#Services" type="application/srgs+xml" /><tag>out.Service=rules.latest();</tag></one-of><tag>out.GetHelp="yes";</tag></item></one-of></rule><rule id="Services"><one-of><item> Lync <tag>out="link";</tag> </item><item> Exchange <tag>out="exchange";</tag> </item><item> Sharepoint <tag>out="sharepoint";</tag> </item><item> Network <tag>out="network";</tag></item><item> Security <tag>out="security";</tag></item><item> Physical Security <tag>out="physicalsecurity";</tag></item></one-of></rule></grammar>
the problem is in the main menu where a person can ask for help about a certain service. it seems in that item, I cannot have two tags that get exported back to the code. so I can either send back that help is requested, or send the service back.. but not both. with both in, UCMA crashes with an error
"At least one grammar must be loaded before doing a recognition"
Cannot seem to figure this out for the life of me! It is my first real attempt at speech recognition, so my XML could be all wrong for what I am trying to do in the first place...
Thanks,
Paul