]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
apps/app_amd: Document maximum_word_length option; fix AMDCAUSE documentation
authorMatthew Jordan <mjordan@digium.com>
Sat, 14 Mar 2015 00:16:56 +0000 (00:16 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sat, 14 Mar 2015 00:16:56 +0000 (00:16 +0000)
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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@432918 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_amd.c
configs/amd.conf.sample

index 597aac39ce1593647fb746af6ee11a3c6abd455b..a849aad93b47f13b3ad3b4f17e8be398e1e4057e 100644 (file)
@@ -114,6 +114,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>
index ce4808a0ca3f73d3f38f42024213aa61d4c08249..c4a5907c53ce6ee91a9560108c662bad7b391f2e 100644 (file)
@@ -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