[asterisk-commits] mjordan: branch 11 r432918 - in /branches/11: apps/ configs/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Mar 13 19:16:58 CDT 2015


Author: mjordan
Date: Fri Mar 13 19:16:56 2015
New Revision: 432918

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=432918
Log:
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

Modified:
    branches/11/apps/app_amd.c
    branches/11/configs/amd.conf.sample

Modified: branches/11/apps/app_amd.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/apps/app_amd.c?view=diff&rev=432918&r1=432917&r2=432918
==============================================================================
--- branches/11/apps/app_amd.c (original)
+++ branches/11/apps/app_amd.c Fri Mar 13 19:16:56 2015
@@ -114,6 +114,9 @@
 						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>

Modified: branches/11/configs/amd.conf.sample
URL: http://svnview.digium.com/svn/asterisk/branches/11/configs/amd.conf.sample?view=diff&rev=432918&r1=432917&r2=432918
==============================================================================
--- branches/11/configs/amd.conf.sample (original)
+++ branches/11/configs/amd.conf.sample Fri Mar 13 19:16:56 2015
@@ -15,4 +15,5 @@
 				; 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




More information about the asterisk-commits mailing list