Author Message
Venkatakrishna3
Joined: Jan 20, 2012
Messages: 6
Offline
Hi Team,

We had an issue while selecting menu options using external grammar file. I have attached the grammar file for your reference.

When I deploy the application the application server and configure it AAEP and made a call, it is working fine.
When I use the Simulator in the dev Env to test, It always no match.

Is there any specific format / any other setting to be done with respective of Simulator?

Thanks
Venkat
Filename 8210_CMTMainMenu_DTMF.grxml [Disk] Download
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
We don't expect the simulator to work with all grammar format especially those from an external source. That's why when you use the grammar editor in OD, it generates 4 different format for different ASR. However the simulation also supports talking to a live ASR or TTS through MRCP to test other grammar types. If you don't have that information already, you can looking into our documentation on the settings you need.


If you tweak your external grammar to the following, it would work:

<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en-US" version="1.0" root="root" mode="dtmf" tag-format="semantics/1.0">

<rule id="root" scope="public">
<one-of>

<item>*<tag>"GoBack"</tag></item>
<item>0<tag>"Operator"</tag></item>
<item>1<tag>"AccountBalance"</tag></item>
<item>2<tag>"FundTransfer"</tag></item>
<item>3<tag>"BPay"</tag></item>
<item>4<tag>"OtherServices"</tag></item>
<item>7<tag>"GoBack"</tag></item>
<item>8<tag>"Repeat"</tag></item>
<item>9<tag>"EndCall"</tag></item>

</one-of>
</rule>
</grammar>
Go to:   
Mobile view