From 7aa0c3c64bf90bbe32bd9b4f2ee8bf919fb0cdca Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Wed, 25 Apr 2012 09:32:21 +0000 Subject: Make it possible to change the minimum DTMF duration in asterisk.conf Asterisk has a setting for the minimum allowed DTMF. If we get shorter DTMF tones, these will be changed to the minimum on the outbound call leg. (closes issue ASTERISK-19772) Review: https://reviewboard.asterisk.org/r/1882/ Reported by: oej Tested by: oej Patches by: oej Thanks to the reviewers. 1.8 branch for this patch: agave-dtmf-duration-asterisk-conf-1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@363558 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/asterisk/options.h b/include/asterisk/options.h index c411b3aad..73fa42bce 100644 --- a/include/asterisk/options.h +++ b/include/asterisk/options.h @@ -157,6 +157,7 @@ extern int option_verbose; extern int option_maxfiles; /*!< Max number of open file handles (files, sockets) */ extern int option_debug; /*!< Debugging */ extern int option_maxcalls; /*!< Maximum number of simultaneous channels */ +extern unsigned int option_dtmfminduration; /*!< Minimum duration of DTMF (channel.c) in ms */ extern double option_maxload; #if defined(HAVE_SYSINFO) extern long option_minmemfree; /*!< Minimum amount of free system memory - stop accepting calls if free memory falls below this watermark */ -- cgit v1.2.3