From 53454690089c3c9005a4a70f234f1cf233332a97 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Thu, 24 Aug 2006 15:44:24 +0000 Subject: [PATCH] Documentation updates (thanks Shaun for the speechrec.txt one!) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40968 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_speech_utils.c | 3 +-- doc/speechrec.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/app_speech_utils.c b/apps/app_speech_utils.c index 397022fd41..525aa0af40 100644 --- a/apps/app_speech_utils.c +++ b/apps/app_speech_utils.c @@ -64,8 +64,7 @@ static char *speechbackground_descrip = "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" diff --git a/doc/speechrec.txt b/doc/speechrec.txt index 8aa157de1b..da5e6c7299 100644 --- a/doc/speechrec.txt +++ b/doc/speechrec.txt @@ -169,7 +169,7 @@ ARG1 is equal to the file to play back after "I heard..." is played. 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