[asterisk-commits] file: trunk r40968 - in /trunk: apps/app_speech_utils.c doc/speechrec.txt

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Aug 24 08:44:25 MST 2006


Author: file
Date: Thu Aug 24 10:44:24 2006
New Revision: 40968

URL: http://svn.digium.com/view/asterisk?rev=40968&view=rev
Log:
Documentation updates (thanks Shaun for the speechrec.txt one!)

Modified:
    trunk/apps/app_speech_utils.c
    trunk/doc/speechrec.txt

Modified: trunk/apps/app_speech_utils.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_speech_utils.c?rev=40968&r1=40967&r2=40968&view=diff
==============================================================================
--- trunk/apps/app_speech_utils.c (original)
+++ trunk/apps/app_speech_utils.c Thu Aug 24 10:44:24 2006
@@ -64,8 +64,7 @@
 "Once they stop talking the processing sound is played to indicate the speech recognition engine is working.\n"
 "Once results are available the application returns and results (score and text) are available using dialplan functions.\n"
 "The first text and score are ${SPEECH_TEXT(0)} AND ${SPEECH_SCORE(0)} while the second are ${SPEECH_TEXT(1)} and ${SPEECH_SCORE(1)}.\n"
-"This may change in the future, however, to use a dialplan function instead of dialplan variables. Note it is possible to have more then one result.\n"
-	"The first argument is the sound file and the second is the timeout. Note the timeout will only start once the sound file has stopped playing.\n";
+"The first argument is the sound file and the second is the timeout. Note the timeout will only start once the sound file has stopped playing.\n";
 
 static char *speechdeactivategrammar_descrip =
 "SpeechDeactivateGrammar(Grammar Name)\n"

Modified: trunk/doc/speechrec.txt
URL: http://svn.digium.com/view/asterisk/trunk/doc/speechrec.txt?rev=40968&r1=40967&r2=40968&view=diff
==============================================================================
--- trunk/doc/speechrec.txt (original)
+++ trunk/doc/speechrec.txt Thu Aug 24 10:44:24 2006
@@ -169,7 +169,7 @@
 	exten => s,7,Set(CONFIRM=${SPEECH_TEXT(0)})
 	exten => s,8,GotoIf($["${SPEECH_TEXT(0)}" = "1"]?9:10)
 	exten => s,9,Set(CONFIRM=yes)
-	exten => s,10,Set(${CONFIRMED}=${OLDTEXT0})
+	exten => s,10,Set(CONFIRMED=${OLDTEXT0})
 	exten => s,11,SpeechDeactivateGrammar(yes_no)
 
 * The Asterisk Speech Recognition C API



More information about the asterisk-commits mailing list