dect
/
asterisk
Archived
13
0
Fork 0

Documentation updates (thanks Shaun for the speechrec.txt one!)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40968 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
file 2006-08-24 15:44:24 +00:00
parent dfaafb7c36
commit 03ecb2c2d7
2 changed files with 2 additions and 3 deletions

View File

@ -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"

View File

@ -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