From: Matthew Jordan Date: Sat, 14 Mar 2015 00:18:40 +0000 (+0000) Subject: apps/app_amd: Document maximum_word_length option; fix AMDCAUSE documentation X-Git-Tag: 13.3.0-rc1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4c27baf47eeeebf3a4e6660065ee9b7c5a0ee31;p=thirdparty%2Fasterisk.git 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 --- diff --git a/apps/app_amd.c b/apps/app_amd.c index b8f4e9b28e..68d100858a 100644 --- a/apps/app_amd.c +++ b/apps/app_amd.c @@ -126,6 +126,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") Voice Duration - Greeting. + Word Length - max length of a single word. + + Word Count - maximum number of words. diff --git a/configs/samples/amd.conf.sample b/configs/samples/amd.conf.sample index ce4808a0ca..d7323ecf22 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