Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple Single Digit DTMF GRXML file
<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<grammar xml:lang="en-US" version="1.0" root="ROOT" mode="dtmf" tag-format="swi-semantics/1.0" xml:base="file://C:/Billingsley/" xmlns="http://www.w3.org/2001/06/grammar">
<rule id="ROOT" scope="public">
<one-of>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
<item>8</item>
<item>9</item>
<item>0</item>
</one-of>
</rule>
</grammar>
<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<grammar xml:lang="en-US" version="1.0" root="ROOT" mode="voice" tag-format="swi-semantics/1.0" xmlns="http://www.w3.org/2001/06/grammar">
<rule id="ROOT" scope="public">
<one-of>
<item>
1
<tag>value = "1"</tag>
</item>
<item>
2
<tag>value = "2"</tag>
</item>
<item>
3
<tag>value = "3"</tag>
</item>
<item>
4
<tag>value = "4"</tag>
</item>
<item>
5
<tag>value = "5"</tag>
</item>
<item>
6
<tag>value = "6"</tag>
</item>
<item>
7
<tag>value = "7"</tag>
</item>
<item>
8
<tag>value = "8"</tag>
</item>
<item>
9
<tag>value = "9"</tag>
</item>
<item>
0
<tag>value = "0";</tag>
</item>
</one-of>
</rule>
</grammar>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.