mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
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
This commit is contained in:
@@ -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"
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user