Add AGI commands for speech recognition. These mirror the dialplan applications mostly but present the information in a nicer fashion. The SPEECH RECOGNIZE command for example will return the results instead of having to query the dialplan functions.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2007-12-03 21:03:05 +00:00
parent 06f67fbc3c
commit 8bfdea3160
3 changed files with 334 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ typedef struct agi_state {
int audio; /* FD for audio output */
int ctrl; /* FD for input control */
unsigned int fast:1; /* flag for fast agi or not */
struct ast_speech *speech; /* Speech structure for speech recognition */
} AGI;
typedef struct agi_command {