[asterisk-commits] mjordan: trunk r432921 - in /trunk: ./ apps/ configs/samples/

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


Author: mjordan
Date: Fri Mar 13 19:24:52 2015
New Revision: 432921

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

Merged revisions 432918 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 432920 from http://svn.asterisk.org/svn/asterisk/branches/13

Modified:
    trunk/   (props changed)
    trunk/apps/app_amd.c
    trunk/configs/samples/amd.conf.sample

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.

Modified: trunk/apps/app_amd.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_amd.c?view=diff&rev=432921&r1=432920&r2=432921
==============================================================================
--- trunk/apps/app_amd.c (original)
+++ trunk/apps/app_amd.c Fri Mar 13 19:24:52 2015
@@ -126,6 +126,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: trunk/configs/samples/amd.conf.sample
URL: http://svnview.digium.com/svn/asterisk/trunk/configs/samples/amd.conf.sample?view=diff&rev=432921&r1=432920&r2=432921
==============================================================================
--- trunk/configs/samples/amd.conf.sample (original)
+++ trunk/configs/samples/amd.conf.sample Fri Mar 13 19:24:52 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