[asterisk-commits] oej: branch oej/agave-dtmf-duration-asterisk-conf-trunk r363325 - /team/oej/a...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 24 04:58:23 CDT 2012


Author: oej
Date: Tue Apr 24 04:58:19 2012
New Revision: 363325

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=363325
Log:
Fix based on feedback from Kaloyan Kovachev

Modified:
    team/oej/agave-dtmf-duration-asterisk-conf-trunk/main/asterisk.c

Modified: team/oej/agave-dtmf-duration-asterisk-conf-trunk/main/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/agave-dtmf-duration-asterisk-conf-trunk/main/asterisk.c?view=diff&rev=363325&r1=363324&r2=363325
==============================================================================
--- team/oej/agave-dtmf-duration-asterisk-conf-trunk/main/asterisk.c (original)
+++ team/oej/agave-dtmf-duration-asterisk-conf-trunk/main/asterisk.c Tue Apr 24 04:58:19 2012
@@ -3204,7 +3204,7 @@
 			ast_set2_flag(&ast_options, ast_true(v->value), AST_OPT_FLAG_INTERNAL_TIMING);
 		} else if (!strcasecmp(v->name, "mindtmfduration")) {
 			if ((sscanf(v->value, "%30d", &option_dtmfminduration) != 1) || (option_dtmfminduration < 0)) {
-				option_dtmfminduration = 80;
+				option_dtmfminduration = AST_MIN_DTMF_DURATION;
 			}
 		} else if (!strcasecmp(v->name, "maxcalls")) {
 			if ((sscanf(v->value, "%30d", &option_maxcalls) != 1) || (option_maxcalls < 0)) {




More information about the asterisk-commits mailing list