Fix the grammar that Kevin broke
authorJoshua Colp <jcolp@digium.com>
Thu, 13 Apr 2006 19:58:45 +0000 (19:58 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 13 Apr 2006 19:58:45 +0000 (19:58 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19858 65c4cc65-6c06-0410-ace0-fbb531ad65f3

doc/speechrec.txt

index 1c1b04c..46da11b 100644 (file)
@@ -128,18 +128,17 @@ just do a Goto based on the result text.
 
 - Grammar: company-directory.gram
 
-       #ABNF 1.0;
-       language en-US;
-       mode voice;
-       tag-format <lumenvox/1.0>;
+#ABNF 1.0;
+language en-US;
+mode voice;
+tag-format <lumenvox/1.0>;
+root $company_directory;
 
-       root $company_directory;
+$josh = ((Joshua | Josh) [Colp]):"6066";
+$mark = (Mark [Spencer] | Markster):"4569";
+$kevin = (Kevin [Fleming]):"2567";
 
-       $josh = (Joshua | Josh) [Colp]:"6066";
-       $mark = Mark [Spencer] | Markster:"4569";
-       $kevin = Kevin [Fleming]:"2567";
-
-       $company_directory = ($josh | $mark | $kevin) { $ = parseInt($$) };
+$company_directory = ($josh | $mark | $kevin) { $ = $$ };
 
 - Dialplan logic