aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-24 19:00:06 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-04-24 19:00:06 +0000
commit6376dbc08caf642ac1001797c870ada7485c9c37 (patch)
tree766fa6a060ee8f34614e02043ddfcf5e8e20b987 /include/asterisk
parente5835eeee3cff2927eaf12cfe6449c0a93323063 (diff)
Improve DTMF handling in ast_read() even more in response to a discussion on
the asterisk-dev mailing list. I changed the enforced minimum length of a digit from 100ms to 80ms. Furthermore, I made it now enforce a gap of 45ms in between digits. These values are not configurable in a configuration file right now, but they can be easily changed near the top of main/channel.c. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@61781 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/channel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 8ccfe7700..d54b30709 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -428,7 +428,7 @@ struct ast_channel {
char emulate_dtmf_digit; /*!< Digit being emulated */
unsigned int emulate_dtmf_duration; /*!< Number of ms left to emulate DTMF for */
- struct timeval dtmf_begin_tv; /*!< The time that an in process digit began */
+ struct timeval dtmf_tv; /*!< The time that an in process digit began, or the last digit ended */
/*! \brief Data stores on the channel */
AST_LIST_HEAD_NOLOCK(datastores, ast_datastore) datastores;