cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
339
Views
0
Helpful
0
Replies

How to use External Grammer grxml file in the form element

Roy_11
Spotlight
Spotlight

Hi Experts ,

 

I am new to custom Grammer to integrate in form element .  i trying to  add ASR mode Voice, FYI ,below Grammer file. where we need to have this file we can have in media server ? 

how we can set & retrieve value for utterance?

 

 

Any help Highly appreciated!!!!!!!!!!!!!!!!!!! 

 

Example :: path Voice Grammar file in element setting :::  http://{Data.Session.media}/Grammar/Record_CC is it correct path format ? if i missed anything here please let me know thanks.

 

<?xml version="1.0" encoding="UTF-8"?>
<grammar xml:lang="en-US" root="root" xmlns="http://wwww.w3.org./2001/06/grammer" version="1.0">
<rule id ="root" scope="public">
<item>
<ruleref uri="#vehicle"/>
</item>
</rule>
<rule id ="vehicle" scope="public">
<one-of>
<item>
bike
<tag>
"bike"
</tag>
</item>
<item>
Car
<tag>
"Car"
</tag>
</item>
<item>
Scooter
<tag>
"One"
</tag>
</item>
</one-of>
</rule>
</grammar>

 

0 Replies 0