diff options
author | Matthew Jordan <mjordan@digium.com> | 2015-03-14 00:18:40 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2015-03-14 00:18:40 +0000 |
commit | a4c27baf47eeeebf3a4e6660065ee9b7c5a0ee31 (patch) | |
tree | dd39ac8821af837d8c4b8d7bf1beff2d0678774d | |
parent | a3292230b87b1e80411dcbb346203b3d8d3ccd5e (diff) |
apps/app_amd: Document maximum_word_length option; fix AMDCAUSE documentation
This patch corrects the documentation for the AMD application. Specifically:
* It documents the maximum_word_length option, which limits the maximum allowed
length of a single utterance.
* It clarifies the AMDCAUSE values MAXWORDS and MAXWORDLENGTH. MAXWORDLENGTH
was documented as MAXWORDS, while MAXWORDS was undocumented.
Thanks to the issue reporter, Frank DiGennaro, for pointing out the issues.
ASTERISK-19470 #close
Reported by: Frank DiGennaro
........
Merged revisions 432918 from http://svn.asterisk.org/svn/asterisk/branches/11
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@432920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | apps/app_amd.c | 3 | ||||
-rw-r--r-- | configs/samples/amd.conf.sample | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_amd.c b/apps/app_amd.c index b8f4e9b28..68d100858 100644 --- a/apps/app_amd.c +++ b/apps/app_amd.c @@ -126,6 +126,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Voice Duration - Greeting. </value> <value name="MAXWORDLENGTH"> + Word Length - max length of a single word. + </value> + <value name="MAXWORDS"> Word Count - maximum number of words. </value> </variable> diff --git a/configs/samples/amd.conf.sample b/configs/samples/amd.conf.sample index ce4808a0c..d7323ecf2 100644 --- a/configs/samples/amd.conf.sample +++ b/configs/samples/amd.conf.sample @@ -15,4 +15,5 @@ between_words_silence = 50 ; Minimum duration of silence after a word to conside ; the audio what follows as a new word maximum_number_of_words = 3 ; Maximum number of words in the greeting. ; If exceeded then MACHINE +maximum_word_length = 5000 ; Maximum duration of a single Voice utterance allowed. silence_threshold = 256 |