aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_speech_utils.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-19If we are able to create a speech structure unset the ERROR variable in case ↵file1-0/+2
it was previously set. (issue #LUMENVOX-13) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@177383 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-08If we receive DTMF make sure that the state of the speech structure goes ↵file1-0/+1
back to being not ready. (issue #LUMENVOX-8) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@147517 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-06Dialplan functions should not actually return 0, unless they have modified thetilghman1-2/+10
workspace. To signal an error (and no change to the workspace), -1 should be returned instead. (closes issue #13340) Reported by: kryptolus Patches: 20080827__bug13340__2.diff.txt uploaded by Corydon76 (license 14) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@146799 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-07Safely use the strncat() function.tilghman1-1/+1
(closes issue #11958) Reported by: norman Patches: 20080209__bug11958.diff.txt uploaded by Corydon76 (license 14) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@106552 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-13Instead of accepting a single DTMF character accept a full string.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@79334 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-13Add an API call to allow the engine to know that DTMF was received.file1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@79207 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25(closes issue #10303)file1-2/+10
Reported by: jtodd Add SPEECH_DTMF_TERMINATOR variable so the user can specify the digit to terminate a DTMF string with. If none is specified then no terminator will be used. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@77176 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22Merged revisions 71065 via svnmerge from qwell1-2/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r71065 | qwell | 2007-06-22 09:52:18 -0500 (Fri, 22 Jun 2007) | 4 lines Fix a few silly usages of ast_playstream() - it only ever returns 0... Issue 10035 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@71068 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-15Add support for setting the maximum length of acceptable DTMF in ↵file1-1/+9
SpeechBackground. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69558 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-13Do not bother looking for a result if none are present.file1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61651 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-06Add support for returning different types of results (ie: NBest).file1-15/+52
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60361 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-03Don't clash when a person both speaks and uses DTMF.file1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59963 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26Add ability to specify no timeout. This means as soon as the prompt is done ↵file1-3/+12
playing it moves on to the next priority. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59223 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26Make SpeechBackground obey the digit timeout value.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59213 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-28Better handle timeouts when the individual speaks after everything has been ↵file1-3/+4
played but before the timeout ends. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57053 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-21Only start playing the next file if we have not been quieted.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@55947 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Don't let dtmf leak over into the engine and let it skew the results... also ↵file1-26/+30
give DTMF results priority. (issue #9014 reported by surftek) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54714 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-08Fix timeout issue when utterance is longer then timeout itself.file1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53601 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-18Only start timeout once we reach the end of the files to play back.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@51251 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10Merge speech-multi branch which adds support for joining multiple sound ↵file1-28/+25
files together to be played one after another in SpeechBackground. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@50433 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-24Documentation updates (thanks Shaun for the speechrec.txt one!)file1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40968 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-59/+45
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-18Expand speech API so that the developer can interact with the engine more ↵file1-0/+25
directly and use specific functions of the connector even if a generic API call is not available git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37881 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-11don't leak a frame when breaking out of the loop on a timeoutrussell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33448 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-4/+4
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-30fix various typos and other bits (from Ian Kinner)kpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30800 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24Nothing to see here... move alongfile1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30131 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24Update some documentation (file internal brain bug #42)file1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30104 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-15Make sure that the channel is answered before doing SpeechBackground. (issue ↵file1-0/+6
#josh-wait-I-dont-have-issue-numbers) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27194 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10remove almost all of the checks of the result from ast_strdupa() or alloca().russell1-4/+2
As it turns out, all of these checks were useless, because alloca will never return NULL. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01remove \n from the end of a couple of synopsis fieldsrussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23929 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14This rather large commit changes the way modules are loaded. rizzo1-18/+6
As partly documented in loader.c and include/asterisk/module.h, modules are now expected to return all of their methods and flags into a structure 'mod_data', and are normally loaded with RTLD_NOW | RTLD_LOCAL, so symbols are resolved immediately and conflicts should be less likely. Only in a small number of cases (res_*, typically) modules are loaded RTLD_GLOBAL, so they can export symbols. The core of the change is only the two files loader.c and include/asterisk/module.h, all the rest is simply adaptation of the existing modules to the new API, a rather mechanical (but believe me, time and finger-consuming!) process whose detail you can figure out by svn diff'ing any single module. Expect some minor compilation issue after this change, please report it on mantis http://bugs.digium.com/view.php?id=6968 so we collect all the feedback in one place. I am just sorry that this change missed SVN version number 20000! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13Updates to speech recognition API and dialplan utilities. Moved to using ↵file1-184/+399
dialplan functions, and some other misc things. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19645 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-12Add ability to see if the person calling said anything or not.file1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19512 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10Presenting a revised data stores and oh my, a generic speech recognition ↵file1-0/+575
API! I wonder what we can do with this now... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18979 f38db490-d61c-443f-a65b-d21fe96a405b